hci-decoder
1.0
Lightweight Bluetooth HCI decoder library parsing individually HCI frames into JSON format
|
#include <hci_cmd_packet.h>
Public Member Functions | |
ctrl_bsb_write_local_name_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 | |
std::string | local_name |
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 |
|
inline |
|
inlinevirtual |
toStyledJson convert frame information to beautiful json format
Reimplemented from IHciFrame.
std::string ctrl_bsb_write_local_name_cmd::local_name |