Body of the OtaSoftwareUpdateRequestor downloadError event

MatterSpecification.v13.Core § 11.20.7.7.3

interface DownloadErrorEvent {
    bytesDownloaded: number | bigint;
    platformCode: null | number | bigint;
    progressPercent: null | number;
    softwareVersion: number;
}

Hierarchy (view full)

Properties

bytesDownloaded: number | bigint

This field shall be set to the number of bytes that have been downloaded during the failing transfer that caused this event to be generated.

MatterSpecification.v13.Core § 11.20.7.7.3.2

platformCode: null | number | bigint

This field SHOULD be set to some internal product-specific error code, closest in temporal/functional proximity to the failure that caused this event to be generated. Otherwise, it shall be null. This event field may be used for debugging purposes and no uniform definition exists related to its meaning.

MatterSpecification.v13.Core § 11.20.7.7.3.4

progressPercent: null | number

This field shall be set to the nearest integer percent value reflecting how far within the transfer the failure occurred during the failing transfer that caused this event to be generated, unless the total length of the transfer is unknown, in which case it shall be null.

MatterSpecification.v13.Core § 11.20.7.7.3.3

softwareVersion: number

This field shall be set to the value of the SoftwareVersion being downloaded, matching the SoftwareVersion field of the QueryImageResponse that caused the failing download to take place.

MatterSpecification.v13.Core § 11.20.7.7.3.1