pw_bluetooth_proxy#

Lightweight proxy for augmenting Bluetooth functionality

Unstable C++17

The pw_bluetooth_proxy module provides a lightweight proxy host that can be placed between a Bluetooth host and Bluetooth controller to add additional functionality or inspection. All without modifying the host or the controller.

An example use case could be offloading some functionality from a main host located on the application processor to instead be handled on the MCU (to reduce power usage).

The proxy acts as a proxy of all host controller interface (HCI) packets between the host and the controller.

pw::bluetooth::proxy::ProxyHost acts as the main coordinator for proxy functionality.

#include "pw_bluetooth_proxy/proxy_host.h"

  // Container creates ProxyHost .
  ProxyHost proxy = ProxyHost(std::move(container_send_to_host_fn),
                              std::move(container_send_to_controller_fn),
                              2);

  // Container passes H4 packets from host through proxy. Proxy will in turn
  // call the container-provided `container_send_to_controller_fn` to pass them
  // on to the controller. Some packets may be modified, added, or removed.
  proxy.HandleH4HciFromHost(std::move(h4_packet_from_host));

  // Container passes H4 packets from controller through proxy. Proxy will in
  // turn call the container-provided `container_send_to_host_fn` to pass them
  // on to the controller. Some packets may be modified, added, or removed.
  proxy.HandleH4HciFromController(std::move(h4_packet_from_controller));
Get Started

How to set up in your build system

API Reference

Reference information about the API

Roadmap

Upcoming plans

Code size analysis

Understand code footprint and savings potential

Get started#

  1. Add Emboss to your project as described in Emboss.

Bazel isn’t supported yet.

2. Then add $dir_pw_bluetooth_proxy to the deps list in your pw_executable() build target:

pw_executable("...") {
  # ...
  deps = [
    # ...
    "$dir_pw_bluetooth_proxy",
    # ...
  ]
}

2. Then add pw_bluetooth_proxy to the DEPS list in your cmake target:

API reference#

pw::bluetooth::proxy::ProxyHost#

class ProxyHost#

ProxyHost acts as the main coordinator for proxy functionality. After creation, the container then passes packets through the proxy.

Public Functions

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 = 0,
)#

Creates an ProxyHost that will process HCI packets.

Parameters:
  • send_to_host_fn[in] Callback that will be called when proxy wants to send HCI packet towards the host.

  • send_to_controller_fn[in] - Callback that will be called when proxy wants to send HCI packet towards the controller.

void HandleH4HciFromHost(H4PacketWithH4 &&h4_packet)#

Called by container to ask proxy to handle a H4 HCI packet sent from the host side towards the controller side. Proxy will in turn call the send_to_controller_fn provided during construction to pass the packet on to the controller. Some packets may be modified, added, or removed.

The proxy host currently does not require any from-host packets to support its current functionality. It will pass on all packets, so containers can choose to just pass all from-host packets through it.

Container is required to call this function synchronously (one packet at a time).

void HandleH4HciFromController(H4PacketWithHci &&h4_packet)#

Called by container to ask proxy to handle a H4 packet sent from the controller side towards the host side. Proxy will in turn call the send_to_host_fn provided during construction to pass the packet on to the host. Some packets may be modified, added, or removed.

To support all of its current functionality, the proxy host needs at least the following from-controller packets passed through it. It will pass on all other packets, so containers can choose to just pass all from-controller packets through the proxy host.

All packets of this type:

  • L2CAP over ACL packets (specifically those addressed to channels managed by the proxy host, including signaling packets)

HCI_Command_Complete events (7.7.14) containing return parameters for these commands:

  • HCI_LE_Read_Buffer_Size [v1] command (7.8.2)

  • HCI_LE_Read_Buffer_Size [v2] command (7.8.2)

These HCI event packets:

  • HCI_Number_Of_Completed_Packets event (7.7.19)

  • HCI_Disconnection_Complete event (7.7.5)

Container is required to call this function synchronously (one packet at a time).

void Reset()#

Called by container to notify proxy that the Bluetooth system is being reset, so the proxy can reset its internal state. Warning: Outstanding H4 packets are not invalidated upon reset. If they are destructed post-reset, packets generated post-reset are liable to be overwritten prematurely.

