01H (Device Startup)

After the terminal startup, this is always the first message sent to the backend server after it is powered on or reset.

Report carrying this record is a top-priority report, please see here for more information.

The frame format of a report that only carries 01H record is as follows:

For example (Total 154 bytes):
2B 00 00 9A 00 01 23 45 67 89 01 23 45 C0 31 00 0A 00 00 80 83 66 8E 47 F7 00 00 01 00 02 0B 4D 79 49 6F 54 64 65 76 69 63 65 04 0F 4D 50 30 39 39 32 31 44 38 30 30 30 31 33 33 16 02 00 0C 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 58 12 01 23 45 67 89 01 23 45 01 23 45 67 89 01 23 45 67 89 5A 13 80 08 10 42 47 39 36 4D 41 52 30 34 41 30 34 4D 31 47 00 13 04 5F 17 9D A0 01 23 3D 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

01H

01H

Event Code

1

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

    • 00H - Normal.

    • 01H - Restart periodically. Please refer to the AT@DOG command for details.

    • 02H - The terminal receives a AT@RTO command with a subcommand 3.

    • 03H - The terminal receives a AT@RTO command with a subcommand 94.

    • 04H - The terminal receives a AT@RTO command with a subcommand 95.

    • 07H - Restart due to firmware update.

    • 17H - Magnet removed. Please refer to the AT@MAG command for details.

  • 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 01H record are controlled by the following QRC command:

Example:
AT@QRC=gl601###,01,,1,,,012F$
+ACK:QRC,123456789012345,C031,10,0,01,012F,20210407101530,1234$
AT@QRC?gl601###,01,0C37$
+QRY:QRC,123456789012345,C031,10,0,1,1,01,,1,1,2|3|4|22|82|85|88|90|19,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

gl601###

Body

Record ID

2

01

01

Reserved

0

Mode

<=2

0, 1, 12

1

Action

1

0-2

Data IDs

N

ID1|ID2|ID3…

Tail

Sequence Number

4

0000-FFFF (‘0’-‘9’, ‘A’-‘F’)

Tail

1

$

$

  • Record ID

    Which record to configure. Always “01” here.

  • Mode

    • 0 - Disable. The terminal no longer generates and sends the 01H record.

    • 1 - Enable Report. The terminal generates and sends the 01H 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).

    • 12 - Enable Report (Event first). In order to report the event in time, the terminal immediately generates and sends a report. If the location information contained in this sent report has expired, the terminal will wait for real-time positioning, then generate and send one more report (Note: To distinguish between the two reports, the highest bit of the event code for the appended report is set to 1, i.e. plus 80H).

    Note

    For Mode 12, if the report does not need to carry location information, it is equivalent to Mode 1.

  • 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 01H record. The characters ‘|’ are used to connect each data ID.

    For example, “2|88” means Data 2 (Device Name) and Data 88 (SIM Card).