.. _headlabel-refx-record-54: 54H (Idling Information) ======================== This message will be generated and sent to the backend server according to the configuration of the :ref:`AT@IDLE ` command. The frame format of a report that only carries **54H** record is as follows: .. code-block:: none For example (Total 39 bytes): 2B 00 00 27 00 01 23 45 67 89 01 23 45 00 00 00 1B 00 00 10 64 F9 AA F6 00 00 54 00 62 05 01 00 00 00 B4 01 23 52 24 .. tabularcolumns:: |p{3.8em}|p{3.2em}|p{5.5em}|p{5.8em}|p{15em}|p{4.8em}| .. table:: :width: 100% :widths: auto +----------+--------------------+------------------+---------------+------------------------------------------------+---------------+ | 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 | **54H** | **54H** | + +--------------------+------------------+---------------+------------------------------------------------+---------------+ | | `Event Code` | 1 | 00H, 01H, 02H | | + +--------------------+------------------+---------------+------------------------------------------------+---------------+ | | `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 :ref:`here `. - `Event Code` - **00H** - The vehicle enters into idling status. - **01H** - The vehicle leaves idling status. - **02H** - The vehicle is in idling status. - `Data of Record` It consists of one or more :ref:`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. - :ref:`Data 98 ` - Idle Status. .. configuration: Configuration ------------- The parameters related to the generation and transmission of **54H** record are controlled by the following :ref:`QRC ` command: .. code-block:: none Example: AT@QRC=gv500cna,54,,1,,,1,1,60,012F$ +ACK:QRC,123456789012345,8203,3,0,54,012F,20210407101530,1234$ AT@QRC?gv500cna,54,0C37$ +QRY:QRC,123456789012345,8203,3,0,1,1,54,,1,1,98,1,1,60,0C37,20210407101530,1234$ .. tabularcolumns:: |p{2.2em}|p{14.2em}|p{5.8em}|p{12em}|p{4.8em}| .. table:: :width: 100% :widths: auto +-------+-----------------------+---------------+------------------------------------------------+----------------+ | 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 | 54 | 54 | + +-----------------------+---------------+------------------------------------------------+----------------+ | | Reserved | | | | + +-----------------------+---------------+------------------------------------------------+----------------+ | | `Mode` | <=2 | 0, 1, 12 | 1 | + +-----------------------+---------------+------------------------------------------------+----------------+ | | `Action` | 1 | 0-2 | | + +-----------------------+---------------+------------------------------------------------+----------------+ | | `Data IDs` | N | ID1|ID2|ID3... | | + +-----------------------+---------------+------------------------------------------------+----------------+ | | `Enter Idling Report` | 1 | 0-1 | 0 | + +-----------------------+---------------+------------------------------------------------+----------------+ | | `Leave Idling Report` | 1 | 0-1 | 0 | + +-----------------------+---------------+------------------------------------------------+----------------+ | | `Time Interval` | <=4 | 0 or 10-3600 (seconds) | 0 | +-------+-----------------------+---------------+------------------------------------------------+----------------+ | Tail | Sequence Number | 4 | 0000-FFFF ('0'-'9', 'A'-'F') | | + +-----------------------+---------------+------------------------------------------------+----------------+ | | Tail | 1 | $ | $ | +-------+-----------------------+---------------+------------------------------------------------+----------------+ - `Record ID` Which record to configure. Always "54" here. - `Mode` - **0** - Disable. The terminal no longer generates and sends the 54H record. - **1** - Enable Report. The terminal generates and sends the 54H 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 54H record. The characters '|' are used to connect each data ID. For example, "2|88" means Data 2 (Device Name) and Data 88 (SIM Card). - `Enter Idling Report` Specify whether to generate a 54H record with event code 00H when the vehicle enters into idling status. - **0** - No need. Record 54H with event code 00H will not be generated. - **1** - Need. Record 54H with event code 00H will be generated. - `Leave Idling Report` Specify whether to generate a 54H record with event code 01H when the vehicle leaves idling status. - **0** - No need. Record 54H with event code 01H will not be generated. - **1** - Need. Record 54H with event code 01H will be generated. - `Time Interval` The terminal will periodically generate a 54H record with event code 02H according to this interval when the vehicle is in idling status. And a value of **0** in this field means that no records will be generated at this interval.