|
GNU Radio's BLUETOOTH Package
|
#include <packet_impl.h>
Public Member Functions | |
| classic_packet_impl (char *stream, int length) | |
| ~classic_packet_impl () | |
| uint32_t | get_LAP () |
| uint8_t | get_UAP () |
| void | set_UAP (uint8_t UAP) |
| void | set_NAP (uint16_t NAP) |
| void | set_clock (uint32_t clk6, bool have27) |
| uint32_t | get_clock () |
| int | crc_check (int clock) |
| uint8_t | try_clock (int clock) |
| bool | decode_header () |
| void | decode_payload () |
| void | print () |
| char * | tun_format () |
| bool | header_present () |
| uint32_t | lap_from_fhs () |
| uint8_t | uap_from_fhs () |
| uint16_t | nap_from_fhs () |
| uint32_t | clock_from_fhs () |
| Public Member Functions inherited from gr::bluetooth::classic_packet | |
| int | get_channel () |
| Public Member Functions inherited from gr::bluetooth::packet | |
| packet () | |
| packet (char *stream, int length, double freq=0.0) | |
| virtual | ~packet () |
| bool | get_whitened () |
| void | set_whitened (bool whitened) |
| int | get_payload_length () |
| bool | got_payload () |
| int | get_type () |
| void | decode () |
Additional Inherited Members | |
| Public Types inherited from gr::bluetooth::classic_packet | |
| typedef std::shared_ptr< classic_packet > | sptr |
| Public Types inherited from gr::bluetooth::packet | |
| enum | air_format { UNKNOWN = 0 , CLASSIC , LOW_ENERGY , NUM_BTAF } |
| typedef std::shared_ptr< packet > | sptr |
| Static Public Member Functions inherited from gr::bluetooth::classic_packet | |
| static sptr | make (char *stream, int length) |
| Return a shared_ptr to a new instance of gr::bluetooth::classic_packet. | |
| 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 Public Member Functions inherited from gr::bluetooth::packet | |
| 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) |
| Public Attributes inherited from gr::bluetooth::classic_packet | |
| uint32_t | d_clkn |
| Static Public Attributes inherited from gr::bluetooth::classic_packet | |
| static const int | ID_THRESHOLD = 5 |
| static const int | SYMBOLS_PER_BASIC_RATE_ACCESS_CODE = 68 |
| static const uint8_t | INDICES [64] |
| static const uint8_t | PREAMBLE_DISTANCE [32] |
| static const uint8_t | BARKER_DISTANCE [128] |
| static const std::string | TYPE_NAMES [16] |
| Static Public Attributes inherited from gr::bluetooth::packet | |
| static const uint8_t | WHITENING_DATA [127] |
| gr::bluetooth::classic_packet_impl::classic_packet_impl | ( | char * | stream, |
| int | length ) |
| gr::bluetooth::classic_packet_impl::~classic_packet_impl | ( | ) |
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.
|
virtual |
Implements gr::bluetooth::classic_packet.