pw::Result<L2capCoc> AcquireL2capCoc(
uint16_t connection_handle,
L2capCoc::CocConfig rx_config,
L2capCoc::CocConfig tx_config,
pw::Function<void(pw::span<uint8_t> payload)> &&receive_fn,
pw::Function<void(L2capCoc::Event event)> &&event_fn,
)#

Returns an L2CAP connection-oriented channel that supports writing to and reading from a remote peer.

Parameters:
  • connection_handle[in] The connection handle of the remote peer.

  • rx_config[in] Parameters applying to reading packets. See l2cap_coc.h for details.

  • tx_config[in] Parameters applying to writing packets. See l2cap_coc.h for details.

  • receive_fn[in] Read callback to be invoked on Rx SDUs.

  • event_fn[in] Handle asynchronous events such as errors encountered by the channel.

Returns:

Code

Description

INVALID_ARGUMENT

If arguments are invalid (check logs). UNAVAILABLE: If channel could not be created because no memory was available to accommodate an additional ACL connection.

pw::Result<BasicL2capChannel> AcquireBasicL2capChannel(
uint16_t connection_handle,
uint16_t local_cid,
AclTransportType transport,
pw::Function<void(pw::span<uint8_t> payload)> &&payload_from_controller_fn,
)#

Returns an L2CAP channel operating in basic mode that supports writing to and reading from a remote peer.

Parameters:
  • connection_handle[in] The connection handle of the remote peer.

  • local_cid[in] L2CAP channel ID of the local endpoint.

  • transport[in] Logical link transport type.

  • payload_from_controller_fn[in] Read callback to be invoked on Rx SDUs.

Returns:

Code

Description

INVALID_ARGUMENT

If arguments are invalid (check logs). UNAVAILABLE: If channel could not be created because no memory was available to accommodate an additional ACL connection.

pw::Status SendGattNotify(uint16_t connection_handle, uint16_t attribute_handle, pw::span<const uint8_t> attribute_value)#

Send a GATT Notify to the indicated connection.

Parameters:
  • connection_handle[in] The connection handle of the peer to notify. Maximum valid connection handle is 0x0EFF.

  • attribute_handle[in] The attribute handle the notify should be sent on. Cannot be 0.

  • attribute_value[in] The data to be sent. Data will be copied before function completes.

Returns:

Code

Description

OK

If notify was successfully queued for send. UNAVAILABLE: If CHRE doesn’t have resources to queue the send at this time (transient error). INVALID_ARGUMENT: If arguments are invalid (check logs).

pw::Result<RfcommChannel> AcquireRfcommChannel(
uint16_t connection_handle,
RfcommChannel::Config rx_config,
RfcommChannel::Config tx_config,
uint8_t channel_number,
pw::Function<void(pw::span<uint8_t> payload)> &&receive_fn,
)#

Returns an RFCOMM channel that supports writing to and reading from a remote peer.

Parameters:
  • connection_handle[in] The connection handle of the remote peer.

  • rx_config[in] Parameters applying to reading packets. See rfcomm_channel.h for details.

  • tx_config[in] Parameters applying to writing packets. See rfcomm_channel.h for details.

  • channel_number[in] RFCOMM channel number to use.

  • receive_fn[in] Read callback to be invoked on Rx frames.

Returns:

Code

Description

INVALID_ARGUMENT

If arguments are invalid (check logs). UNAVAILABLE: If channel could not be created.

bool HasSendLeAclCapability() const#

Indicates whether the proxy has the capability of sending LE ACL packets. Note that this indicates intention, so it can be true even if the proxy has not yet or has been unable to reserve credits from the host.

inline bool HasSendAclCapability() const#

Deprecated:

Use HasSendLeAclCapability

bool HasSendBrEdrAclCapability() const#

Indicates whether the proxy has the capability of sending BR/EDR ACL packets. Note that this indicates intention, so it can be true even if the proxy has not yet or has been unable to reserve credits from the host.

uint16_t GetNumFreeLeAclPackets() const#

Returns the number of available LE ACL send credits for the proxy. Can be zero if the controller has not yet been initialized by the host.

