|
GNU Radio's BLUETOOTH Package
|
#include <packet_impl.h>
Public Member Functions | |
| le_packet_impl (char *stream, int length, double freq=0.0) | |
| ~le_packet_impl () | |
| bool | decode_header () |
| void | decode_payload () |
| void | print () |
| char * | tun_format () |
| bool | header_present () |
| uint32_t | get_AA () |
| 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::le_packet | |
| typedef std::shared_ptr< le_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::le_packet | |
| static sptr | make (char *stream, int length, double freq=0.0) |
| static int | freq2chan (const double freq) |
| static int | chan2index (const int chan) |
| static int | freq2index (const double freq) |
| static int | sniff_aa (char *stream, int stream_length, double freq) |
| 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) |
| Static Public Attributes inherited from gr::bluetooth::le_packet | |
| static const unsigned | MAX_PDU_OCTETS = LE_MAX_PDU_OCTETS |
| static const unsigned | MAX_OCTETS = LE_MAX_OCTETS |
| static const unsigned | MAX_SYMBOLS = LE_MAX_SYMBOLS |
| static const uint8_t | INDICES [40] |
| static const uint8_t | PREAMBLE_DISTANCE [512] |
| static const uint8_t | ACCESS_ADDRESS_DISTANCE_0 [256] |
| static const uint8_t | ACCESS_ADDRESS_DISTANCE_1 [256] |
| static const uint8_t | ACCESS_ADDRESS_DISTANCE_2 [256] |
| static const uint8_t | ACCESS_ADDRESS_DISTANCE_3 [256] |
| static const uint8_t | ACCESS_HEADER_DISTANCE_LSB [256] |
| static const uint8_t | ACCESS_HEADER_DISTANCE_MSB [256] |
| static const uint8_t | DATA_HEADER_DISTANCE_LSB [256] |
| static const uint8_t | DATA_HEADER_DISTANCE_MSB [256] |
| Static Public Attributes inherited from gr::bluetooth::packet | |
| static const uint8_t | WHITENING_DATA [127] |
| gr::bluetooth::le_packet_impl::le_packet_impl | ( | char * | stream, |
| int | length, | ||
| double | freq = 0.0 ) |
| gr::bluetooth::le_packet_impl::~le_packet_impl | ( | ) |
|
virtual |
Implements gr::bluetooth::le_packet.
|
virtual |
Implements gr::bluetooth::le_packet.
|
inlinevirtual |
Implements gr::bluetooth::le_packet.
|
inlinevirtual |
Implements gr::bluetooth::le_packet.
|
virtual |
Implements gr::bluetooth::le_packet.
|
virtual |
Implements gr::bluetooth::le_packet.
|
virtual |
Implements gr::bluetooth::le_packet.