The NSL01 library contains the software stack to control the NSL01 LoRaWAN shield from mCloud System GmbH. The NSL01 is a professional plug & play LoRaWAN shield for a wide range of STM32 Nucleo-64 boards with Arduino Uno Rev 3 connectivity. For more information about the NSL01 LoRaWAN shield have a look at: http://www.mcloud-systems.com/nsl01-lorawan-nucleo-arduino-shield
Fork of NSL01 by
CRC16.h File Reference
Functions for NSL01 class to calculate and check CRC16. More...
Go to the source code of this file.
Functions | |
| UINT16 | CRC16_Calc (UINT8 *data, UINT16 length, UINT16 initVal) |
| Function to calculate CRC16. | |
| bool | CRC16_Check (UINT8 *data, UINT16 length, UINT16 initVal) |
| Function to check CRC16. | |
Detailed Description
Functions for NSL01 class to calculate and check CRC16.
For more information about the NSL01 LoRaWAN shield: http://www.mcloud-systems.com/nsl01-lorawan-nucleo-arduino-shield
- Note:
- The CRC16 files are included in the dependencies directory of the project and these files are necessary for the NSL01 class!
- Version:
- V1.0
- Date:
- 20-June-2018
Definition in file CRC16.h.
Function Documentation
| UINT16 CRC16_Calc | ( | UINT8 * | data, |
| UINT16 | length, | ||
| UINT16 | initVal | ||
| ) |
Function to calculate CRC16.
- Note:
- This function calculates the one's complement of the standard 16-BIT CRC CCITT polynomial G(x) = 1 + x^5 + x^12 + x^16.
- Parameters:
-
data : Input sequency length : Length of input sequence initVal : Inital value
- Returns:
- calculated checksum.
| bool CRC16_Check | ( | UINT8 * | data, |
| UINT16 | length, | ||
| UINT16 | initVal | ||
| ) |
Generated on Tue Jul 12 2022 20:20:04 by
1.7.2
