Internet of Things data protocol - simplistic text and CSV-friendly IoT data protocol. Options: Schema-less, schema+versioning, building deltas for data values. Easy to re-use.
Sometimes in serial communication (RS-232, RS-485, and other) we have noise in transmission data (i.e. wrong bites). With this CRC implementation, we will be sure, that all message payload has original value.
Description
We can use CRC16 from typical MODBUS implementation, next combine below fields with values:
and add
optional
field with calculated:c|<CRC>
.Example of
IoText
message without CRC:Example of
IoText
message with CRC as HEX number (thisc
field is optional!):Why this is so important?
Sometimes in serial communication (RS-232, RS-485, and other) we have noise in transmission data (i.e. wrong bites). With this CRC implementation, we will be sure, that all message payload has original value.