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

fuchsia.developer.bridge

PROTOCOLS

Daemon

Defined in fuchsia.developer.bridge/daemon.fidl

AddTarget

Manually add a target that cannot be discovered via MDNS.

DEPRECATED - Use target collection service. See `target add` plugin.

Request

NameType
ip TargetAddrInfo

Response

NameType
result Daemon_AddTarget_Result

ConnectToService

Connects to a deamon service.

Takes a service name under which the channel will be connected (the caller is intended to know the type of the channel a priori).

Developers are not intended to use this directly. Instead this should be invoked automatically through the FFX plugin/service framework.

Again for emphasis: if you are a developer and you are invoking this function directly, you should reconsider your actions.

Request

NameType
name string[255]
server_channel handle<channel>

Response

NameType
result Daemon_ConnectToService_Result

Crash

Crashes the daemon. Primarily used for testing.

Request

<EMPTY>

Response

<EMPTY>

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.

If the target nodename is not included, this will return the fastboot control instance for the target iff there is only one target in the cache, else will return an error. If there are no targets in the cache, will wait until the client chooses to time out.

Request

NameType
target string[255]?
fastboot request<Fastboot>

Response

NameType
result Daemon_GetFastboot_Result

GetHash

Request

<EMPTY>

Response

NameType
response string[64]

GetRemoteControl

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

If the target nodename is not included, this will return the remote control instance for the target iff there is only one target in the cache, else will return an error. If there are no targets in the cache, will wait until the client chooses to time out.

DEPRECATED - Use target_collection_service -> open_target -> open_remote_control instead

Request

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

Response

NameType
result Daemon_GetRemoteControl_Result

GetSshAddress

Attempts to get the SSH address for a given target.

