H4PacketInterface is an abstract interface for an H4 HCI packet.
Concrete subclasses are used directly in code so their functions will be properly inlined. This abstract superclass just ensures a common interface across the concrete subclasses
Public Member Functions | |
| 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 |
Protected Member Functions | |
| H4PacketInterface & | operator= (const H4PacketInterface &other)=default |
Static Protected Attributes | |
| static constexpr std::uint8_t | kH4PacketIndicatorSize = 1 |