version 1.6.28.1, 2019/12/18 20:00:18
|
version 1.6.28.2, 2019/12/30 17:56:54
|
Line 83 unsigned int crcCalc(unsigned char * __restrict psBuf,
|
Line 83 unsigned int crcCalc(unsigned char * __restrict psBuf,
|
unsigned int initCRC, unsigned int xorCRC); |
unsigned int initCRC, unsigned int xorCRC); |
|
|
/* |
/* |
* crc16() - Checksum in X/Y modem communication | * crc16() - Checksum calculation in X/Y modem communication |
* |
* |
* @buf = Data for calculation |
* @buf = Data for calculation |
* @bufLen = Length of data |
* @bufLen = Length of data |
* return: Checksum |
* return: Checksum |
*/ |
*/ |
unsigned short crc16(unsigned char * __restrict buf, int bufLen); |
unsigned short crc16(unsigned char * __restrict buf, int bufLen); |
|
/* |
|
* crc16_ext() - Checksum ver.2 calculation in X/Y modem communication |
|
* |
|
* @buf = Data for calculation |
|
* @bufLen = Length of data |
|
* return: Checksum |
|
*/ |
|
unsigned short crc16_ext(unsigned char * __restrict buf, int bufLen); |
/* |
/* |
* crcIP() - Checksum in IP communication |
* crcIP() - Checksum in IP communication |
* |
* |