13H (Tow Information)¶
This message is used to report tow alarm information. About the tow alarm event detection, please see the AT@TOW command.
Sometimes, the vehicle is being shaken instead of being towed, such as the truck is loading or unloading, etc. To avoid misreporting the towing event, the terminal defines the situation as ‘Fake Tow’ when the vehicle is being shaken and not fully sure that it is being towed.
The frame format of a report that only carries 13H record is as follows:
For example (Total 79 bytes):
2B 00 00 4F 00 01 23 45 67 89 01 23 45 00 00 00 1B 00 00 38 64 F9 AA F6 00 00 13 00 60 05 00 00 00 00 00 52 16 09 F9 20 A8 E1 FF 2D C0 96 5F 17 9D A0 01 7D 0A 00 25 00 01 B3 0C 55 0E 06 04 BC 8A 00 10 00 02 10 00 10 0C 13 03 01 23 BB 24
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|
|---|---|---|---|---|---|
Head |
18 or 20 |
||||
Reserved |
1 or 1+N |
||||
Records |
Record Length |
1 or 2 |
00H-7FH or 8080H-FFFFH |
||
Generated Time |
4 |
||||
Record Count Number |
2 |
0000H-FFFFH |
|||
Record ID |
1 |
13H |
13H |
||
Event Code |
1 |
00H |
00H |
||
Data of Record |
Data ID |
1 or 2 |
00H-7FH or 8080H-FFFFH |
||
Data Length |
1 or 2 |
00H-7FH or 8080H-FFFFH |
|||
Data Content |
N |
||||
… |
|||||
… |
|||||
Tail |
4 |
||||
The definitions of parts ‘Head’, ‘Reserved’, and ‘Tail’ are here.
Event Code
The default is 00H.
Data of Record
It consists of one or more Data ID units.
By default, this record contains only the data IDs listed below, which can be changed by the AT@QRC command described below.
Configuration¶
The parameters related to the generation and transmission of 13H record are controlled by the following QRC command:
Example:
AT@QRC=gv500cna,13,,1,,,10,300,012F$
+ACK:QRC,123456789012345,8203,3,0,13,012F,20210407101530,1234$
AT@QRC?gv500cna,13,0C37$
+QRY:QRC,123456789012345,8203,3,0,1,1,13,,1,1,88,10,300,0C37,20210407101530,1234$
Parts |
Fields |
Length (Byte) |
Range/Format |
Default |
|---|---|---|---|---|
Head |
Header |
3 |
AT@ |
AT@ |
Command Word |
3 |
QRC |
QRC |
|
Leading Symbol |
1 |
= |
= |
|
Password |
8-16 |
gv500cna |
||
Body |
Record ID |
2 |
13 |
13 |
Reserved |
0 |
|||
Mode |
<=2 |
0, 1, 3 |
1 |
|
Action |
1 |
0-2 |
||
Data IDs |
N |
ID1|ID2|ID3… |
||
Record Count |
<=2 |
2 - 99 |
10 |
|
Time Interval |
<=5 |
30 - 86400 (seconds) |
300 |
|
Tail |
Sequence Number |
4 |
0000-FFFF (‘0’-‘9’, ‘A’-‘F’) |
|
Tail |
1 |
$ |
$ |
Record ID
Which record to configure. Always “13” here.
Mode
0 - Disable. The terminal no longer generates and sends the 13H record.
1 - Enable Report. The terminal generates and sends the 13H record. If the location information needs to be included, the terminal directly uses the currently existing location information (even if the location information has expired).
3 - Enable Batch Record. The terminal will generate records according to the time interval indicated by the ‘Time Interval’ field. And when the number of records reaches the number indicated by the ‘Record Count’ field, the terminal will pack these records into a 13H report and send it to the backend server.
Action
Empty - No change the data IDs in the terminal. If this field is empty, the ‘Data IDs’ field will be ignored.
0 - Append the data IDs carried in the ‘Data IDs’ field to the terminal.
1 - Replace the data IDs in the terminal with the data IDs carried by the ‘Data IDs’ field.
2 - Clear the data IDs carried in the ‘Data IDs’ field from the terminal.
Note: In particular, it always will be 1 when reading this field.
Data IDs
The data IDs contained in the 13H record. The characters ‘|’ are used to connect each data ID.
For example, “2|88” means Data 2 (Device Name) and Data 88 (SIM Card).
Record Count
When the terminal generates the number of records indicated by this field, it sends them to the backend server in batches. This field is only valid for Mode 3.
Time Interval
The terminal will periodically generate a Record 13H according to this interval when the vehicle is being towed.