Functions | |
uint32_t | point_one::fusion_engine::messages::CalculateCRC (const void *buffer) |
Calculate the CRC for the message (header + payload) contained in the buffer. More... | |
bool | point_one::fusion_engine::messages::IsValid (const void *buffer) |
Check if the message contained in the buffer has a valid CRC. More... | |
P1_EXPORT uint32_t point_one::fusion_engine::messages::CalculateCRC | ( | const void * | buffer | ) |
Calculate the CRC for the message (header + payload) contained in the buffer.
buffer | A byte buffer containing a MessageHeader and payload. |
|
inline |
Check if the message contained in the buffer has a valid CRC.
buffer | A byte buffer containing a MessageHeader and payload. |
true
if the CRC value in the header matches the CRC computed from the current contents.