template <>
class NaturalSyncClientImpl
Defined at line 1994 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_hardware_bluetooth::Hci::OpenCommandChannel> OpenCommandChannel (::fidl::Request< ::fuchsia_hardware_bluetooth::Hci::OpenCommandChannel> request)
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.
::fidl::Result< ::fuchsia_hardware_bluetooth::Hci::OpenAclDataChannel> OpenAclDataChannel (::fidl::Request< ::fuchsia_hardware_bluetooth::Hci::OpenAclDataChannel> request)
Open the two-way HCI ACL data channel.
Returns ZX_ERR_ALREADY_BOUND if the channel is already open.
::fidl::Result< ::fuchsia_hardware_bluetooth::Hci::OpenScoDataChannel> OpenScoDataChannel (::fidl::Request< ::fuchsia_hardware_bluetooth::Hci::OpenScoDataChannel> request)
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.
::fidl::Result< ::fuchsia_hardware_bluetooth::Hci::ConfigureSco> ConfigureSco (const ::fidl::Request< ::fuchsia_hardware_bluetooth::Hci::ConfigureSco> & request)
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.
::fidl::Result< ::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.
::fidl::Result< ::fuchsia_hardware_bluetooth::Hci::OpenIsoDataChannel> OpenIsoDataChannel (::fidl::Request< ::fuchsia_hardware_bluetooth::Hci::OpenIsoDataChannel> request)
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.
::fidl::Result< ::fuchsia_hardware_bluetooth::Hci::OpenSnoopChannel> OpenSnoopChannel (::fidl::Request< ::fuchsia_hardware_bluetooth::Hci::OpenSnoopChannel> request)
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.