|
Z-Wave Protocol Controller Reference
|
CRC16 calculation function. More...
Functions | |
| uint16_t | zwave_controller_crc16 (uint16_t crc16, const uint8_t *data_buf, unsigned long data_length) |
| Calculation of CRC16-CCITT with Polynomial 0x1021 on data. More... | |
CRC16 calculation function.
| uint16_t zwave_controller_crc16 | ( | uint16_t | crc16, |
| const uint8_t * | data_buf, | ||
| unsigned long | data_length | ||
| ) |
Calculation of CRC16-CCITT with Polynomial 0x1021 on data.
| crc16 | Initial value for CRC 16 calculation algorithm |
| data_buf | data |
| data_length | Length of the data. |