C/C++ API Reference
Loading...
Searching...
No Matches
pw::bluetooth::proxy::H4PacketWithHci Class Referencefinal

Overview

H4PacketWithHci is an H4Packet backed by an HCI buffer.

Inheritance diagram for pw::bluetooth::proxy::H4PacketWithHci:
pw::bluetooth::proxy::H4PacketInterface

Public Member Functions

 H4PacketWithHci (emboss::H4PacketType h4_type, span< uint8_t > hci_span, ReleaseFn &&release_fn=nullptr)
 
 H4PacketWithHci (span< uint8_t > h4_span, ReleaseFn &&release_fn=nullptr)
 
 H4PacketWithHci (H4PacketWithHci &&other)=default
 
H4PacketWithHcioperator= (H4PacketWithHci &&other)=default
 
- Public Member Functions inherited from pw::bluetooth::proxy::H4PacketInterface
 H4PacketInterface (span< uint8_t > buffer, size_t hci_offset, ReleaseFn &&release_fn)
 
 H4PacketInterface (const H4PacketInterface &other)=delete
 
H4PacketInterfaceoperator= (const H4PacketInterface &other)=delete
 
 H4PacketInterface (H4PacketInterface &&other)
 
H4PacketInterfaceoperator= (H4PacketInterface &&other)
 
emboss::H4PacketType GetH4Type () const
 
void SetH4Type (emboss::H4PacketType type)
 Sets HCI packet type indicator.
 
constexpr span< uint8_t > GetHciSpan ()
 
constexpr span< const uint8_t > GetHciSpan () const
 
bool HasReleaseFn ()
 
ReleaseFn ResetAndReturnReleaseFn ()
 

Additional Inherited Members

- Public Types inherited from pw::bluetooth::proxy::H4PacketInterface
using ReleaseFn = Function< void(const uint8_t *)>
 
- Protected Member Functions inherited from pw::bluetooth::proxy::H4PacketInterface
constexpr span< uint8_t > buffer ()
 
constexpr span< const uint8_t > buffer () const
 
- Static Protected Attributes inherited from pw::bluetooth::proxy::H4PacketInterface
static constexpr std::uint8_t kH4PacketIndicatorSize = 1
 

The documentation for this class was generated from the following file: