|
SELKIELogger
1.0.0
|
Represent LPMS message. More...
#include <LPMSTypes.h>

Public Attributes | |
| uint16_t | id |
| Source/Destination Sensor ID. | |
| uint16_t | command |
| Message type. | |
| uint16_t | length |
| Length of data, in bytes. | |
| uint16_t | checksum |
| Sum of all preceding message bytes. | |
| uint8_t * | data |
| Pointer to data array. | |
Represent LPMS message.
Each word is represented as two bytes in little-endian format when transmited. id, command, and length are transmitted at the start of the message, followed by length bytes of data and then command - which is the bytewise sum of message contents.
When transmitted, an initial LPMS_START byte precedes the message and LPMS_END1 and LPMS_END2 are appended.
Definition at line 48 of file LPMSTypes.h.