uint16_t GetNumFreeBrEdrAclPackets() const#

Returns the number of available BR/EDR ACL send credits for the proxy. Can be zero if the controller has not yet been initialized by the host.

Public Static Functions

static inline constexpr size_t GetNumSimultaneousAclSendsSupported()#

Returns the max number of LE ACL sends that can be in-flight at one time. That is, ACL packets that have been sent and not yet released.

static inline constexpr size_t GetMaxAclSendSize()#

Returns the max LE ACL packet size supported to be sent.

static inline constexpr size_t GetMaxNumLeAclConnections()#

Returns the max number of simultaneous LE ACL connections supported.

Code size analysis#

Delta when constructing a proxy and just sending packets through.

Label

Segment

Delta

Create and use proxy as a simple passthrough

FLASH

DEL

-596

__aeabi_dmul

DEL

-464

__aeabi_ddiv

+30

[section .code]

DEL

-197

__aeabi_dsub

DEL

-160

__aeabi_d2f

DEL

-140

__gtdf2

DEL

-108

__floatundidf

DEL

-80

__aeabi_d2iz

DEL

-68

__extendsfdf2

+1

pw_assert_tokenized_HandleAssertFailure::_pw_tokenizer_string_entry_60_5

DEL

-44

__aeabi_dcmpun

DEL

-36

__aeabi_i2d

DEL

-32

__aeabi_cdrcmple

DEL

-32

__aeabi_ui2d

DEL

-20

__aeabi_dcmpeq

DEL

-20

__aeabi_dcmpge

DEL

-20

__aeabi_dcmpgt

DEL

-20

__aeabi_dcmple

DEL

-20

__aeabi_dcmplt

-4

p05.0

DEL

-12

main

DEL

-6

__aeabi_memclr

-2

pw_boot_PreMainInit

DEL

-2

pw_boot_PreStaticConstructorInit

NEW

+272

pw::bluetooth::proxy::L2capReadChannel::operator=()::_pw_tokenizer_string_entry_35_5

NEW

+239

pw::bluetooth::proxy::L2capAclUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_54_7

NEW

+226

pw::bluetooth::proxy::AclDataChannel::Credits::Reserve()::_pw_tokenizer_string_entry_44_5

NEW

+222

pw::bluetooth::proxy::L2capLeUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_52_7

NEW

+216

pw::bluetooth::proxy::H4Storage::ReleaseH4Buff()::_pw_tokenizer_string_entry_49_1

NEW

+215

pw::bluetooth::proxy::AclDataChannel::HandleDisconnectionCompleteEvent()::_pw_tokenizer_string_entry_350_45

NEW

+213

pw::bluetooth::proxy::AclDataChannel::Credits::Reserve()::_pw_tokenizer_string_entry_60_13

NEW

+213

pw::bluetooth::proxy::L2capCoc::Create()::_pw_tokenizer_string_entry_117_11

NEW

+211

pw::bluetooth::proxy::L2capLeUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_62_11

NEW

+208

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_160_23

NEW

+203

pw::bluetooth::proxy::AclDataChannel::HandleDisconnectionCompleteEvent()::_pw_tokenizer_string_entry_337_41

NEW

+202

pw::bluetooth::MakeEmbossView<>()

NEW

+197

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()

NEW

+192

pw::bluetooth::proxy::L2capSignalingChannel::HandleFlowControlCreditInd()::_pw_tokenizer_string_entry_88_11

NEW

+191

pw::bluetooth::proxy::L2capAclUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_41_3

NEW

+184

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_175_27

NEW

+183

pw::bluetooth::proxy::L2capLeUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_39_3

NEW

+183

pw::containers::internal::CheckIntrusiveItemIsUncontained()::_pw_tokenizer_string_entry_28_3

NEW

+182

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_201_35

NEW

+177

pw::bluetooth::proxy::L2capChannelManager::DrainWriteChannelQueues()::_pw_tokenizer_string_entry_128_13

NEW

+177

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_212_39

NEW

+174

pw::bluetooth::MakeEmbossWriter<>()

NEW

+174

pw::bluetooth::proxy::ProxyHost::HandleAclFromController()::_pw_tokenizer_string_entry_191_27

