CGM Simulator  0.1.3
A CGM simulator to demonstrate the BLE CGM profile v1.1
 All Data Structures Files Functions Variables Typedefs Macros Groups Pages
crc.h File Reference

This file contains the declarations for CRC16. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

unsigned short ccitt_crc16 (unsigned char *message, short length)
 CRC-CCITT calculation using the tabular form. More...
 
char ccitt_crc16_test (unsigned char *message, short length)
 Test the input message against its attached CRC16 code. More...
 

Detailed Description

This file contains the declarations for CRC16.

Author
Harry Qiu
Version
2
Date
2015-March-13

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.