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

#include <hci_cmd_packet.h>

Inheritance diagram for le_create_connection_cmd:
IHciCommandFrame IHciFrame

Public Member Functions

 le_create_connection_cmd (const std::vector< char > &data)
 
Json::Value toJsonObj ()
 toStyledJson convert frame information to beautiful json format More...
 
- Public Member Functions inherited from IHciCommandFrame
COMMAND_OGF_ENUM getOGF ()
 getOGF retrieve Opcode Group Frame More...
 
int getOCF ()
 getOCF retrieve Opcode Command Frame More...
 
HCI_PACKET_TYPE_ENUM getPacketType ()
 getPacketType retrieve HCI Packet type (HCI_COMMAND / HCI_ACL_DATA / HCI_SCO_DATA / HCI_EVENT) More...
 
void print ()
 
std::string toJson (bool beautify)
 toStyledJson convert frame information to beautiful json format 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

uint16_t scan_interval
 
uint16_t scan_window
 
uint8_t initiator_filter_policy
 
uint8_t peer_address_type
 
bt_address peer_address
 
uint8_t own_address_type
 
uint16_t conn_interval_min
 
uint16_t conn_interval_max
 
uint16_t conn_latency
 
uint16_t supervision_timeout
 
uint16_t minimum_ce_length
 
uint16_t maximum_ce_length
 

Additional Inherited Members

- Protected Member Functions inherited from IHciCommandFrame
void init (Json::Value &output)
 
- Protected Attributes inherited from IHciCommandFrame
COMMAND_OGF_ENUM ogf
 
uint8_t ocf
 
uint8_t parameter_total_length
 

Constructor & Destructor Documentation

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

Member Function Documentation

Json::Value le_create_connection_cmd::toJsonObj ( )
inlinevirtual

toStyledJson convert frame information to beautiful json format

Returns

Reimplemented from IHciFrame.

Member Data Documentation

uint16_t le_create_connection_cmd::conn_interval_max
uint16_t le_create_connection_cmd::conn_interval_min
uint16_t le_create_connection_cmd::conn_latency
uint8_t le_create_connection_cmd::initiator_filter_policy
uint16_t le_create_connection_cmd::maximum_ce_length
uint16_t le_create_connection_cmd::minimum_ce_length
uint8_t le_create_connection_cmd::own_address_type
bt_address le_create_connection_cmd::peer_address
uint8_t le_create_connection_cmd::peer_address_type
uint16_t le_create_connection_cmd::scan_interval
uint16_t le_create_connection_cmd::scan_window
uint16_t le_create_connection_cmd::supervision_timeout

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