--- libelwix/inc/elwix/acrc.h 2019/12/18 20:00:18 1.6.28.1 +++ libelwix/inc/elwix/acrc.h 2019/12/30 18:11:16 1.7 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: acrc.h,v 1.6.28.1 2019/12/18 20:00:18 misho Exp $ +* $Id: acrc.h,v 1.7 2019/12/30 18:11:16 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -83,13 +83,21 @@ unsigned int crcCalc(unsigned char * __restrict psBuf, 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 * @bufLen = Length of data * return: Checksum */ 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 *