enum Matter::Cluster::Definitions::OtaSoftwareUpdateProviderClient::Status

Overview

See Section 11.19.3.2, “Querying the OTA Provider” for the semantics of these values.

Defined in:

matter/cluster/definitions/ota_software_update_provider_client.cr

Enum Members

UpdateAvailable = 0_u8

Indicates that the OTA Provider has an update available.

Busy = 1_u8

Indicates OTA Provider may have an update, but it is not ready yet.

NotAvailable = 2_u8

Indicates that there is definitely no update currently available from the OTA Provider.

DownloadProtocolNotSupported = 3_u8

Indicates that the requested download protocol is not supported by the OTA Provider.

Instance Method Summary

Instance Method Detail

def busy? #

Returns true if this enum value equals Busy


[View source]
def download_protocol_not_supported? #

Returns true if this enum value equals DownloadProtocolNotSupported


[View source]
def not_available? #

Returns true if this enum value equals NotAvailable


[View source]
def update_available? #

Returns true if this enum value equals UpdateAvailable


[View source]