NEW

+173

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_188_31

NEW

+172

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_286_43

NEW

+172

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_300_47

NEW

+170

pw::bluetooth::emboss::GenericCommandCompleteEventView<>::Ok()

NEW

+170

pw::bluetooth::proxy::L2capSignalingChannel::HandlePduFromController()::_pw_tokenizer_string_entry_47_7

NEW

+170

pw::bluetooth::proxy::ProxyHost::CheckForActiveFragmenting()::_pw_tokenizer_string_entry_81_5

NEW

+170

pw::bluetooth::proxy::ProxyHost::HandleAclFromHost()::_pw_tokenizer_string_entry_340_55

NEW

+167

pw::containers::internal::CheckIntrusiveContainerIsEmpty()::_pw_tokenizer_string_entry_22_1

NEW

+166

pw::bluetooth::proxy::AclDataChannel::HandleNumberOfCompletedPacketsEvent()::_pw_tokenizer_string_entry_156_25

NEW

+163

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_273_39

NEW

+163

pw::bluetooth::proxy::RfcommChannel::Write()::_pw_tokenizer_string_entry_116_3

NEW

+161

pw::bluetooth::proxy::AclDataChannel::HandleDisconnectionCompleteEvent()::_pw_tokenizer_string_entry_315_37

NEW

+161

pw::bluetooth::proxy::L2capAclUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_45_5

NEW

+160

pw::bluetooth::proxy::L2capReadChannel::OnFragmentedPduReceived()::_pw_tokenizer_string_entry_52_9

NEW

+158

pw::bluetooth::proxy::L2capWriteChannel::AreValidParameters()::_pw_tokenizer_string_entry_90_7

NEW

+157

pw::bluetooth::proxy::L2capReadChannel::AreValidParameters()::_pw_tokenizer_string_entry_72_13

NEW

+157

pw::bluetooth::proxy::RfcommChannel::OnFragmentedPduReceived()::_pw_tokenizer_string_entry_282_35

NEW

+154

pw::bluetooth::proxy::AclDataChannel::HandleConnectionCompleteEvent()::_pw_tokenizer_string_entry_237_29

NEW

+154

pw::bluetooth::proxy::AclDataChannel::HandleLeConnectionCompleteEvent()::_pw_tokenizer_string_entry_253_33

NEW

+154

pw::bluetooth::proxy::L2capChannelManager::GetTxH4Packet()::_pw_tokenizer_string_entry_67_7

NEW

+154

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_146_15

NEW

+154

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_177_11

NEW

+148

pw::bluetooth::proxy::RfcommChannel::Write()::_pw_tokenizer_string_entry_93_1

NEW

+147

pw::bluetooth::proxy::ProxyHost::HandleAclFromHost()::_pw_tokenizer_string_entry_321_51

NEW

+146

pw::bluetooth::proxy::L2capCoc::AddCredits()::_pw_tokenizer_string_entry_285_43

NEW

+146

pw::bluetooth::proxy::ProxyHost::AcquireBasicL2capChannel()::_pw_tokenizer_string_entry_401_59

NEW

+146

pw::bluetooth::proxy::ProxyHost::AcquireL2capCoc()::_pw_tokenizer_string_entry_381_57

NEW

+146

pw::bluetooth::proxy::ProxyHost::HandleLeMetaEvent()::_pw_tokenizer_string_entry_223_31

NEW

+144

pw::bluetooth::proxy::L2capCoc::Write()::_pw_tokenizer_string_entry_57_3

NEW

+144

pw::bluetooth::proxy::L2capCoc::Write()::_pw_tokenizer_string_entry_67_7

NEW

+142

pw::bluetooth::proxy::AclDataChannel::Credits::MarkCompleted()::_pw_tokenizer_string_entry_78_17

NEW

+142

pw::bluetooth::proxy::GattNotifyChannel::Write()::_pw_tokenizer_string_entry_30_3

NEW

+142

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_151_19

NEW

+141

pw::bluetooth::proxy::BasicL2capChannel::HandlePduFromController()::_pw_tokenizer_string_entry_62_3

NEW

+140

