The friendly Operating System for the Internet of Things
crc16_ccitt.h File Reference

Detailed Description

#include <stdint.h>
#include <stdlib.h>
+ Include dependency graph for crc16_ccitt.h:

Go to the source code of this file.

Functions

uint16_t crc16_ccitt_update (uint16_t crc, const unsigned char *buf, size_t len)
 Update CRC16-CCITT. More...
 
uint16_t crc16_ccitt_calc (const unsigned char *buf, size_t len)
 Calculate CRC16-CCITT. More...