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

將字串寫入裝置的系統記錄。

新增: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 無預設值

列舉

彈性相容性狀態

類型:uint32

定義於 fuchsia.developer.remotecontrol/host-identification.fidl

主機工具與目標之間的相容性狀態。

名稱值說明
0

判斷相容性狀態時發生錯誤。

1

沒有相容性資訊。

2

支援 ABI 修訂版本

3

無法辨識 ABI 修訂版本。

4

不支援提供的 ABI 修訂版本。

彈性 ConnectCapabilityError

類型:uint32

定義於 fuchsia.developer.remotecontrol/service-discovery.fidl

名稱值說明
1
2
3
4

IdentifyHostError 彈性

類型:uint32

定義於 fuchsia.developer.remotecontrol/host-identification.fidl

名稱值說明
1
2
3

TunnelError 彈性

類型: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

序數Variant類型說明
response RemoteControl_ConnectCapability_Response
err ConnectCapabilityError
framework_err internal

RemoteControl_IdentifyHost_Result strict

定義於 fuchsia.developer.remotecontrol/remote-control.fidl

序數Variant類型說明
response RemoteControl_IdentifyHost_Response
err IdentifyHostError
framework_err internal

常數

名稱值類型說明
MAX_CONNECT_MATCHES 5 uint16
MAX_NUM_MATCHES 250 uint16
NODE_NAME_MAX 255 uint32