pw::bluetooth::proxy::AclDataChannel::LookupCredits()::_pw_tokenizer_string_entry_105_21

NEW

+140

pw::bluetooth::proxy::AclDataChannel::LookupCredits()::_pw_tokenizer_string_entry_93_19

NEW

+140

pw::bluetooth::proxy::AclDataChannel::SendAcl()::_pw_tokenizer_string_entry_373_49

NEW

+139

pw::bluetooth::proxy::AclDataChannel::SendAcl()::_pw_tokenizer_string_entry_380_53

NEW

+139

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_258_35

NEW

+138

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_168_7

NEW

+137

pw::bluetooth::proxy::ProxyHost::CheckForFragmentedStart()::_pw_tokenizer_string_entry_102_13

NEW

+135

pw::bluetooth::proxy::ProxyHost::HandleEventFromController()::_pw_tokenizer_string_entry_127_19

NEW

+134

pw::bluetooth::proxy::AclDataChannel::Credits::Reserve()::_pw_tokenizer_string_entry_52_9

NEW

+134

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_186_15

NEW

+134

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_199_19

NEW

+133

pw::bluetooth::proxy::AclDataChannel::SendAcl()::_pw_tokenizer_string_entry_387_57

NEW

+133

pw::bluetooth::proxy::ProxyHost::CheckForActiveFragmenting()::_pw_tokenizer_string_entry_84_9

NEW

+130

pw::bluetooth::proxy::L2capWriteChannel::AreValidParameters()::_pw_tokenizer_string_entry_94_11

NEW

+129

pw::bluetooth::proxy::L2capReadChannel::AreValidParameters()::_pw_tokenizer_string_entry_76_17

NEW

+129

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_231_27

NEW

+124

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_209_23

NEW

+119

pw::bluetooth::proxy::GattNotifyChannel::Create()::_pw_tokenizer_string_entry_77_7

NEW

+118

pw::bluetooth::proxy::ProxyHost::CheckForFragmentedStart()::_pw_tokenizer_string_entry_112_15

NEW

+116

pw::bluetooth::proxy::L2capChannelManager::GetTxH4Packet()::_pw_tokenizer_string_entry_73_11

NEW

+114

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_243_31

NEW

+108

pw::bluetooth::proxy::ProxyHost::HandleLeMetaEvent()

NEW

+88

pw::bluetooth::proxy::AclDataChannel::Credits::Reserve()

NEW

+80

pw::bluetooth::proxy::ProxyHost::HandleAclFromController()::_pw_tokenizer_string_entry_171_23

NEW

+76

emboss::prelude::UIntView<>::Ok()

NEW

+68

pw::bluetooth::proxy::AclDataChannel::ProcessSpecificLEReadBufferSizeCommandCompleteEvent<>()

NEW

+66

pw::bluetooth::emboss::GenericOpCodeBitsView<>::Ok()

NEW

+62

pw::bluetooth::emboss::GenericCommandCompleteEventView<>::EmbossReservedVirtualReturnParametersSizeView::MaybeRead()

NEW

+56

pw_assert_HandleFailure::_pw_tokenizer_string_entry_35_1

NEW

+40

OUTLINED_FUNCTION_0

NEW

+40

fit::internal::target<>::ops

NEW

+37

pw::bluetooth::proxy::AclDataChannel::Credits::MarkCompleted()::_pw_tokenizer_string_entry_78_15

NEW

+37

pw::bluetooth::proxy::AclDataChannel::Credits::Reserve()::_pw_tokenizer_string_entry_60_11

NEW

+37

pw::bluetooth::proxy::AclDataChannel::HandleConnectionCompleteEvent()::_pw_tokenizer_string_entry_237_27

NEW

+37

pw::bluetooth::proxy::AclDataChannel::HandleDisconnectionCompleteEvent()::_pw_tokenizer_string_entry_315_35

NEW

+37

pw::bluetooth::proxy::AclDataChannel::HandleDisconnectionCompleteEvent()::_pw_tokenizer_string_entry_337_39

NEW

+37

pw::bluetooth::proxy::AclDataChannel::HandleDisconnectionCompleteEvent()::_pw_tokenizer_string_entry_350_43

NEW

