Data collector format packets

Applicable receivers:  All receivers

Command packets are sent from the remote device to the receiver when requesting data, sending commands, or when managing application files. The receiver acknowledges every command packet sent by the remote device. It does this by sending an associated report packet or by acknowledging the transaction with an ACK (06h) or NAK (15h) from the receiver.

NOTE – The return of a NAK sometimes means that the receiver cannot fulfil the request. That is, the requested command is not supported.

Data Collector Format command packets are sent from the remote device to the receiver to execute receiver commands or to request data reports.

Data Collector Format report packets are usually sent in response to a command packet. Report packets are generated immediately after the request is received. The receiver always responds to requests for reports, even in cases where a report cannot be transmitted for some reason or the transmission of a report is not necessary. In these cases, the receiver sends an ACK or NAK to acknowledge the request.

The receiver acknowledges all command packets. It does this by sending a corresponding report packet or by acknowledging the completion of an action.

Packets are processed by the receiver on a first-in, first-out (FIFO) basis. External devices can send multiple packets without waiting for a response from each packet. The external device is responsible for matching expected responses with the actual response sent by the receiver.

Each message begins with a 4-byte header, followed by the bytes of data in the packet, and the packet ends with a 2-byte trailer. Byte 3 is set to 0 (00h) when the packet contains no data. Most data is transmitted between the receiver and remote device in binary format.