H4PacketWithH4 is an H4Packet backed by an H4 buffer.
Public Member Functions | |
H4PacketWithH4 (pw::span< uint8_t > h4_span) | |
H4PacketWithH4 (pw::span< uint8_t > h4_span, pw::Function< void(const uint8_t *buffer)> &&release_fn) | |
release_fn (if callable) will be called when H4PacketWithH4 is destructed. | |
H4PacketWithH4 (emboss::H4PacketType h4_type, pw::span< uint8_t > h4_span) | |
H4PacketWithH4 (const H4PacketWithH4 &other)=delete | |
H4PacketWithH4 & | operator= (const H4PacketWithH4 &other)=delete |
H4PacketWithH4 (H4PacketWithH4 &&other) | |
H4PacketWithH4 & | operator= (H4PacketWithH4 &&other) |
emboss::H4PacketType | GetH4Type () final |
void | SetH4Type (emboss::H4PacketType h4_type) final |
Sets HCI packet type indicator. | |
bool | HasReleaseFn () |
pw::Function< void(const uint8_t *)> | ResetAndReturnReleaseFn () |
pw::span< uint8_t > | GetHciSpan () final |
pw::span< uint8_t > | GetH4Span () |
![]() | |
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 |
![]() | |
static constexpr std::uint8_t | kH4PacketIndicatorSize = 1 |