...
The RapidConnect serial protocol v2.0 has a frame-based architecture. All communication between the Host and Module is facilitated by the exchange of data frames.
Serial Interface Parameters
The serial UART interface uses the following parameters:
...
Table 1: RapidConnect Serial Parameters
Parameter | Value |
---|---|
Baud Rate | 115200 |
Parity | None |
Stop Bits | 1 |
Data Bits | 8 |
Excerpt | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Frame StructureEvery RapidConnect frame has the structure illustrated below: HeaderThe frame header is a fixed 5 bytes in length. Each byte is described in Table 2. Table 2: Frame Header Description
PayloadUnlike the header, the payload is of variable size, ranging from 0 to n bytes; the size is based on the Payload Length field in the header. All fields contained in the payload are ordered with the least significant byte first. The payload contains the command’s parameters. Command parameters are detailed in Frame Payload Definitions. ChecksumThe Checksum is a fixed two bytes in length, with the MSB indicating the End of Frame (EOF). It is calculated by summing the values of byes starting from the Primary Header to the end of the Payload. Any overflow above two bytes is discarded. The checksum calculation (CS) is given here: |