template <>

class NaturalClientImpl

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

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_hardware_bluetooth::Peer::AssignConnectionStatus> AssignConnectionStatus (const ::fidl::Request< ::fuchsia_hardware_bluetooth::Peer::AssignConnectionStatus> & request)

Assign a HCI `status` for the controller to generate in response to connection requests.

Applies to all successive HCI_Create_Connection and HCI_LE_Create_Connection commands. The

procedure is acknowledged with an empty response.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_bluetooth::Peer::WatchConnectionStates> WatchConnectionStates ()

Returns a vector of the least to most recent controller connection states.

This method returns when there has been a state change since the last invocation of this

method by this client.

Multiple calls to this method can be outstanding at a given time. All calls will resolve in

a response as soon as there is a change to the scan state.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_bluetooth::Peer::SetDeviceClass> SetDeviceClass (const ::fidl::Request< ::fuchsia_hardware_bluetooth::Peer::SetDeviceClass> & request)

Sets the device class reported in the inquiry response for this peer during device

discovery. If the peer is not BR/EDR, the server will close with the `ZX_ERR_NOT_SUPPORTED`

epitaph.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_bluetooth::Peer::SetServiceDefinitions> SetServiceDefinitions (const ::fidl::Request< ::fuchsia_hardware_bluetooth::Peer::SetServiceDefinitions> & request)

Sets the peer's services that will be discoverable via Service Discovery Protocol. If the

peer is not BR/EDR, the server will close with the `ZX_ERR_NOT_SUPPORTED` epitaph.

::fidl::internal::NaturalThenable< ::fuchsia_hardware_bluetooth::Peer::SetLeAdvertisement> SetLeAdvertisement (const ::fidl::Request< ::fuchsia_hardware_bluetooth::Peer::SetLeAdvertisement> & request)
::fit::result< ::fidl::OneWayError> EmulateLeConnectionComplete (const ::fidl::Request< ::fuchsia_hardware_bluetooth::Peer::EmulateLeConnectionComplete> & request)

Emulates a LE connection event. Does nothing if the peer is already connected. The

`role` parameter determines the link layer connection role.

::fit::result< ::fidl::OneWayError> EmulateDisconnectionComplete ()

Emulate disconnection. Does nothing if the peer is not connected.