Expand description
CRC-16 Encapsulation and the CRC Z-Wave uses (CRC-CCITT, polynomial
0x1021, initial value 0x1D0F; the crc crate’s CRC_16_SPI_FUJITSU).
Constants§
- CC
- The CRC-16 Encapsulation command class id.
Functions§
- checksum
- The Z-Wave CRC-16 of
data. - decapsulate
- Unwraps a CRC-16 Encapsulation frame (starting at
0x56 0x01);Nonewhen it is too short or the CRC does not match. - encapsulate
- Wraps a command in CRC-16 Encapsulation.