hci-decoder
1.0
Lightweight Bluetooth HCI decoder library parsing individually HCI frames into JSON format
|
#include <hci_event_packet.h>
Public Member Functions | |
le_meta_connection_complete_event (const std::vector< char > &data) | |
Json::Value | toJsonObj () |
toStyledJson convert frame information to beautiful json format More... | |
Public Member Functions inherited from IHciEventFrame | |
EVENT_ENUM | getEventCode () |
getEventCode retrieve event code More... | |
void | print () |
std::string | toJson (bool beautify) |
toStyledJson convert frame information to beautiful json format More... | |
HCI_PACKET_TYPE_ENUM | getPacketType () |
getPacketType retrieve HCI Packet type (HCI_COMMAND / HCI_ACL_DATA / HCI_SCO_DATA / HCI_EVENT) More... | |
uint8_t | getParamterTotalLength () |
getParamterTotalLength number in bytes of total parameter length More... | |
Public Member Functions inherited from IHciFrame | |
virtual void | clear () |
virtual | ~IHciFrame () |
Public Attributes | |
uint8_t | status |
uint16_t | connection_handle |
uint8_t | role |
uint8_t | peer_address_type |
bt_address | peer_address |
uint16_t | conn_interval |
uint16_t | conn_latency |
uint16_t | supervision_timeout |
uint8_t | master_clock_accuracy |
LE_SUBEVENT_ENUM | subevent_code |
Additional Inherited Members | |
Protected Member Functions inherited from IHciEventFrame | |
void | init (Json::Value &output) |
Protected Attributes inherited from IHciEventFrame | |
EVENT_ENUM | event_code |
uint8_t | parameter_total_length |
|
inline |
|
inlinevirtual |
toStyledJson convert frame information to beautiful json format
Reimplemented from IHciFrame.
uint16_t le_meta_connection_complete_event::conn_interval |
uint16_t le_meta_connection_complete_event::conn_latency |
uint16_t le_meta_connection_complete_event::connection_handle |
uint8_t le_meta_connection_complete_event::master_clock_accuracy |
bt_address le_meta_connection_complete_event::peer_address |
uint8_t le_meta_connection_complete_event::peer_address_type |
uint8_t le_meta_connection_complete_event::role |
uint8_t le_meta_connection_complete_event::status |
LE_SUBEVENT_ENUM le_meta_connection_complete_event::subevent_code |
uint16_t le_meta_connection_complete_event::supervision_timeout |