#include <bluetooth_packet.h>
|
| static int | sniff_ac (char *stream, int stream_length) |
| static uint8_t * | lfsr (uint8_t *data, int length, int k, uint8_t *g) |
| static uint8_t | reverse (char byte) |
| static uint8_t * | acgen (int LAP) |
| static void | convert_to_grformat (uint8_t input, uint8_t *output) |
| static bool | unfec13 (char *input, char *output, int length) |
| static char * | unfec23 (char *input, int length) |
| static char * | fec23gen (char *data) |
| static bool | check_ac (char *stream, int LAP) |
| static uint8_t | air_to_host8 (char *air_order, int bits) |
| static uint16_t | air_to_host16 (char *air_order, int bits) |
| static uint32_t | air_to_host32 (char *air_order, int bits) |
| static void | host_to_air (uint8_t host_order, char *air_order, int bits) |
| static uint16_t | crcgen (char *payload, int length, int UAP) |
| static int | UAP_from_hec (uint16_t data, uint8_t hec) |
◆ ~bluetooth_packet()
| bluetooth_packet::~bluetooth_packet |
( |
| ) |
|
◆ acgen()
| uint8_t * bluetooth_packet::acgen |
( |
int | LAP | ) |
|
|
static |
◆ air_to_host16()
| uint16_t bluetooth_packet::air_to_host16 |
( |
char * | air_order, |
|
|
int | bits ) |
|
static |
◆ air_to_host32()
| uint32_t bluetooth_packet::air_to_host32 |
( |
char * | air_order, |
|
|
int | bits ) |
|
static |
◆ air_to_host8()
| uint8_t bluetooth_packet::air_to_host8 |
( |
char * | air_order, |
|
|
int | bits ) |
|
static |
◆ check_ac()
| bool bluetooth_packet::check_ac |
( |
char * | stream, |
|
|
int | LAP ) |
|
static |
◆ clock_from_fhs()
| uint32_t bluetooth_packet::clock_from_fhs |
( |
| ) |
|
◆ convert_to_grformat()
| void bluetooth_packet::convert_to_grformat |
( |
uint8_t | input, |
|
|
uint8_t * | output ) |
|
static |
◆ crc_check()
| int bluetooth_packet::crc_check |
( |
int | clock | ) |
|
◆ crcgen()
| uint16_t bluetooth_packet::crcgen |
( |
char * | payload, |
|
|
int | length, |
|
|
int | UAP ) |
|
static |
◆ decode()
| void bluetooth_packet::decode |
( |
| ) |
|
◆ decode_header()
| bool bluetooth_packet::decode_header |
( |
| ) |
|
◆ decode_payload()
| void bluetooth_packet::decode_payload |
( |
| ) |
|
◆ fec23gen()
| char * bluetooth_packet::fec23gen |
( |
char * | data | ) |
|
|
static |
◆ get_clock()
| uint32_t bluetooth_packet::get_clock |
( |
| ) |
|
◆ get_LAP()
| uint32_t bluetooth_packet::get_LAP |
( |
| ) |
|
◆ get_payload_length()
| int bluetooth_packet::get_payload_length |
( |
| ) |
|
◆ get_type()
| int bluetooth_packet::get_type |
( |
| ) |
|
◆ get_UAP()
| uint8_t bluetooth_packet::get_UAP |
( |
| ) |
|
◆ get_whitened()
| bool bluetooth_packet::get_whitened |
( |
| ) |
|
◆ got_payload()
| bool bluetooth_packet::got_payload |
( |
| ) |
|
◆ header_present()
| bool bluetooth_packet::header_present |
( |
| ) |
|
◆ host_to_air()
| void bluetooth_packet::host_to_air |
( |
uint8_t | host_order, |
|
|
char * | air_order, |
|
|
int | bits ) |
|
static |
◆ lap_from_fhs()
| uint32_t bluetooth_packet::lap_from_fhs |
( |
| ) |
|
◆ lfsr()
| uint8_t * bluetooth_packet::lfsr |
( |
uint8_t * | data, |
|
|
int | length, |
|
|
int | k, |
|
|
uint8_t * | g ) |
|
static |
◆ nap_from_fhs()
| uint16_t bluetooth_packet::nap_from_fhs |
( |
| ) |
|
◆ print()
| void bluetooth_packet::print |
( |
| ) |
|
◆ reverse()
| uint8_t bluetooth_packet::reverse |
( |
char | byte | ) |
|
|
static |
◆ set_clock()
| void bluetooth_packet::set_clock |
( |
uint32_t | clk6, |
|
|
bool | have27 ) |
◆ set_NAP()
| void bluetooth_packet::set_NAP |
( |
uint16_t | NAP | ) |
|
◆ set_UAP()
| void bluetooth_packet::set_UAP |
( |
uint8_t | UAP | ) |
|
◆ set_whitened()
| void bluetooth_packet::set_whitened |
( |
bool | whitened | ) |
|
◆ sniff_ac()
| int bluetooth_packet::sniff_ac |
( |
char * | stream, |
|
|
int | stream_length ) |
|
static |
◆ try_clock()
| uint8_t bluetooth_packet::try_clock |
( |
int | clock | ) |
|
◆ tun_format()
| char * bluetooth_packet::tun_format |
( |
| ) |
|
◆ uap_from_fhs()
| uint8_t bluetooth_packet::uap_from_fhs |
( |
| ) |
|
◆ UAP_from_hec()
| int bluetooth_packet::UAP_from_hec |
( |
uint16_t | data, |
|
|
uint8_t | hec ) |
|
static |
◆ unfec13()
| bool bluetooth_packet::unfec13 |
( |
char * | input, |
|
|
char * | output, |
|
|
int | length ) |
|
static |
◆ unfec23()
| char * bluetooth_packet::unfec23 |
( |
char * | input, |
|
|
int | length ) |
|
static |
◆ bluetooth_make_packet [1/2]
| bluetooth_packet_sptr bluetooth_make_packet |
( |
char * | stream, |
|
|
int | length ) |
|
friend |
◆ bluetooth_make_packet [2/2]
| bluetooth_packet_sptr bluetooth_make_packet |
( |
char * | stream, |
|
|
int | length, |
|
|
uint32_t | clkn, |
|
|
int | channel ) |
|
friend |
◆ d_channel
| int bluetooth_packet::d_channel |
◆ d_clkn
| uint32_t bluetooth_packet::d_clkn |
The documentation for this class was generated from the following file: