hci-decoder  1.0
Lightweight Bluetooth HCI decoder library parsing individually HCI frames into JSON format
extended_inquiry_result_event Struct Reference

#include <hci_event_packet.h>

Inheritance diagram for extended_inquiry_result_event:
IHciEventFrame IHciFrame

Public Member Functions

 extended_inquiry_result_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 num_responses
 
bt_address bd_addr
 
uint8_t page_repetition_mode
 
uint32_t class_of_device
 
uint16_t clock_offset
 
uint8_t rssi
 
std::vector< uint8_t > extended_inquiry_response
 

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
 

Constructor & Destructor Documentation

extended_inquiry_result_event::extended_inquiry_result_event ( const std::vector< char > &  data)
inline

Member Function Documentation

Json::Value extended_inquiry_result_event::toJsonObj ( )
inlinevirtual

toStyledJson convert frame information to beautiful json format

Returns

Reimplemented from IHciFrame.

Member Data Documentation

bt_address extended_inquiry_result_event::bd_addr
uint32_t extended_inquiry_result_event::class_of_device
uint16_t extended_inquiry_result_event::clock_offset
std::vector<uint8_t> extended_inquiry_result_event::extended_inquiry_response
uint8_t extended_inquiry_result_event::num_responses
uint8_t extended_inquiry_result_event::page_repetition_mode
uint8_t extended_inquiry_result_event::rssi

The documentation for this struct was generated from the following file: