Struct crc8_bluetooth
Synopsis
#include "breeze/checksum/crc.hpp"
struct crc8_bluetooth
Description
Traits for the CRC-8 used by Bluetooth (CRC-8/BLUETOOTH).
- See
- crc.
Source
Lines 298-310 in breeze/checksum/crc.hpp.
struct crc8_bluetooth
{
typedef std::uint8_t value_type ;
static int const width = 8 ;
static value_type const poly = 0xA7 ;
static value_type const init = 0 ;
static bool const reflect_in = true ;
static bool const reflect_out = true ;
static value_type const xor_out = 0 ;
static value_type const check = 0x26 ;
} ;