H4PacketWithH4 is an H4Packet backed by an H4 buffer.
Public Types | |
| using | ReleaseFn = Function< void(const uint8_t *)> |
Public Member Functions | |
| H4PacketWithH4 (pw::span< uint8_t > h4_span) | |
| H4PacketWithH4 (pw::span< uint8_t > h4_span, ReleaseFn &&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 () const final |
| void | SetH4Type (emboss::H4PacketType h4_type) final |
| Sets HCI packet type indicator. | |
| bool | HasReleaseFn () |
| ReleaseFn | ResetAndReturnReleaseFn () |
| pw::span< uint8_t > | GetH4Span () |
Public Member Functions inherited from pw::bluetooth::proxy::H4PacketInterface | |
| H4PacketInterface (const H4PacketInterface &other)=delete | |
| H4PacketInterface (H4PacketInterface &&other)=default | |
| H4PacketInterface & | operator= (H4PacketInterface &&other)=default |
| virtual emboss::H4PacketType | GetH4Type () const =0 |
| virtual void | SetH4Type (emboss::H4PacketType)=0 |
| Sets HCI packet type indicator. | |
| pw::span< uint8_t > | GetHciSpan () |
| pw::span< const uint8_t > | GetHciSpan () const |
Additional Inherited Members | |
Protected Member Functions inherited from pw::bluetooth::proxy::H4PacketInterface | |
| H4PacketInterface & | operator= (const H4PacketInterface &other)=default |
Static Protected Attributes inherited from pw::bluetooth::proxy::H4PacketInterface | |
| static constexpr std::uint8_t | kH4PacketIndicatorSize = 1 |