Pigweed
 
Loading...
Searching...
No Matches
pw::bluetooth::proxy::H4PacketWithHci Class Referencefinal

H4PacketWithHci is an H4Packet backed by an HCI buffer. More...

#include <h4_packet.h>

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

Public Member Functions

 H4PacketWithHci (emboss::H4PacketType h4_type, pw::span< uint8_t > hci_span)
 
 H4PacketWithHci (const H4PacketWithHci &other)=delete
 
 H4PacketWithHci (H4PacketWithHci &&other)=default
 
H4PacketWithHcioperator= (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
 
- Public Member Functions inherited from pw::bluetooth::proxy::H4PacketInterface
 H4PacketInterface (const H4PacketInterface &other)=delete
 
 H4PacketInterface (H4PacketInterface &&other)=default
 
H4PacketInterfaceoperator= (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

- Protected Member Functions inherited from pw::bluetooth::proxy::H4PacketInterface
H4PacketInterfaceoperator= (const H4PacketInterface &other)=default
 

Detailed Description

H4PacketWithHci is an H4Packet backed by an HCI buffer.

Member Function Documentation

◆ GetH4Type()

emboss::H4PacketType pw::bluetooth::proxy::H4PacketWithHci::GetH4Type ( )
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.

◆ GetHciSpan()

pw::span< uint8_t > pw::bluetooth::proxy::H4PacketWithHci::GetHciSpan ( )
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.

◆ SetH4Type()

void pw::bluetooth::proxy::H4PacketWithHci::SetH4Type ( emboss::H4PacketType  )
inlinefinalvirtual

Sets HCI packet type indicator.

Implements pw::bluetooth::proxy::H4PacketInterface.


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