+37

pw::bluetooth::proxy::AclDataChannel::HandleLeConnectionCompleteEvent()::_pw_tokenizer_string_entry_253_31

NEW

+37

pw::bluetooth::proxy::AclDataChannel::HandleNumberOfCompletedPacketsEvent()::_pw_tokenizer_string_entry_156_23

NEW

+37

pw::bluetooth::proxy::AclDataChannel::SendAcl()::_pw_tokenizer_string_entry_373_47

NEW

+37

pw::bluetooth::proxy::AclDataChannel::SendAcl()::_pw_tokenizer_string_entry_380_51

NEW

+37

pw::bluetooth::proxy::AclDataChannel::SendAcl()::_pw_tokenizer_string_entry_387_55

NEW

+37

pw::bluetooth::proxy::BasicL2capChannel::HandlePduFromController()::_pw_tokenizer_string_entry_62_1

NEW

+37

pw::bluetooth::proxy::GattNotifyChannel::Create()::_pw_tokenizer_string_entry_77_5

NEW

+37

pw::bluetooth::proxy::GattNotifyChannel::Write()::_pw_tokenizer_string_entry_30_1

NEW

+37

pw::bluetooth::proxy::L2capAclUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_41_1

NEW

+37

pw::bluetooth::proxy::L2capChannelManager::GetTxH4Packet()::_pw_tokenizer_string_entry_67_5

NEW

+37

pw::bluetooth::proxy::L2capChannelManager::GetTxH4Packet()::_pw_tokenizer_string_entry_73_9

NEW

+37

pw::bluetooth::proxy::L2capCoc::AddCredits()::_pw_tokenizer_string_entry_285_41

NEW

+37

pw::bluetooth::proxy::L2capCoc::Create()::_pw_tokenizer_string_entry_117_9

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_146_13

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_151_17

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_160_21

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_175_25

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_188_29

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_201_33

NEW

+37

pw::bluetooth::proxy::L2capCoc::HandlePduFromController()::_pw_tokenizer_string_entry_212_37

NEW

+37

pw::bluetooth::proxy::L2capCoc::Write()::_pw_tokenizer_string_entry_57_1

NEW

+37

pw::bluetooth::proxy::L2capCoc::Write()::_pw_tokenizer_string_entry_67_5

NEW

+37

pw::bluetooth::proxy::L2capLeUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_39_1

NEW

+37

pw::bluetooth::proxy::L2capLeUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_52_5

NEW

+37

pw::bluetooth::proxy::L2capLeUSignalingChannel::OnCFramePayload()::_pw_tokenizer_string_entry_62_9

NEW

+37

pw::bluetooth::proxy::L2capReadChannel::AreValidParameters()::_pw_tokenizer_string_entry_72_11

NEW

+37

pw::bluetooth::proxy::L2capReadChannel::AreValidParameters()::_pw_tokenizer_string_entry_76_15

NEW

+37

pw::bluetooth::proxy::L2capReadChannel::OnFragmentedPduReceived()::_pw_tokenizer_string_entry_52_7

NEW

+37

pw::bluetooth::proxy::L2capSignalingChannel::HandleFlowControlCreditInd()::_pw_tokenizer_string_entry_88_9

NEW

+37

pw::bluetooth::proxy::L2capSignalingChannel::HandlePduFromController()::_pw_tokenizer_string_entry_47_5

NEW

+37

pw::bluetooth::proxy::L2capWriteChannel::AreValidParameters()::_pw_tokenizer_string_entry_90_5

NEW

+37

pw::bluetooth::proxy::L2capWriteChannel::AreValidParameters()::_pw_tokenizer_string_entry_94_9

NEW

+37

pw::bluetooth::proxy::ProxyHost::CheckForActiveFragmenting()::_pw_tokenizer_string_entry_84_7

NEW

+37

pw::bluetooth::proxy::ProxyHost::CheckForFragmentedStart()::_pw_tokenizer_string_entry_102_11

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleAclFromController()::_pw_tokenizer_string_entry_191_25

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleAclFromHost()::_pw_tokenizer_string_entry_321_49

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleAclFromHost()::_pw_tokenizer_string_entry_340_53

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_258_33

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_273_37

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_286_41

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleCommandCompleteEvent()::_pw_tokenizer_string_entry_300_45

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleEventFromController()::_pw_tokenizer_string_entry_127_17