Waits for: 1.) A target of the given nodename to appear (if it hasn't already). 2.) For the target to have an SSH-friendly address.

Returns:

  • First address found for the target that satisfies step 2.

Errors:

  • Timeout error if steps 1 and 2 don't happen in time.
  • Cache error if a target has appeared but suddenly disappears before running the function to completion.

DEPRECATED - Use target collection service. See get-ssh-address plugin.

Request

NameType
target string[255]?
timeout zx/duration

Response

NameType
result Daemon_GetSshAddress_Result

GetTarget

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

If the target nodename is not included, this will return the target control instance for the target iff there is only one target in the cache, else will return an error. If there are no targets in the cache, will wait until the client chooses to time out.

Request

NameType
target string[255]?
target_controller request<TargetControl>

Response

NameType
result Daemon_GetTarget_Result

GetVersionInfo

Request

<EMPTY>

Response

NameType
info VersionInfo

Hang

Hang the daemon. Primarily used for testing.

Request

<EMPTY>

Response

<EMPTY>

ListTargets

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

DEPRECATED - Use target collection service. See `target list` plugin.

Request

NameType
value string[255]

Response

NameType
response vector<Target>[512]

Quit

Make the daemon exit.

Request

<EMPTY>

Response

NameType
success bool

RemoveTarget

Manually remove a target from the target list.

If target_id doesn't match a device name, the daemon will try to interpret it as an IP.

DEPRECATED - Use target collection service. See `target remove` plugin.

Request

NameType
target_id string[255]

Response

NameType
result Daemon_RemoveTarget_Result

StreamDiagnostics

Creates an iterator over diagnostics data. At present, this means cached log data.

Note that there is some duplication in this API and the StreamDiagnostics API in RCS. This is because the surface for the daemon API needs to be slightly different:

  1. It needs to accomodate specifying a target.
  2. The error surface is accordingly slightly different.
  3. The parameters surface is currently different (SNAPSHOT_RECENT_THEN_SUBSCRIBE has no meaning in the diagnostics bridge) and have different evolution paths - for example, the daemon may eventually support multi-target log streaming.

If the target field is a nodename or log session identifier (e.g. "ffx_daemon"), then cached logs will be returned for that target even if the target is currently offline.

Request

NameType
target string[255]?
parameters DaemonDiagnosticsStreamParameters
iterator request<fuchsia.developer.remotecontrol/ArchiveIterator>

Response

NameType
result Daemon_StreamDiagnostics_Result

Echo

Defined in fuchsia.developer.bridge/echo.fidl

EchoString

Returns the input.

Request

NameType
value string[255]

Response

NameType
response string[255]

Fastboot

Defined in fuchsia.developer.bridge/fastboot.fidl

ContinueBoot

Request

<EMPTY>

Response

NameType
result Fastboot_ContinueBoot_Result

Erase

Request

NameType
partition_name string[64]

Response

NameType
result Fastboot_Erase_Result

Flash

Request

NameType
partition_name string[64]
path string[256]
listener UploadProgressListener

Response

NameType
result Fastboot_Flash_Result

GetVar

Request

NameType
name string[64]

Response

NameType
result Fastboot_GetVar_Result

Oem

Request

NameType
command string[64]

Response

NameType
result Fastboot_Oem_Result

Prepare

Request

NameType
listener RebootListener

Response

NameType
result Fastboot_Prepare_Result

Reboot

Request

<EMPTY>

Response

NameType
result Fastboot_Reboot_Result

RebootBootloader

Request

NameType
listener RebootListener

Response

NameType
result Fastboot_RebootBootloader_Result

SetActive

Request

NameType
slot string[64]

Response

NameType
result Fastboot_SetActive_Result

Stage

Request

NameType
path string[256]
listener UploadProgressListener

Response

NameType
result Fastboot_Stage_Result

Mdns

Defined in fuchsia.developer.bridge/mdns.fidl

GetNextEvent

Gets the next event from the protocol. There is only ever meant to be one event ready at a time on the service side, so it is important that the client call this frequently.

Request

<EMPTY>

Response

NameType
event MdnsEventType?

GetTargets

Gets full cache of targets. It is advised to call this before GetNextEvent().

Request

<EMPTY>

Response

NameType
targets vector<Target>[512]

PackageEntryIterator

Defined in fuchsia.developer.bridge/repo.fidl

Next

Request

<EMPTY>

Response

NameType
entries vector<PackageEntry>

RebootListener

Defined in fuchsia.developer.bridge/fastboot.fidl

Callback event listener for when the device reboots to the bootloader.

OnReboot

Request

<EMPTY>

RepositoryIterator

Defined in fuchsia.developer.bridge/repo.fidl

Next

Request

<EMPTY>

Response

NameType
repos vector<RepositoryConfig>[512]

RepositoryPackagesIterator

Defined in fuchsia.developer.bridge/repo.fidl

Next

Request

<EMPTY>

Response

NameType
packages vector<RepositoryPackage>

RepositoryRegistry

Defined in fuchsia.developer.bridge/repo.fidl

AddRepository

Add a repository named name that has the following [RepositorySpec].

Request

NameType
name string[255]
repository RepositorySpec

Response

NameType
result RepositoryRegistry_AddRepository_Result

DeregisterTarget

Deregisters a repository from a target.

repo_name: The configured name of the repository. target_identifier: The target from which to deregister this repository.

Request

NameType
repository_name string[255]
target_identifier string[255]?

Response

NameType
result RepositoryRegistry_DeregisterTarget_Result

ListPackages

List the packages in the repository named name.

Request

NameType
name string[255]
iterator request<RepositoryPackagesIterator>
include_fields ListFields

Response

NameType
result RepositoryRegistry_ListPackages_Result

ListRegisteredTargets

Get a list associating repositories with the targets they have been registered to.

Request

NameType
iterator request<RepositoryTargetsIterator>

ListRepositories

Request

NameType
iterator request<RepositoryIterator>

RegisterTarget

Registers a repository on a target.

target_info: Metadata describing the repository registration.

Request

NameType
target_info RepositoryTarget

Response

NameType
result RepositoryRegistry_RegisterTarget_Result

RemoveRepository

Returns true if the repository was removed, or false if there is no repository named name.

Request

NameType
name string[255]

Response

NameType
found bool

ShowPackage

List the components in the package named package_name from a repo named repository_name .

Request

NameType
repository_name string[255]
package_name string[255]
iterator request<PackageEntryIterator>

Response

NameType
result RepositoryRegistry_ShowPackage_Result

RepositoryTargetsIterator

Defined in fuchsia.developer.bridge/repo.fidl

Next

Request

<EMPTY>

Response

NameType
registrations vector<RepositoryTarget>

TargetCollection

Defined in fuchsia.developer.bridge/target.fidl

A protocol defining a collection of Fuchsia targets. This is used to inspect and interact with fuchsia targets that the daemon has discovered.

AddTarget

Manually adds a target that cannot be discovered via mDNS.

Request

NameType
ip TargetAddrInfo

Response

<EMPTY>

ListTargets

Request

NameType
query string[255]?
iterator request<TargetCollectionIterator>

Response

<EMPTY>

OpenTarget

Opens a target handle given the query matches exactly one target. If a target does not yet exist in the cache that matches the query, then this will hang until one is found. It is the caller's responsibility to time out if this call takes too long.

Request

NameType
query string[255]?
target_handle request<TargetHandle>

Response

NameType
result TargetCollection_OpenTarget_Result

RemoveTarget

Manually remove a target from the target list.

If the target_id doesn't match a device name, the daaemon will attempt to interpret it as an IP.

Request

NameType
target_id string[255]

Response

NameType
removed bool

TargetCollectionIterator

Defined in fuchsia.developer.bridge/target.fidl

GetNext

Request

<EMPTY>

Response

NameType
entry vector<Target>

TargetControl

Defined in fuchsia.developer.bridge/target.fidl

Reboot

Request

NameType
state TargetRebootState

Response

NameType
result TargetControl_Reboot_Result

TargetHandle

Defined in fuchsia.developer.bridge/target.fidl

This is a handle to a target received from the target collection. Not to be confused with the TargetControl protocol. This is exclusively for use with the target collection service.

GetSshAddress

Waits for an SSH address to become available on the target.

Returns:

  • The first cached address viable for SSH. If there isn't one, will wait until there is. It is the client's responsibility to handle potential timeouts.

Request

<EMPTY>

Response

NameType
address TargetAddrInfo

OpenFastboot

Opens a Fastboot controller for a given target.

Returns:

  • Nothing on success.

Request

NameType
fastboot request<Fastboot>

Response

<EMPTY>

OpenRemoteControl

Opens a connection to the RemoteControlService for a given target. If the target is not in a state that allows opening up the remote control, will wait until it is. It is the client's responsibilty to handle potential timeouts here otherwise it will wait indefinitely.

Returns:

  • Nothing on success.

Request

NameType
remote_control request<fuchsia.developer.remotecontrol/RemoteControl>

Response

<EMPTY>

Tracing

Defined in fuchsia.developer.bridge/tracing.fidl

StartRecording

Starts a trace recording. If the target behind the query is already running a trace, or some trace is actively writing to the output file, this will

Request

NameType
target_query string[255]?
output_file string[255]
options TraceOptions
target_config fuchsia.tracing.controller/TraceConfig

Response

NameType
result Tracing_StartRecording_Result

StopRecording

Stops the trace recording, flushing the remaining contents to the output file.

Request

NameType
output_file string[255]

Response

NameType
result Tracing_StopRecording_Result

UploadProgressListener

Defined in fuchsia.developer.bridge/fastboot.fidl

Callback event listener for upload progress.

OnError

Request

NameType
error string

OnFinished

Request

<EMPTY>

OnProgress

Request

NameType
bytes_written uint64

OnStarted

Request

NameType
size uint64

STRUCTS

Daemon_AddTarget_Response

Defined in fuchsia.developer.bridge/daemon.fidl

<EMPTY>

Daemon_ConnectToService_Response

Defined in fuchsia.developer.bridge/daemon.fidl

<EMPTY>

Daemon_GetFastboot_Response

Defined in fuchsia.developer.bridge/daemon.fidl

<EMPTY>

Daemon_GetRemoteControl_Response

Defined in fuchsia.developer.bridge/daemon.fidl

<EMPTY>

Daemon_GetSshAddress_Response

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescriptionDefault
ip TargetAddrInfo No default

Daemon_GetTarget_Response

Defined in fuchsia.developer.bridge/daemon.fidl

<EMPTY>

Daemon_RemoveTarget_Response

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescriptionDefault
removed bool No default

Daemon_StreamDiagnostics_Response

Defined in fuchsia.developer.bridge/daemon.fidl

<EMPTY>

Fastboot_ContinueBoot_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_Erase_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_Flash_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_GetVar_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescriptionDefault
value string[64] No default

Fastboot_Oem_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_Prepare_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_RebootBootloader_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_Reboot_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_SetActive_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

Fastboot_Stage_Response

Defined in fuchsia.developer.bridge/fastboot.fidl

<EMPTY>

RepositoryConfig

Defined in fuchsia.developer.bridge/repo.fidl

NameTypeDescriptionDefault
name string[255] No default
spec RepositorySpec No default

RepositoryRegistry_AddRepository_Response

Defined in fuchsia.developer.bridge/repo.fidl

<EMPTY>

RepositoryRegistry_DeregisterTarget_Response

Defined in fuchsia.developer.bridge/repo.fidl

<EMPTY>

RepositoryRegistry_ListPackages_Response

Defined in fuchsia.developer.bridge/repo.fidl

<EMPTY>

RepositoryRegistry_RegisterTarget_Response

Defined in fuchsia.developer.bridge/repo.fidl

<EMPTY>

RepositoryRegistry_ShowPackage_Response

Defined in fuchsia.developer.bridge/repo.fidl

<EMPTY>

TargetCollection_OpenTarget_Response

Defined in fuchsia.developer.bridge/target.fidl

<EMPTY>

TargetControl_Reboot_Response

Defined in fuchsia.developer.bridge/target.fidl

<EMPTY>

TargetIp

Defined in fuchsia.developer.bridge/target.fidl

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

TargetIpPort

Defined in fuchsia.developer.bridge/target.fidl

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

Tracing_StartRecording_Response

Defined in fuchsia.developer.bridge/tracing.fidl

<EMPTY>

Tracing_StopRecording_Response

Defined in fuchsia.developer.bridge/tracing.fidl

<EMPTY>

ENUMS

DaemonError strict

Type: uint32

Defined in fuchsia.developer.bridge/daemon.fidl

NameValueDescription
TARGET_CACHE_ERROR 1
TARGET_STATE_ERROR 2
RCS_CONNECTION_ERROR 3
TIMEOUT 4

A generic timeout error.

TARGET_CACHE_EMPTY 5

When querying for a target, the cache was empty.

TARGET_AMBIGUOUS 6

When querying for a target (specified or not), there were too many matches to be clear on which target was the intent of the query.

TARGET_NOT_FOUND 7

When querying for a target, no matches were found.

TARGET_IN_FASTBOOT 8

When attempting to connect to RCS on a Fastboot device.

NON_FASTBOOT_DEVICE 9

Fastboot device expected.

SERVICE_NOT_FOUND 10

When attempting to connect to a service that does not exist on the daemon.

SERVICE_OPEN_ERROR 11

An error was encountered when attempting to open a service stream.

BAD_SERVICE_REGISTER_STATE 12

An error encountered when the daemon's service register is in a bad state internally. This is primarily caused by trying to open a service while the daaemon is actively shutting down, and should be extremely rare.

TARGET_IN_ZEDBOOT 13

When attempting to connect to RCS on a Fastboot device.

DiagnosticsStreamError strict

Type: uint32

Defined in fuchsia.developer.bridge/diagnostics.fidl

NameValueDescription
GENERIC_ERROR 1
MISSING_PARAMETER 2
TARGET_MATCH_FAILED 3
NO_MATCHING_TARGETS 4
NO_STREAM_FOR_TARGET 5
NO_MATCHING_OFFLINE_TARGETS 6

FastbootError strict

Type: uint32

Defined in fuchsia.developer.bridge/fastboot.fidl

NameValueDescription
PROTOCOL_ERROR 1
COMMUNICATION_ERROR 2
REDISCOVERED_ERROR 3
TARGET_ERROR 4

DEPRECATED

NON_FASTBOOT_DEVICE 5

DEPRECATED

REBOOT_FAILED 6

OpenTargetError strict

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
QUERY_AMBIGUOUS 1

When querying for a target, an ambiguous query was received (one that matched multiple targets).

TARGET_NOT_FOUND 2

No targets were able to match the query after waiting.

RecordingError strict

Type: uint32

Defined in fuchsia.developer.bridge/tracing.fidl

This covers erorr from using the Tracing protocol below (specifically trace recording errors).

NameValueDescription
TARGET_PROXY_OPEN 0

Error encountered when opening the proxy to the target.

RECORDING_START 1

This is a general error when starting a trace.

RECORDING_ALREADY_STARTED 2

An error encountered if a trace recording has already been started.

RECORDING_STOP 3

An error encountered when attempting to stop a trace. This causes an immediate termination of the client channel, so the user should not attempt to run StopRecording again.

RemoteControlState strict

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

Current known state of the remote control

NameValueDescription
UP 1
DOWN 2
UNKNOWN 3

RepositoryError strict

Type: uint32

Defined in fuchsia.developer.bridge/repo.fidl

NameValueDescription
MISSING_REPOSITORY_NAME 1

Repository "name" is missing in an API where it is required.

NO_MATCHING_REPOSITORY 2

No repository matches the provided name.

TARGET_COMMUNICATION_FAILURE 3

There was an error communicating with the target. This may mean that the target does not exist, is down or unreachable, or that there was an error communicating with a proxy on target. TODO(fxbug.dev/77904) make this more specific when we have more specific errors from the underlying API.

REPOSITORY_MANAGER_ERROR 4

There was an error from the fuchsia.pkg.RepositoryRegistry.

REWRITE_ENGINE_ERROR 5

There was a error from fuchsia.pkg.rewrite.Engine.

UNKNOWN_REPOSITORY_SPEC 6

Unknown repository spec type.

MISSING_REPOSITORY_SPEC_FIELD 7

Repository spec is missing a required field.

IO_ERROR 8

Some unspecified error occurred during I/O.

INTERNAL_ERROR 9

Some unspecified internal error occurred.

EXPIRED_REPOSITORY_METADATA 10

Repository metadata is expired.

NO_MATCHING_REGISTRATION 11

No repository registration matches the provided repository and target.

RepositoryStorageType strict

Type: uint32

Defined in fuchsia.developer.bridge/repo.fidl

Where the repository storage is written to.

NameValueDescription
EPHEMERAL 1

Ephemeral, or in-memory storage. This repository metadata will be lost when the process or device is restarted. The default type.

PERSISTENT 2

Persistent, where the repository metadata is written to mutable storage and is available after a reboot.

StreamMode strict

Type: uint32

Defined in fuchsia.developer.bridge/diagnostics.fidl

NameValueDescription
SNAPSHOT_ALL 1
SNAPSHOT_RECENT_THEN_SUBSCRIBE 2
SNAPSHOT_ALL_THEN_SUBSCRIBE 3
SUBSCRIBE 4

TargetRebootError strict

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
UNKNOWN 1
FASTBOOT_TO_RECOVERY 2

Cannot reboot from fastboot to recovery.

TARGET_COMMUNICATION 3

There was an Overnet communication issue with the target.

FASTBOOT_COMMUNICATION 4

There was a Fastboot protocol communication issue with the target.

TargetRebootState strict

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
PRODUCT 1
BOOTLOADER 2
RECOVERY 3

TargetState strict

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
UNKNOWN 1
DISCONNECTED 2
PRODUCT 3
FASTBOOT 4
ZEDBOOT 5

TargetType strict

Type: uint32

Defined in fuchsia.developer.bridge/target.fidl

NameValueDescription
UNKNOWN 1

TABLES

DaemonDiagnosticsStreamParameters

Defined in fuchsia.developer.bridge/diagnostics.fidl

OrdinalNameTypeDescription
1 stream_mode StreamMode
2 min_target_timestamp_nanos uint64

FileSystemRepositorySpec

Defined in fuchsia.developer.bridge/repo.fidl

[FileSystemRepositorySpec] describes a TUF repository found on the local filesystem.

OrdinalNameTypeDescription
1 path string[4095]

File system path to the location of the repository.

MdnsBindEvent

Defined in fuchsia.developer.bridge/mdns.fidl

Contains information about the socket bound during mDNS setup.

OrdinalNameTypeDescription
1 port uint16

PackageEntry

Defined in fuchsia.developer.bridge/repo.fidl

OrdinalNameTypeDescription
1 path string[4095]

Blob name

2 hash string[4095]

Blob's merkle hash

3 size uint64

Size in bytes of this blob.

4 modified uint64

Last modification timestamp (seconds since UNIX epoch). May be null depending on repository source.

PmRepositorySpec

Defined in fuchsia.developer.bridge/repo.fidl

[PmRepositorySpec] describes a TUF repository created by pm found on the local filesystem.

OrdinalNameTypeDescription
1 path string[4095]

File system path to the location of the pm repository.

RepositoryPackage

Defined in fuchsia.developer.bridge/repo.fidl

OrdinalNameTypeDescription
1 name string[2048]

Package name

2 hash string[2048]

Package's merkle hash

3 size uint64

Size in bytes of all blobs in this package.

4 modified uint64

Last modification timestamp (seconds since UNIX epoch). May be null depending on repository source.

5 entries vector<PackageEntry>

List of blobs in this package: currently, this is only components.

RepositoryTarget

Defined in fuchsia.developer.bridge/repo.fidl

OrdinalNameTypeDescription
1 repo_name string[255]

The configured name of the repository

2 target_identifier string[255]

The target on which to configure this repository

3 aliases vector<string>[32]

An optional list of hostnames. A rewrite rule will be added for each hostname in this list to resolve to this repository.

4 storage_type RepositoryStorageType

Controls how repository metadata is persisted across reboots. Optional, if absent presumed to be EPHEMERAL.

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
7 product_config string[100]
8 board_config string[100]
9 serial_number string[256]
10 ssh_address TargetAddrInfo

ssh_address is the preferred address to use to connect to the device over SSH, and will include a port number if a custom SSH port number has been set.

TraceOptions

Defined in fuchsia.developer.bridge/tracing.fidl

Covers how a trace will be run when invoking StartRecording.

OrdinalNameTypeDescription
1 duration float64

Determines how long a trace recording will run before terminating in fractional seconds. This is an "at-least" duration, with the actual runtime terminating likely a few dozen milliseconds longer.

If this is not set, a trace will run indefinitely and must be stopped using StopRecording. Or by cleanly shutting down the daemon via ffx daemon stop or by using the Deamon proxy itself.

VersionInfo

Defined in fuchsia.developer.bridge/version.fidl

OrdinalNameTypeDescription
1 commit_hash string[40]
2 commit_timestamp uint64
3 build_version string[100]

UNIONS

Daemon_AddTarget_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_AddTarget_Response
err DaemonError

Daemon_ConnectToService_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_ConnectToService_Response
err DaemonError

Daemon_GetFastboot_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_GetFastboot_Response
err DaemonError

Daemon_GetRemoteControl_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_GetRemoteControl_Response
err DaemonError

Daemon_GetSshAddress_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_GetSshAddress_Response
err DaemonError

Daemon_GetTarget_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_GetTarget_Response
err DaemonError

Daemon_RemoveTarget_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_RemoveTarget_Response
err DaemonError

Daemon_StreamDiagnostics_Result strict

Defined in fuchsia.developer.bridge/daemon.fidl

NameTypeDescription
response Daemon_StreamDiagnostics_Response
err DiagnosticsStreamError

Fastboot_ContinueBoot_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_ContinueBoot_Response
err FastbootError

Fastboot_Erase_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Erase_Response
err FastbootError

Fastboot_Flash_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Flash_Response
err FastbootError

Fastboot_GetVar_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_GetVar_Response
err FastbootError

Fastboot_Oem_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Oem_Response
err FastbootError

Fastboot_Prepare_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Prepare_Response
err FastbootError

Fastboot_RebootBootloader_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_RebootBootloader_Response
err FastbootError

Fastboot_Reboot_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Reboot_Response
err FastbootError

Fastboot_SetActive_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_SetActive_Response
err FastbootError

Fastboot_Stage_Result strict

Defined in fuchsia.developer.bridge/fastboot.fidl

NameTypeDescription
response Fastboot_Stage_Response
err FastbootError

MdnsEventType strict

Defined in fuchsia.developer.bridge/mdns.fidl

NameTypeDescription
target_found Target

Sent to subscribers when a new target is found on the network. This is only propagated when the target is either seen for the first time, or if the target has previously expired.

target_rediscovered Target

Sent to subscribers when a target has been discovered after having alreaady been stored in the cache. This can often be treated the same as target_found.

target_expired Target

Sent to subscribers when a target has expired (the target has not been rediscovered after the TTL has been reached). The target can be rediscovered later. If this happens a target_found event will be sent.

socket_bound MdnsBindEvent

An event propagated when the multicast listener is bound. Primarily for testing.

RepositoryRegistry_AddRepository_Result strict

Defined in fuchsia.developer.bridge/repo.fidl

NameTypeDescription
response RepositoryRegistry_AddRepository_Response
err RepositoryError

RepositoryRegistry_DeregisterTarget_Result strict

Defined in fuchsia.developer.bridge/repo.fidl

NameTypeDescription
response RepositoryRegistry_DeregisterTarget_Response
err RepositoryError

RepositoryRegistry_ListPackages_Result strict

Defined in fuchsia.developer.bridge/repo.fidl

NameTypeDescription
response RepositoryRegistry_ListPackages_Response
err RepositoryError

RepositoryRegistry_RegisterTarget_Result strict

Defined in fuchsia.developer.bridge/repo.fidl

NameTypeDescription
response RepositoryRegistry_RegisterTarget_Response
err RepositoryError

RepositoryRegistry_ShowPackage_Result strict

Defined in fuchsia.developer.bridge/repo.fidl

NameTypeDescription
response RepositoryRegistry_ShowPackage_Response
err RepositoryError

RepositorySpec flexible

Defined in fuchsia.developer.bridge/repo.fidl

Describes all the possible repositories that could be managed by this service.

NameTypeDescription
file_system FileSystemRepositorySpec
pm PmRepositorySpec

TargetAddrInfo strict

Defined in fuchsia.developer.bridge/target.fidl

NameTypeDescription
ip TargetIp
ip_port TargetIpPort

TargetCollection_OpenTarget_Result strict

Defined in fuchsia.developer.bridge/target.fidl

NameTypeDescription
response TargetCollection_OpenTarget_Response
err OpenTargetError

TargetControl_Reboot_Result strict

Defined in fuchsia.developer.bridge/target.fidl

NameTypeDescription
response TargetControl_Reboot_Response
err TargetRebootError

Tracing_StartRecording_Result strict

Defined in fuchsia.developer.bridge/tracing.fidl

NameTypeDescription
response Tracing_StartRecording_Response
err RecordingError

Tracing_StopRecording_Result strict

Defined in fuchsia.developer.bridge/tracing.fidl

NameTypeDescription
response Tracing_StopRecording_Response
err RecordingError

BITS

ListFields flexible

Type: uint32

Defined in fuchsia.developer.bridge/repo.fidl

NameValueDescription
COMPONENTS 1

CONSTANTS

NameValueTypeDescription
MAX_ALIASES 32 uint64
MAX_BUILD_VERSION_LENGTH 100 uint16
MAX_GIT_COMMIT_LENGTH 40 uint16
MAX_NAME 255 uint64
MAX_PATH 4095 uint64
MAX_REPOS 512 uint64
MAX_SERVICE_NAME_SIZE 255 uint8