Skip to Content

G Command - Report Generator

Generates different types of reports, with the possibility to specify destination and attach text messages.


📋 Syntax

Gaabbc[;@dd..dd][;TXT=ee..ee]
ParameterDescription
aaReport type (CY, GP, AD, etc.)
bbReport number (00-FF or XX)
cPriority (H, M, L)
@dd..ddDestination (optional)
TXT=ee..eeAttached text (optional, up to 50 chars)

Brackets [ ] delimit optional fragments and should not be included in commands.

Response

GOK

📊 aa - Report Type

Standard Reports

TypeDescription
CYComplete standard
GPGeneral position

Extended Reports

TypeDescription
CPCompact + extended odometer
CQCompact + ext. odometer + filtered
CRCompact + odometer + ext. temp. + filtered
CTCompact + odometer + ext. driver ID filtered
CUCompact + odometer + last valid iButton
CVCompact + odometer + 2 ext. temp. + filtered
BQCompact + battery + ext. odometer + filtered
BRCompact + battery + odometer + ext. temp. + filtered
BVCompact + battery + odometer + 2 ext. temp. + filtered
HQCompact + battery + hour meter + ext. odometer + filtered
HRCompact + battery + hour meter + odometer + ext. temp.
HVCompact + battery + hour meter + odometer + 2 temp.

Analog Reports

TypeDescription
ADAnalog
AESigned analog

Binary Reports

TypeDescription
BPBinary

Applied Reports

TypeDescription
HTYahoo/Google Maps link
IBExtended GP + iButton + temperature
LCLocator mode
MVDynamic status
SCFuel sensor (flow meter)

Text Reports

TypeDescription
TXText
TYText (gateway)

User Reports

TypeDescription
UxUser report (x = 0-9)

🔢 bb - Report Number

ValueDescription
00-FFSpecific report number (0-255)
XXAdopts the number of the RL rule where it’s executed

⚡ c - Priority

ValueLevelDescription
HHighCannot be overwritten if buffer is full
MMediumCan be overwritten by high priority reports
LLowCan be overwritten by medium or high priority reports

🎯 dd..dd - Destination (optional)

If not specified, destination is GPRS by default.

Main Destinations

DestinationDescription
GPRSCellular data connection
WIFWiFi (IoT only)
BTHBluetooth BLE SPP (IoT only)
SMaSMS (a = 0 to 4)
TRbSerial Port (b = 0 to 2)
XBbText buffer (b = 0 to 7)
LOGInternal datalog

Backup Destinations (v1.09.15+)

DestinationDescription
BACKSmart backup - Alternates IP4/IP5, switches GPRS/WiFi
BGPDirect GPRS backup - Alternates IP4/IP5
BWIDirect WiFi backup - Priority IP6, alternates IP4/IP5

💬 Examples

CY report with text to SMS

>GCYBFH;@SM0;TXT=High temperature<

Generates BF high priority CY type report with attached text to SM0 destination:

>RCYBF020205000000-2778467-06425658000000-000090;DFFFFFF;IGN1;IN00;XP00;TXT=High temperature;#9001;ID=1234;*1E<

Report from rule with automatic number

>SRL33E;TRG=IN00-;ACC={GCYXXH;@SM0;TXT=Alarm activated}<

Generates report 33 (adopts rule number):

>RCY33020205000000-2778467-06425658000000-000090;DFFFFFF;IGN1;IN00;XP00;TXT=Alarm activated;#9001;ID=1234;*1E<

Text report to serial port

>GTX00H;@TRM;TXT=Alarm activated<

Response:

>RTXAlarm activated;ID=1234;*61<

Binary report

>GBP120<

Generates report 12 binary type.

CQ report to datalog

>GCQ00H;@LOG<

Stores report in internal datalog.


⚠️ Restrictions

By report type:

  • HT (maps link): Only accepts values 01 and 02 as report number
  • BP (binary): Use 0 as number, destination always GPRS
  • SC (flow meter): Destination always GPRS

Types without text field: AD, AE, BR, BV, CR, CT, CU, CV, GP, HR, HV, IB, LC, SC


Compatibility

MTLegacy
C3Legacy
ULLegacy
SPLegacy
C5Legacy
ZE-IoT
SP-IoT
SM-IoT

See also

Last updated