PROTOCOLS
Provider
Defined in fuchsia.castsysteminfo/cast_system_info.fidl
Exposes Cast system info, as modeled in the SystemInfo table.
GetSystemInfo
Retrieves the SystemInfo fields that are generated at first boot and are available at startup.
Request
<EMPTY>
Response
| Name | Type | 
|---|---|
| payload | Provider_GetSystemInfo_Result | 
STRUCTS
Provider_GetSystemInfo_Response
Defined in fuchsia.castsysteminfo/cast_system_info.fidl
| Field | Type | Description | Default | 
|---|---|---|---|
| systemInfo | SystemInfo | No default | 
ENUMS
ErrorCode strict
Type: uint32
Defined in fuchsia.castsysteminfo/cast_system_info.fidl
Error codes for the GetSystemInfo operation.
| Name | Value | Description | 
|---|---|---|
| ERR_NO_SYSTEM_INFO | 1 | Error when there is no system info available. | 
| ERR_INTERNAL | 2 | Generic error. | 
TABLES
SystemInfo
Defined in fuchsia.castsysteminfo/cast_system_info.fidl
Cast-related device settings
This table may be extended to include additional cast-specific information. The values requested here are generated on first boot of the device and don't change unless there is a factory reset.
| Ordinal | Field | Type | Description | 
|---|---|---|---|
| 1 | local_device_id | string | Local (CastV2) device ID. Identifies the device on a local network. Used by the Home app as the device identifier and for MDNS record matching. | 
| 2 | cloud_device_id | string | The device will use this identifier to send/receive CloudCast commands. Sending a CloudCast command to the receiver with this ID will ensure that the command is accepted and consumed by the device. | 
UNIONS
Provider_GetSystemInfo_Result strict
Defined in fuchsia.castsysteminfo/cast_system_info.fidl
| Ordinal | Variant | Type | Description | 
|---|---|---|---|
| 1 | response | Provider_GetSystemInfo_Response | |
| 2 | err | ErrorCode |