template <>

class WireSyncBufferClientImpl

Defined at line 6306 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_messaging.h

Public Methods

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::OpenCommandChannel> OpenCommandChannel (::zx::channel && channel)

Open the two-way HCI command channel for sending HCI commands and

receiving event packets. Returns ZX_ERR_ALREADY_BOUND if the channel

is already open.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::OpenAclDataChannel> OpenAclDataChannel (::zx::channel && channel)

Open the two-way HCI ACL data channel.

Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::OpenScoDataChannel> OpenScoDataChannel (::zx::channel && channel)

Opens a SCO channel on the provided handle. The zircon channel is

closed in the event of an error opening the hci channel or if the hci

channel is already associated with a handle to another zircon channel.

Returns ZX_ERR_NOT_SUPPORTED if SCO is not supported by the current vendor or transport

driver.

Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::ConfigureSco> ConfigureSco (::fuchsia_hardware_bluetooth::wire::ScoCodingFormat coding_format, ::fuchsia_hardware_bluetooth::wire::ScoEncoding encoding, ::fuchsia_hardware_bluetooth::wire::ScoSampleRate sample_rate)

Configure the HCI for a SCO connection with the indicated parameters.

This must be called before sending/receiving data on the SCO channel.

Returns ZX_ERR_NOT_SUPPORTED if SCO is not supported by the current vendor or transport

driver.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::ResetSco> ResetSco ()

Releases resources held by an active SCO connection. Must be called

when a SCO connection is closed.

Returns ZX_ERR_NOT_SUPPORTED if SCO is not supported by the current vendor or transport

driver.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::OpenIsoDataChannel> OpenIsoDataChannel (::zx::channel && channel)

Opens a channel on the provided handle for sending and receiving isochronous data packets.

The zircon channel is closed in the event of an error opening the hci channel or if the hci

channel is already associated with a handle to another zircon channel.

Returns ZX_ERR_NOT_SUPPORTED if ISO is not supported by the current vendor or transport

driver.

Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_hardware_bluetooth::Hci::OpenSnoopChannel> OpenSnoopChannel (::zx::channel && channel)

Open an output-only channel for monitoring HCI traffic.

The format of each message is: [1-octet flags] [n-octet payload]

The flags octet is a bitfield with the following values defined:

- 0x00: The payload represents a command packet sent from the host to the

controller.

- 0x01: The payload represents an event packet sent by the controller.

Returns ZX_ERR_ALREADY_BOUND if the channel is already open.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.