template <>

class Server

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

Public Methods

void GetFeatures (GetFeaturesCompleter::Sync & completer)

Returns the Vendor Features supported by this controller.

void EncodeCommand (EncodeCommandRequest & request, EncodeCommandCompleter::Sync & completer)

Encode the vendor HCI command and return the encoded command.

See `VendorCommand` for possible commands and parameters.

* error `ZX_ERR_NOT_SUPPORTED` The command is not supported.

* error `ZX_ERR_INVALID_ARGS` The parameters of the command are invalid.

void OpenHci (OpenHciCompleter::Sync & completer)

Deprecated.

Open the HCI protocol to the controller. This call may block until the

controller has been initialized.

Returns ALREADY_BOUND if another client has already connected.

void OpenHciTransport (OpenHciTransportCompleter::Sync & completer)

Open the HciTransport protocol to the controller. This call may block until the

controller has been initialized.

Returns ALREADY_BOUND if another client has already connected.

void OpenSnoop (OpenSnoopCompleter::Sync & completer)

Open the Snoop protocol to the transport driver.

Returns ALREADY_BOUND if another client has already connected.

void Server ()

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

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~Server ()

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