|
uint8_t | size |
| CRC size in bits.
|
|
uint32_t | poly |
| CRC polynomial.
|
|
uint32_t | init |
| Initial value.
|
|
uint32_t | out |
| Final XOR value.
|
|
bool | refIn |
| Whether to reflect input bytes.
|
|
bool | refOut |
| Whether to reflect the result.
|
|
◆ checksum()
uint32_t RadioLibCRC::checksum |
( |
uint8_t * |
buff, |
|
|
size_t |
len |
|
) |
| |
Calcualte checksum of a buffer.
- Parameters
-
buff | Buffer to calculate the checksum over. |
len | Size of the buffer in bytes. |
- Returns
- The resulting checksum.
The documentation for this class was generated from the following files:
- src/utils/CRC.h
- src/utils/CRC.cpp