CRC_Ross_Williams
所属分类:扫描程序
开发工具:Others
文件大小:9KB
下载次数:3
上传日期:2013-07-30 11:20:02
上 传 者:
74375494
说明: sirve para muchas cosas es de la universidad de newcastle en inglaterra
文件列表:
crcmodel.c (5182, 2010-04-15)
crcmodel.h (8716, 2010-04-15)
crctable.c (8193, 2010-12-13)
crctable.h (3613, 2010-12-13)
crctest.c (3588, 2010-12-13)
-To generate the full 16-bit CRC table using the "reflected" algorithm in cygwin:
gcc crcmodel.c crctable.c -o crctable
-To run the program:
./crctable
(The table is stored in crctable.h)
-An example of how to use the table in byte-by-byte and nibble-by-nibble form check the
crctest.c file. To compile the example in cygwin:
gcc crcmodel.c crctest.c -o crctest
-To run the program:
./crctest Readme.txt
(This computes the crc of the file Readme.txt)
You can modify the code in crctest.c very easily for needs of the crc computation required in
the sensor network project.
近期下载者:
相关文件:
收藏者: