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
Name | Type |
---|---|
payload |
GrpcServerControllerStartRequest
|
Response
Name | Type |
---|---|
payload |
GrpcServerController_Start_Result
|
Stop
Stop gRPC server if running.
Request
<EMPTY>
Response
Name | Type |
---|---|
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
Name | Type |
---|---|
payload |
RootcanalClientControllerStartRequest
|
Response
Name | Type |
---|---|
payload |
RootcanalClientController_Start_Result
|
Stop
Stop bt-rootcanal if running.
Request
<EMPTY>
Response
Name | Type |
---|---|
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
Name | Value | Description |
---|---|---|
ALREADY_RUNNING |
1 |
The requested component was already running. |
INVALID_IP |
2 |
The provided IP address could not be parsed. |
CONNECTION_FAILED |
3 |
A connection could not be established to the provided address. |
FAILED |
4 |
The request failed internally. |
TABLES
GrpcServerControllerStartRequest
Defined in fuchsia.bluetooth.pandora/pandora.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
port |
uint16
|
RootcanalClientControllerStartRequest
Defined in fuchsia.bluetooth.pandora/pandora.fidl
Ordinal | Field | Type | Description |
---|---|---|---|
1 |
ip |
string:32
|
|
2 |
port |
uint16
|
UNIONS
GrpcServerController_Start_Result strict
Defined in fuchsia.bluetooth.pandora/pandora.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
GrpcServerController_Start_Response
|
|
2 |
err |
ServiceError
|
|
3 |
framework_err |
internal
|
GrpcServerController_Stop_Result strict
Defined in fuchsia.bluetooth.pandora/pandora.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
GrpcServerController_Stop_Response
|
|
3 |
framework_err |
internal
|
RootcanalClientController_Start_Result strict
Defined in fuchsia.bluetooth.pandora/pandora.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
RootcanalClientController_Start_Response
|
|
2 |
err |
ServiceError
|
|
3 |
framework_err |
internal
|
RootcanalClientController_Stop_Result strict
Defined in fuchsia.bluetooth.pandora/pandora.fidl
Ordinal | Variant | Type | Description |
---|---|---|---|
1 |
response |
RootcanalClientController_Stop_Response
|
|
3 |
framework_err |
internal
|