template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_hardware_bluetooth::Vendor>|

and |::fidl::ServerEnd

<

::fuchsia_hardware_bluetooth::Vendor>|).

Public Methods

void GetFeatures (GetFeaturesCompleter::Sync & completer)

Returns the Vendor Features supported by this controller.

void EncodeCommand (::fuchsia_hardware_bluetooth::wire::VendorCommand * 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 WireServer ()

Defined at line 8017 of file fidling/gen/sdk/fidl/fuchsia.hardware.bluetooth/fuchsia.hardware.bluetooth/cpp/fidl/fuchsia.hardware.bluetooth/cpp/wire_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 ~WireServer ()

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