ProxyHost
acts as the main coordinator for proxy functionality. After creation, the container then passes packets through the proxy.
|
| ProxyHost (pw::Function< void(H4PacketWithHci &&packet)> &&send_to_host_fn, pw::Function< void(H4PacketWithH4 &&packet)> &&send_to_controller_fn, uint16_t le_acl_credits_to_reserve, uint16_t br_edr_acl_credits_to_reserve) |
|
| ProxyHost (const ProxyHost &)=delete |
|
ProxyHost & | operator= (const ProxyHost &)=delete |
|
| ProxyHost (ProxyHost &&)=delete |
|
ProxyHost & | operator= (ProxyHost &&)=delete |
|
| ~ProxyHost () |
|
void | HandleH4HciFromHost (H4PacketWithH4 &&h4_packet) |
|
void | HandleH4HciFromController (H4PacketWithHci &&h4_packet) |
|
void | Reset () |
|
void | RegisterL2capStatusDelegate (L2capStatusDelegate &delegate) |
|
void | UnregisterL2capStatusDelegate (L2capStatusDelegate &delegate) |
|
pw::Result< L2capCoc > | AcquireL2capCoc (pw::multibuf::MultiBufAllocator &rx_multibuf_allocator, uint16_t connection_handle, L2capCoc::CocConfig rx_config, L2capCoc::CocConfig tx_config, Function< void(multibuf::MultiBuf &&payload)> &&receive_fn, ChannelEventCallback &&event_fn) |
|
pw::Status | SendAdditionalRxCredits (uint16_t connection_handle, uint16_t local_cid, uint16_t additional_rx_credits) |
|
pw::Result< BasicL2capChannel > | AcquireBasicL2capChannel (multibuf::MultiBufAllocator &rx_multibuf_allocator, uint16_t connection_handle, uint16_t local_cid, uint16_t remote_cid, AclTransportType transport, OptionalPayloadReceiveCallback &&payload_from_controller_fn, OptionalPayloadReceiveCallback &&payload_from_host_fn, ChannelEventCallback &&event_fn) |
|
pw::Result< GattNotifyChannel > | AcquireGattNotifyChannel (int16_t connection_handle, uint16_t attribute_handle, ChannelEventCallback &&event_fn) |
|
pw::Result< RfcommChannel > | AcquireRfcommChannel (multibuf::MultiBufAllocator &rx_multibuf_allocator, uint16_t connection_handle, RfcommChannel::Config rx_config, RfcommChannel::Config tx_config, uint8_t channel_number, Function< void(multibuf::MultiBuf &&payload)> &&payload_from_controller_fn, ChannelEventCallback &&event_fn) |
|
bool | HasSendLeAclCapability () const |
|
bool | HasSendBrEdrAclCapability () const |
|
uint16_t | GetNumFreeLeAclPackets () const |
|
uint16_t | GetNumFreeBrEdrAclPackets () const |
|