H4PacketWithHci is an H4Packet backed by an HCI buffer. More...
#include <h4_packet.h>
Public Member Functions | |
H4PacketWithHci (emboss::H4PacketType h4_type, pw::span< uint8_t > hci_span) | |
H4PacketWithHci (const H4PacketWithHci &other)=delete | |
H4PacketWithHci (H4PacketWithHci &&other)=default | |
H4PacketWithHci & | operator= (H4PacketWithHci &&other)=default |
emboss::H4PacketType | GetH4Type () final |
void | SetH4Type (emboss::H4PacketType h4_type) final |
Sets HCI packet type indicator. | |
pw::span< uint8_t > | GetHciSpan () final |
![]() | |
H4PacketInterface (const H4PacketInterface &other)=delete | |
H4PacketInterface (H4PacketInterface &&other)=default | |
H4PacketInterface & | operator= (H4PacketInterface &&other)=default |
virtual emboss::H4PacketType | GetH4Type ()=0 |
virtual void | SetH4Type (emboss::H4PacketType)=0 |
Sets HCI packet type indicator. | |
virtual pw::span< uint8_t > | GetHciSpan ()=0 |
Additional Inherited Members | |
![]() | |
H4PacketInterface & | operator= (const H4PacketInterface &other)=default |
H4PacketWithHci is an H4Packet backed by an HCI buffer.
|
inlinefinalvirtual |
Returns HCI packet type indicator as defined in BT Core Spec Version 5.4 | Vol 4, Part A, Section 2.
Implements pw::bluetooth::proxy::H4PacketInterface.
|
inlinefinalvirtual |
Returns pw::span of HCI packet as defined in BT Core Spec Version 5.4 | Vol 4, Part E, Section 5.4.
Implements pw::bluetooth::proxy::H4PacketInterface.
|
inlinefinalvirtual |
Sets HCI packet type indicator.
Implements pw::bluetooth::proxy::H4PacketInterface.