Google is committed to advancing racial equity for Black communities. See how.

fuchsia.developer.bridge

PROTOCOLS

Daemon

Defined in fuchsia.developer.bridge/daemon.fidl

Crash

Crashes the daemon. Primarily used for testing.

Request

NameType

Response

NameType

EchoString

Returns the input.

Request

NameType
value string[256]

Response

NameType
response string[256]

GetFastboot

Gets a fastboot proxy for the given target. The target param expects an exact match with a target's nodename.

Request

NameType
target string[255]
fastboot request<Fastboot>

Response

NameType
result Daemon_GetFastboot_Result

GetRemoteControl

Gets a remote control proxy for the given target. The target param expects an exact match with a target's nodename.

Request

NameType
target string[255]
remote request<fuchsia.developer.remotecontrol/RemoteControl>

Response

NameType
result Daemon_GetRemoteControl_Result

ListTargets

Lists targets by nodename. TODO(fxbug.dev/52798): Use an iterator instead of a limited vector.

Request

NameType
value string[255]

Response

NameType
response vector<Target>[512]

Quit

Make the daemon exit.

Request

NameType

Response

NameType
success bool

Fastboot

Defined in fuchsia.developer.bridge/fastboot.fidl

Flash

Request

NameType
partition_name string[256]
path string[256]

Response

NameType
result Fastboot_Flash_Result

STRUCTS

Daemon_GetFastboot_Response

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescriptionDefault

Daemon_GetRemoteControl_Response

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescriptionDefault

Fastboot_Flash_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescriptionDefault

TargetIp

Defined in fuchsia.developer.bridge/target.fidl

NameTypeDescriptionDefault
ip fuchsia.net/IpAddress No default
scope_id uint32 No default

ENUMS

DaemonError

Type: uint32

Defined in fuchsia.developer.bridge/daemon.fidl

NameValueDescription
TARGET_CACHE_ERROR 1
TARGET_STATE_ERROR 2
RCS_CONNECTION_ERROR 3

FastbootError

Type: uint32

Defined in fuchsia.developer.bridge/fastboot.fidl

NameValueDescription
GENERIC 1

RemoteControlState

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

Current known state of the remote control

NameValueDescription
UP 1
DOWN 2
UNKNOWN 3

TargetState

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
UNKNOWN 1

TargetType

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
UNKNOWN 1

TABLES

Target

Defined in fuchsia.developer.bridge/target.fidl

OrdinalNameTypeDescription
1 nodename string[255]
2 addresses vector<TargetAddrInfo>[256]
3 age_ms uint64
4 rcs_state RemoteControlState
5 target_type TargetType
6 target_state TargetState

UNIONS

Daemon_GetFastboot_Result

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_GetFastboot_Response
err FastbootError

Daemon_GetRemoteControl_Result

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_GetRemoteControl_Response
err DaemonError

Fastboot_Flash_Result

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Flash_Response
err FastbootError

TargetAddrInfo

Defined in fuchsia.developer.bridge/target.fidl

NameTypeDescription
ip TargetIp