22H (Real-time Customization)¶
This message is a real-time custom report. There is no corresponding report setting command for this report.
When the terminal receives the AT@RTO command with subcommand 0, it will query the specified data information, and then send a 22H report containing the data information to the backend server.
Report carrying this record is a high-priority report, please see here for more information.
The frame format of a report that only carries 22H record is as follows:
For example (Total 65 bytes):
2B 00 00 41 00 01 23 45 67 89 01 23 45 C0 31 00 0A 00 00 2A 66 8E 47 F7 00 00 22 00 02 0B 4D 79 49 6F 54 64 65 76 69 63 65 58 12 01 23 45 67 89 01 23 45 01 23 45 67 89 01 23 45 67 89 01 23 5E 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 |
22H |
22H |
||
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 report does not contain any data. And the data content of this report is specified in real-time by the ‘Parameters’ in AT@RTO command (with subcommand 0).