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

fuchsia.castsysteminfo

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

NameType
result Provider_GetSystemInfo_Result

STRUCTS

Provider_GetSystemInfo_Response

Defined in fuchsia.castsysteminfo/cast_system_info.fidl

FieldTypeDescriptionDefault
systemInfo SystemInfo No default

ENUMS

ErrorCode strict

Type: uint32

Defined in fuchsia.castsysteminfo/cast_system_info.fidl

Error codes for the GetSystemInfo operation.

NameValueDescription
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.

OrdinalFieldTypeDescription
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
VariantTypeDescription
1 response Provider_GetSystemInfo_Response
2 err ErrorCode