fuchsia.bluetooth.pandora

Added: HEAD

PROTOCOLS

GrpcServerController

Defined in fuchsia.bluetooth.pandora/pandora.fidl

Controls the lifecycle of a gRPC server that implements the Pandora Bluetooth testing interfaces.

Start

Start Pandora interface gRPC server.

  • request port is the Fuchsia port on which the gRPC server will listen.
  • error Returns ALREADY_RUNNING if a gRPC server is already running.
  • error Returns FAILED if there was an internal error starting the server.

Request

NameType
payload GrpcServerControllerStartRequest

Response

NameType
payload GrpcServerController_Start_Result

Stop

Stop gRPC server if running.

Request

<EMPTY>

Response

NameType
payload GrpcServerController_Stop_Result

RootcanalClientController

Defined in fuchsia.bluetooth.pandora/pandora.fidl

Controls instances of bt-rootcanal, a tool that proxies HCI traffic between Fuchsia Bluetooth and a Rootcanal server.

Start

Start bt-rootcanal if it is not already running.

  • request ip is the IP address of the host running the Rootcanal server.
  • request port is the port on the host on which the Rootcanal server is listening.
  • error Returns ALREADY_RUNNING if bt-rootcanal is already running.
  • error Returns INVALID_IP if the IP address could not be parsed.
  • error Returns CONNECTION_FAILED if a connection to the Rootcanal server could not be established.
  • error Returns FAILED if there was an internal error starting bt-rootcanal.

Request

NameType
payload RootcanalClientControllerStartRequest

Response

NameType
payload RootcanalClientController_Start_Result

Stop

Stop bt-rootcanal if running.

Request

<EMPTY>

Response

NameType
payload RootcanalClientController_Stop_Result

STRUCTS

GrpcServerController_Start_Response

Defined in fuchsia.bluetooth.pandora/pandora.fidl

<EMPTY>

GrpcServerController_Stop_Response

Defined in fuchsia.bluetooth.pandora/pandora.fidl

<EMPTY>

RootcanalClientController_Start_Response

Defined in fuchsia.bluetooth.pandora/pandora.fidl

<EMPTY>

RootcanalClientController_Stop_Response

Defined in fuchsia.bluetooth.pandora/pandora.fidl

<EMPTY>

ENUMS

ServiceError flexible

Type: uint32

Defined in fuchsia.bluetooth.pandora/pandora.fidl

NameValueDescription
1

The requested component was already running.

2

The provided IP address could not be parsed.

3

A connection could not be established to the provided address.

4

The request failed internally.

TABLES

GrpcServerControllerStartRequest

Defined in fuchsia.bluetooth.pandora/pandora.fidl

OrdinalFieldTypeDescription
port uint16

RootcanalClientControllerStartRequest

Defined in fuchsia.bluetooth.pandora/pandora.fidl

OrdinalFieldTypeDescription
ip string:32
port uint16

UNIONS

GrpcServerController_Start_Result strict

Defined in fuchsia.bluetooth.pandora/pandora.fidl

OrdinalVariantTypeDescription
response GrpcServerController_Start_Response
err ServiceError
framework_err internal

GrpcServerController_Stop_Result strict

Defined in fuchsia.bluetooth.pandora/pandora.fidl

OrdinalVariantTypeDescription
response GrpcServerController_Stop_Response
framework_err internal

RootcanalClientController_Start_Result strict

Defined in fuchsia.bluetooth.pandora/pandora.fidl

OrdinalVariantTypeDescription
response RootcanalClientController_Start_Response
err ServiceError
framework_err internal

RootcanalClientController_Stop_Result strict

Defined in fuchsia.bluetooth.pandora/pandora.fidl

OrdinalVariantTypeDescription
response RootcanalClientController_Stop_Response
framework_err internal