G Command - Report Generator
Generates different types of reports, with the possibility to specify destination and attach text messages.
📊Report Types
CY, GP, AD, BP, Ux...
→🎯Destinations
GPRS, SMS, WiFi, BLE...
→⚡Priorities
High, Medium, Low
→💬Examples
Common use cases
→📋 Syntax
Gaabbc[;@dd..dd][;TXT=ee..ee]| Parameter | Description |
|---|---|
aa | Report type (CY, GP, AD, etc.) |
bb | Report number (00-FF or XX) |
c | Priority (H, M, L) |
@dd..dd | Destination (optional) |
TXT=ee..ee | Attached text (optional, up to 50 chars) |
Brackets [ ] delimit optional fragments and should not be included in commands.
Response
GOK📊 aa - Report Type
Standard Reports
| Type | Description |
|---|---|
CY | Complete standard |
GP | General position |
Extended Reports
| Type | Description |
|---|---|
CP | Compact + extended odometer |
CQ | Compact + ext. odometer + filtered |
CR | Compact + odometer + ext. temp. + filtered |
CT | Compact + odometer + ext. driver ID filtered |
CU | Compact + odometer + last valid iButton |
CV | Compact + odometer + 2 ext. temp. + filtered |
BQ | Compact + battery + ext. odometer + filtered |
BR | Compact + battery + odometer + ext. temp. + filtered |
BV | Compact + battery + odometer + 2 ext. temp. + filtered |
HQ | Compact + battery + hour meter + ext. odometer + filtered |
HR | Compact + battery + hour meter + odometer + ext. temp. |
HV | Compact + battery + hour meter + odometer + 2 temp. |
Analog Reports
| Type | Description |
|---|---|
AD | Analog |
AE | Signed analog |
Binary Reports
| Type | Description |
|---|---|
BP | Binary |
Applied Reports
| Type | Description |
|---|---|
HT | Yahoo/Google Maps link |
IB | Extended GP + iButton + temperature |
LC | Locator mode |
MV | Dynamic status |
SC | Fuel sensor (flow meter) |
Text Reports
| Type | Description |
|---|---|
TX | Text |
TY | Text (gateway) |
User Reports
| Type | Description |
|---|---|
Ux | User report (x = 0-9) |
🔢 bb - Report Number
| Value | Description |
|---|---|
00-FF | Specific report number (0-255) |
XX | Adopts the number of the RL rule where it’s executed |
⚡ c - Priority
| Value | Level | Description |
|---|---|---|
H | High | Cannot be overwritten if buffer is full |
M | Medium | Can be overwritten by high priority reports |
L | Low | Can be overwritten by medium or high priority reports |
🎯 dd..dd - Destination (optional)
If not specified, destination is GPRS by default.
Main Destinations
| Destination | Description |
|---|---|
GPRS | Cellular data connection |
WIF | WiFi (IoT only) |
BTH | Bluetooth BLE SPP (IoT only) |
SMa | SMS (a = 0 to 4) |
TRb | Serial Port (b = 0 to 2) |
XBb | Text buffer (b = 0 to 7) |
LOG | Internal datalog |
Backup Destinations (v1.09.15+)
| Destination | Description |
|---|---|
BACK | Smart backup - Alternates IP4/IP5, switches GPRS/WiFi |
BGP | Direct GPRS backup - Alternates IP4/IP5 |
BWI | Direct 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
01and02as report number - BP (binary): Use
0as 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
- Event Engine - Automation with rules
- Trigger List - Available triggers
- ACK Confirmation - Confirmation protocol
Last updated