fuchsia.developer.remotecontrol

新增:16

协议

RemoteControl

在 fuchsia.developer.remotecontrol/remote-control.fidl 中定义

ConnectCapability

如果由给定名字标识的组件公开了所请求名称的功能,则将渠道连接到服务(给定名字和渠道)。

新增:25

请求

名称类型
moniker string:4096
capability_set fuchsia.sys2/OpenDirType
capability_name fuchsia.component/name
server_channel handle<channel>

响应

名称类型
payload RemoteControl_ConnectCapability_Result

EchoString

返回输入。

请求

名称类型
value string:255

响应

名称类型
response string:255

GetBootTime

添加:26

请求

<EMPTY>

响应

名称类型
time zx/InstantBoot

GetTime

请求

<EMPTY>

响应

名称类型
time zx/InstantMono

IdentifyHost

请求

<EMPTY>

响应

名称类型
payload RemoteControl_IdentifyHost_Result

LogMessage

将字符串写入设备上的 syslog。

新增:27

请求

名称类型
tag string
message string
severity fuchsia.diagnostics.types/Severity

响应

<EMPTY>

STRUCTS

CompatibilityInfo

在 fuchsia.developer.remotecontrol/host-identification.fidl 中定义

目标的兼容性信息

字段类型说明默认
state CompatibilityState

主机工具与目标之间的兼容性状态。

无默认应用
platform_abi uint64

目标平台的 ABI 修订版本。

无默认应用
message string

适合向英语用户显示的状态消息字符串。

无默认应用

RemoteControl_ConnectCapability_Response

在 fuchsia.developer.remotecontrol/remote-control.fidl 中定义

<EMPTY>

RemoteControl_IdentifyHost_Response

在 fuchsia.developer.remotecontrol/remote-control.fidl 中定义

字段类型说明默认
response IdentifyHostResponse 无默认应用

枚举

CompatibilityState flexible

类型:uint32

在 fuchsia.developer.remotecontrol/host-identification.fidl 中定义

主机工具与目标之间的兼容性状态。

名称值说明
0

确定兼容性状态时出错。

1

未提供兼容性信息。

2

支持 ABI 修订版本

3

无法识别 ABI 修订版本。

4

不支持其提供的 ABI 修订版本。

ConnectCapabilityError flexible

类型:uint32

在 fuchsia.developer.remotecontrol/service-discovery.fidl 中定义

名称值说明
1
2
3
4

IdentifyHostError flexible

类型:uint32

在 fuchsia.developer.remotecontrol/host-identification.fidl 中定义

名称值说明
1
2
3

TunnelError flexible

类型:uint32

在 fuchsia.developer.remotecontrol/remote-control.fidl 中定义

名称值说明
1
2
3

TABLES

IdentifyHostResponse

在 fuchsia.developer.remotecontrol/host-identification.fidl 中定义

序数字段类型说明
nodename string:255
boot_timestamp_nanos uint64
serial_number string:255
ids vector<uint64>
product_config string:100
board_config string:100
addresses vector<fuchsia.net/Subnet>

从目标的角度来看,当前分配给目标接口的网络地址。这些信息仅供参考,用于目标识别,而不是建立主机到目标的连接。

boot_id uint64
新增:24
f_release uint32
新增:NEXT

UNIONS

RemoteControl_ConnectCapability_Result strict

在 fuchsia.developer.remotecontrol/remote-control.fidl 中定义

序数变体类型说明
response RemoteControl_ConnectCapability_Response
err ConnectCapabilityError
framework_err internal

RemoteControl_IdentifyHost_Result strict

在 fuchsia.developer.remotecontrol/remote-control.fidl 中定义

序数变体类型说明
response RemoteControl_IdentifyHost_Response
err IdentifyHostError
framework_err internal

常量

名称值类型说明
MAX_CONNECT_MATCHES 5 uint16
MAX_NUM_MATCHES 250 uint16
NODE_NAME_MAX 255 uint32