NEW

+37

pw::bluetooth::proxy::ProxyHost::HandleLeMetaEvent()::_pw_tokenizer_string_entry_223_29

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_168_5

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_177_9

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_186_13

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_199_17

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_209_21

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_231_25

NEW

+37

pw::bluetooth::proxy::RfcommChannel::HandlePduFromController()::_pw_tokenizer_string_entry_243_29

NEW

+37

pw::bluetooth::proxy::RfcommChannel::OnFragmentedPduReceived()::_pw_tokenizer_string_entry_282_33

NEW

+34

OUTLINED_FUNCTION_1

NEW

+32

pw::bluetooth::proxy::L2capAclUSignalingChannel

NEW

+32

pw::bluetooth::proxy::L2capLeUSignalingChannel

NEW

+32

pw::bluetooth::proxy::L2capSignalingChannel

NEW

+28

pw::bluetooth::proxy::BasicL2capChannel

NEW

+28

pw::bluetooth::proxy::H4PacketWithH4

NEW

+28

pw::bluetooth::proxy::H4PacketWithHci

NEW

+28

pw::bluetooth::proxy::L2capReadChannel

NEW

+28

pw::containers::internal::GenericIntrusiveList<>::~GenericIntrusiveList()

NEW

+24

OUTLINED_FUNCTION_5

NEW

+24

pw::bluetooth::emboss::GenericLEReadBufferSizeV1CommandCompleteEventView<>::total_num_le_acl_data_packets()

NEW

+24

pw_assert_tokenized_HandleCheckFailure

NEW

+20

__cxa_pure_virtual

NEW

+20

fit::internal::null_target<>::ops

NEW

+20

pw::containers::internal::CheckIntrusiveContainerIsEmpty()

NEW

+20

pw::containers::internal::CheckIntrusiveItemIsUncontained()

NEW

+20

write

NEW

+18

OUTLINED_FUNCTION_4

NEW

+18

pw::bluetooth::proxy::AclDataChannel::Reset()

NEW

+16

OUTLINED_FUNCTION_2

NEW

+16

OUTLINED_FUNCTION_6

NEW

+16

free

NEW

+16

pw::bluetooth::emboss::GenericCommandCompleteEventView<>::EmbossReservedVirtualReturnParametersSizeView::Ok()

NEW

+16

std::get_terminate()

NEW

+14

OUTLINED_FUNCTION_3

NEW

+14

emboss::prelude::UIntView<>::Read()

NEW

+14

emboss::prelude::UIntView<>::Write<>()

NEW

+12

pw::bluetooth::emboss::GenericOpCodeBitsView<>::ocf()

NEW

+12

pw::bluetooth::emboss::GenericOpCodeBitsView<>::ogf()

NEW

+10

OUTLINED_FUNCTION_10

NEW

+10

OUTLINED_FUNCTION_11

NEW

+10

pw::bluetooth::proxy::H4PacketWithHci::GetHciSpan()

NEW

+10

std::terminate()

NEW

+8

__cxxabiv1::__terminate()

NEW

+8

operator delete()

NEW

+6

OUTLINED_FUNCTION_7

NEW

+6

OUTLINED_FUNCTION_8

NEW

+6

OUTLINED_FUNCTION_9

NEW

+6

__aeabi_memclr4

NEW

+6

fit::internal::inline_trivial_target_move<>()

NEW

+6

pw::bluetooth::proxy::H4PacketWithHci::~H4PacketWithHci()

NEW

+4

pw::bluetooth::proxy::H4PacketWithHci::GetH4Type()

NEW

+4

pw::bluetooth::proxy::H4PacketWithHci::SetH4Type()

NEW

+2

fit::internal::target<>::invoke()

NEW

+2

pw::span<>::operator[]()

+14,192

Roadmap#

  • ACL flow control

  • Sending GATT notifications

  • CMake support

  • Receiving GATT notifications

  • Taking ownership of a L2CAP channel

  • Bazel support

  • And more…