<+description of block+>
More...
#include <packet.h>
|
| static sptr | make (char *stream, int length) |
| | Return a shared_ptr to a new instance of gr::bluetooth::classic_packet. More...
|
| |
| static sptr | make (char *stream, int length, uint32_t clkn, double freq) |
| |
| 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 * | acgen (int LAP) |
| |
| static bool | unfec13 (char *input, char *output, int length) |
| |
| static char * | unfec23 (char *input, int length) |
| |
| static bool | check_ac (char *stream, int LAP) |
| |
| static uint16_t | crcgen (char *payload, int length, int UAP) |
| |
| static int | UAP_from_hec (uint16_t data, uint8_t hec) |
| |
| static int | sniff_packet (char *stream, int stream_length, double freq, air_format &fmt) |
| |
| static uint8_t | reverse (char byte) |
| |
| static void | convert_to_grformat (uint8_t input, uint8_t *output) |
| |
| 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) |
| |
◆ sptr
◆ acgen()
| static uint8_t* gr::bluetooth::classic_packet::acgen |
( |
int |
LAP | ) |
|
|
static |
◆ check_ac()
| static bool gr::bluetooth::classic_packet::check_ac |
( |
char * |
stream, |
|
|
int |
LAP |
|
) |
| |
|
static |
◆ clock_from_fhs()
| virtual uint32_t gr::bluetooth::classic_packet::clock_from_fhs |
( |
| ) |
|
|
pure virtual |
◆ crc_check()
| virtual int gr::bluetooth::classic_packet::crc_check |
( |
int |
clock | ) |
|
|
pure virtual |
◆ crcgen()
| static uint16_t gr::bluetooth::classic_packet::crcgen |
( |
char * |
payload, |
|
|
int |
length, |
|
|
int |
UAP |
|
) |
| |
|
static |
◆ decode_header()
| virtual bool gr::bluetooth::classic_packet::decode_header |
( |
| ) |
|
|
pure virtual |
◆ decode_payload()
| virtual void gr::bluetooth::classic_packet::decode_payload |
( |
| ) |
|
|
pure virtual |
◆ get_channel()
| int gr::bluetooth::classic_packet::get_channel |
( |
| ) |
|
|
inlinevirtual |
◆ get_clock()
| virtual uint32_t gr::bluetooth::classic_packet::get_clock |
( |
| ) |
|
|
pure virtual |
◆ get_LAP()
| virtual uint32_t gr::bluetooth::classic_packet::get_LAP |
( |
| ) |
|
|
pure virtual |
◆ get_UAP()
| virtual uint8_t gr::bluetooth::classic_packet::get_UAP |
( |
| ) |
|
|
pure virtual |
◆ header_present()
| virtual bool gr::bluetooth::classic_packet::header_present |
( |
| ) |
|
|
pure virtual |
◆ lap_from_fhs()
| virtual uint32_t gr::bluetooth::classic_packet::lap_from_fhs |
( |
| ) |
|
|
pure virtual |
◆ lfsr()
| static uint8_t* gr::bluetooth::classic_packet::lfsr |
( |
uint8_t * |
data, |
|
|
int |
length, |
|
|
int |
k, |
|
|
uint8_t * |
g |
|
) |
| |
|
static |
◆ make() [1/2]
| static sptr gr::bluetooth::classic_packet::make |
( |
char * |
stream, |
|
|
int |
length |
|
) |
| |
|
static |
◆ make() [2/2]
| static sptr gr::bluetooth::classic_packet::make |
( |
char * |
stream, |
|
|
int |
length, |
|
|
uint32_t |
clkn, |
|
|
double |
freq |
|
) |
| |
|
static |
◆ nap_from_fhs()
| virtual uint16_t gr::bluetooth::classic_packet::nap_from_fhs |
( |
| ) |
|
|
pure virtual |
◆ print()
| virtual void gr::bluetooth::classic_packet::print |
( |
| ) |
|
|
pure virtual |
◆ set_clock()
| virtual void gr::bluetooth::classic_packet::set_clock |
( |
uint32_t |
clk6, |
|
|
bool |
have27 |
|
) |
| |
|
pure virtual |
◆ set_NAP()
| virtual void gr::bluetooth::classic_packet::set_NAP |
( |
uint16_t |
NAP | ) |
|
|
pure virtual |
◆ set_UAP()
| virtual void gr::bluetooth::classic_packet::set_UAP |
( |
uint8_t |
UAP | ) |
|
|
pure virtual |
◆ sniff_ac()
| static int gr::bluetooth::classic_packet::sniff_ac |
( |
char * |
stream, |
|
|
int |
stream_length |
|
) |
| |
|
static |
◆ try_clock()
| virtual uint8_t gr::bluetooth::classic_packet::try_clock |
( |
int |
clock | ) |
|
|
pure virtual |
◆ tun_format()
| virtual char* gr::bluetooth::classic_packet::tun_format |
( |
| ) |
|
|
pure virtual |
◆ uap_from_fhs()
| virtual uint8_t gr::bluetooth::classic_packet::uap_from_fhs |
( |
| ) |
|
|
pure virtual |
◆ UAP_from_hec()
| static int gr::bluetooth::classic_packet::UAP_from_hec |
( |
uint16_t |
data, |
|
|
uint8_t |
hec |
|
) |
| |
|
static |
◆ unfec13()
| static bool gr::bluetooth::classic_packet::unfec13 |
( |
char * |
input, |
|
|
char * |
output, |
|
|
int |
length |
|
) |
| |
|
static |
◆ unfec23()
| static char* gr::bluetooth::classic_packet::unfec23 |
( |
char * |
input, |
|
|
int |
length |
|
) |
| |
|
static |
◆ BARKER_DISTANCE
| const uint8_t gr::bluetooth::classic_packet::BARKER_DISTANCE[128] |
|
static |
◆ d_clkn
| uint32_t gr::bluetooth::classic_packet::d_clkn |
◆ ID_THRESHOLD
| const int gr::bluetooth::classic_packet::ID_THRESHOLD = 5 |
|
static |
◆ INDICES
| const uint8_t gr::bluetooth::classic_packet::INDICES[64] |
|
static |
◆ PREAMBLE_DISTANCE
| const uint8_t gr::bluetooth::classic_packet::PREAMBLE_DISTANCE[32] |
|
static |
◆ SYMBOLS_PER_BASIC_RATE_ACCESS_CODE
| const int gr::bluetooth::classic_packet::SYMBOLS_PER_BASIC_RATE_ACCESS_CODE = 68 |
|
static |
◆ TYPE_NAMES
| const std::string gr::bluetooth::classic_packet::TYPE_NAMES[16] |
|
static |
The documentation for this class was generated from the following file: