1.6.5 RX message elements

Starting with the RECEIVE keyword, the third section of the protocol definition specifies the steps required to parse a protocol frame which is received from the device.

The protocol frame definition consists of a sequence step specifiers, represented by a keyword followed by a defined number of parameters each. The step specifiers recognized in the the RECEIVE section are:

START Reads a message start character.
CHAR Reads a single character.
ADDRESS Reads the device address.
USERDATA Reads the user data.
STRING Reads a terminated string as the user data
CHECKSUM Reads a message checksum.
DATALENGTH Reads a data length field (binary).
HEXLENGTH Reads a data length field (hex).