Skip to content

Commit

Permalink
Regenerate generated code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple committed Sep 26, 2023
1 parent c541580 commit dbc3ae8
Show file tree
Hide file tree
Showing 63 changed files with 1,101 additions and 1,123 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,20 +267,20 @@ server cluster BasicInformation = 40 {

/** Provides an interface for providing OTA software updates */
client cluster OtaSoftwareUpdateProvider = 41 {
enum OTAApplyUpdateAction : ENUM8 {
enum ApplyUpdateActionEnum : ENUM8 {
kProceed = 0;
kAwaitNextAction = 1;
kDiscontinue = 2;
}

enum OTADownloadProtocol : ENUM8 {
enum DownloadProtocolEnum : ENUM8 {
kBDXSynchronous = 0;
kBDXAsynchronous = 1;
kHTTPS = 2;
kVendorSpecific = 3;
}

enum OTAQueryStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kUpdateAvailable = 0;
kBusy = 1;
kNotAvailable = 2;
Expand All @@ -298,15 +298,15 @@ client cluster OtaSoftwareUpdateProvider = 41 {
vendor_id vendorID = 0;
INT16U productID = 1;
INT32U softwareVersion = 2;
OTADownloadProtocol protocolsSupported[] = 3;
DownloadProtocolEnum protocolsSupported[] = 3;
optional INT16U hardwareVersion = 4;
optional CHAR_STRING<2> location = 5;
optional BOOLEAN requestorCanConsent = 6;
optional OCTET_STRING<512> metadataForProvider = 7;
}

response struct QueryImageResponse = 1 {
OTAQueryStatus status = 0;
StatusEnum status = 0;
optional INT32U delayedActionTime = 1;
optional CHAR_STRING<256> imageURI = 2;
optional INT32U softwareVersion = 3;
Expand All @@ -322,7 +322,7 @@ client cluster OtaSoftwareUpdateProvider = 41 {
}

response struct ApplyUpdateResponse = 3 {
OTAApplyUpdateAction action = 0;
ApplyUpdateActionEnum action = 0;
INT32U delayedActionTime = 1;
}

Expand All @@ -341,21 +341,21 @@ client cluster OtaSoftwareUpdateProvider = 41 {

/** Provides an interface for downloading and applying OTA software updates */
server cluster OtaSoftwareUpdateRequestor = 42 {
enum OTAAnnouncementReason : ENUM8 {
enum AnnouncementReasonEnum : ENUM8 {
kSimpleAnnouncement = 0;
kUpdateAvailable = 1;
kUrgentUpdateAvailable = 2;
}

enum OTAChangeReasonEnum : ENUM8 {
enum ChangeReasonEnum : ENUM8 {
kUnknown = 0;
kSuccess = 1;
kFailure = 2;
kTimeOut = 3;
kDelayByProvider = 4;
}

enum OTAUpdateStateEnum : ENUM8 {
enum UpdateStateEnum : ENUM8 {
kUnknown = 0;
kIdle = 1;
kQuerying = 2;
Expand All @@ -374,9 +374,9 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
}

info event StateTransition = 0 {
OTAUpdateStateEnum previousState = 0;
OTAUpdateStateEnum newState = 1;
OTAChangeReasonEnum reason = 2;
UpdateStateEnum previousState = 0;
UpdateStateEnum newState = 1;
ChangeReasonEnum reason = 2;
nullable INT32U targetSoftwareVersion = 3;
}

Expand All @@ -394,7 +394,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {

attribute ProviderLocation defaultOTAProviders[] = 0;
readonly attribute boolean updatePossible = 1;
readonly attribute OTAUpdateStateEnum updateState = 2;
readonly attribute UpdateStateEnum updateState = 2;
readonly attribute nullable int8u updateStateProgress = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand All @@ -406,7 +406,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
request struct AnnounceOTAProviderRequest {
node_id providerNodeID = 0;
vendor_id vendorID = 1;
OTAAnnouncementReason announcementReason = 2;
AnnouncementReasonEnum announcementReason = 2;
optional OCTET_STRING<512> metadataForNode = 3;
endpoint_no endpoint = 4;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -836,20 +836,20 @@ server cluster BasicInformation = 40 {

/** Provides an interface for providing OTA software updates */
client cluster OtaSoftwareUpdateProvider = 41 {
enum OTAApplyUpdateAction : ENUM8 {
enum ApplyUpdateActionEnum : ENUM8 {
kProceed = 0;
kAwaitNextAction = 1;
kDiscontinue = 2;
}

enum OTADownloadProtocol : ENUM8 {
enum DownloadProtocolEnum : ENUM8 {
kBDXSynchronous = 0;
kBDXAsynchronous = 1;
kHTTPS = 2;
kVendorSpecific = 3;
}

enum OTAQueryStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kUpdateAvailable = 0;
kBusy = 1;
kNotAvailable = 2;
Expand All @@ -867,15 +867,15 @@ client cluster OtaSoftwareUpdateProvider = 41 {
vendor_id vendorID = 0;
INT16U productID = 1;
INT32U softwareVersion = 2;
OTADownloadProtocol protocolsSupported[] = 3;
DownloadProtocolEnum protocolsSupported[] = 3;
optional INT16U hardwareVersion = 4;
optional CHAR_STRING<2> location = 5;
optional BOOLEAN requestorCanConsent = 6;
optional OCTET_STRING<512> metadataForProvider = 7;
}

response struct QueryImageResponse = 1 {
OTAQueryStatus status = 0;
StatusEnum status = 0;
optional INT32U delayedActionTime = 1;
optional CHAR_STRING<256> imageURI = 2;
optional INT32U softwareVersion = 3;
Expand All @@ -891,7 +891,7 @@ client cluster OtaSoftwareUpdateProvider = 41 {
}

response struct ApplyUpdateResponse = 3 {
OTAApplyUpdateAction action = 0;
ApplyUpdateActionEnum action = 0;
INT32U delayedActionTime = 1;
}

Expand All @@ -910,21 +910,21 @@ client cluster OtaSoftwareUpdateProvider = 41 {

/** Provides an interface for downloading and applying OTA software updates */
server cluster OtaSoftwareUpdateRequestor = 42 {
enum OTAAnnouncementReason : ENUM8 {
enum AnnouncementReasonEnum : ENUM8 {
kSimpleAnnouncement = 0;
kUpdateAvailable = 1;
kUrgentUpdateAvailable = 2;
}

enum OTAChangeReasonEnum : ENUM8 {
enum ChangeReasonEnum : ENUM8 {
kUnknown = 0;
kSuccess = 1;
kFailure = 2;
kTimeOut = 3;
kDelayByProvider = 4;
}

enum OTAUpdateStateEnum : ENUM8 {
enum UpdateStateEnum : ENUM8 {
kUnknown = 0;
kIdle = 1;
kQuerying = 2;
Expand All @@ -943,9 +943,9 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
}

info event StateTransition = 0 {
OTAUpdateStateEnum previousState = 0;
OTAUpdateStateEnum newState = 1;
OTAChangeReasonEnum reason = 2;
UpdateStateEnum previousState = 0;
UpdateStateEnum newState = 1;
ChangeReasonEnum reason = 2;
nullable INT32U targetSoftwareVersion = 3;
}

Expand All @@ -963,7 +963,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {

attribute ProviderLocation defaultOTAProviders[] = 0;
readonly attribute boolean updatePossible = 1;
readonly attribute OTAUpdateStateEnum updateState = 2;
readonly attribute UpdateStateEnum updateState = 2;
readonly attribute nullable int8u updateStateProgress = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand All @@ -975,7 +975,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
request struct AnnounceOTAProviderRequest {
node_id providerNodeID = 0;
vendor_id vendorID = 1;
OTAAnnouncementReason announcementReason = 2;
AnnouncementReasonEnum announcementReason = 2;
optional OCTET_STRING<512> metadataForNode = 3;
endpoint_no endpoint = 4;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -723,20 +723,20 @@ server cluster BasicInformation = 40 {

/** Provides an interface for providing OTA software updates */
client cluster OtaSoftwareUpdateProvider = 41 {
enum OTAApplyUpdateAction : ENUM8 {
enum ApplyUpdateActionEnum : ENUM8 {
kProceed = 0;
kAwaitNextAction = 1;
kDiscontinue = 2;
}

enum OTADownloadProtocol : ENUM8 {
enum DownloadProtocolEnum : ENUM8 {
kBDXSynchronous = 0;
kBDXAsynchronous = 1;
kHTTPS = 2;
kVendorSpecific = 3;
}

enum OTAQueryStatus : ENUM8 {
enum StatusEnum : ENUM8 {
kUpdateAvailable = 0;
kBusy = 1;
kNotAvailable = 2;
Expand All @@ -754,15 +754,15 @@ client cluster OtaSoftwareUpdateProvider = 41 {
vendor_id vendorID = 0;
INT16U productID = 1;
INT32U softwareVersion = 2;
OTADownloadProtocol protocolsSupported[] = 3;
DownloadProtocolEnum protocolsSupported[] = 3;
optional INT16U hardwareVersion = 4;
optional CHAR_STRING<2> location = 5;
optional BOOLEAN requestorCanConsent = 6;
optional OCTET_STRING<512> metadataForProvider = 7;
}

response struct QueryImageResponse = 1 {
OTAQueryStatus status = 0;
StatusEnum status = 0;
optional INT32U delayedActionTime = 1;
optional CHAR_STRING<256> imageURI = 2;
optional INT32U softwareVersion = 3;
Expand All @@ -778,7 +778,7 @@ client cluster OtaSoftwareUpdateProvider = 41 {
}

response struct ApplyUpdateResponse = 3 {
OTAApplyUpdateAction action = 0;
ApplyUpdateActionEnum action = 0;
INT32U delayedActionTime = 1;
}

Expand All @@ -797,21 +797,21 @@ client cluster OtaSoftwareUpdateProvider = 41 {

/** Provides an interface for downloading and applying OTA software updates */
server cluster OtaSoftwareUpdateRequestor = 42 {
enum OTAAnnouncementReason : ENUM8 {
enum AnnouncementReasonEnum : ENUM8 {
kSimpleAnnouncement = 0;
kUpdateAvailable = 1;
kUrgentUpdateAvailable = 2;
}

enum OTAChangeReasonEnum : ENUM8 {
enum ChangeReasonEnum : ENUM8 {
kUnknown = 0;
kSuccess = 1;
kFailure = 2;
kTimeOut = 3;
kDelayByProvider = 4;
}

enum OTAUpdateStateEnum : ENUM8 {
enum UpdateStateEnum : ENUM8 {
kUnknown = 0;
kIdle = 1;
kQuerying = 2;
Expand All @@ -830,9 +830,9 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
}

info event StateTransition = 0 {
OTAUpdateStateEnum previousState = 0;
OTAUpdateStateEnum newState = 1;
OTAChangeReasonEnum reason = 2;
UpdateStateEnum previousState = 0;
UpdateStateEnum newState = 1;
ChangeReasonEnum reason = 2;
nullable INT32U targetSoftwareVersion = 3;
}

Expand All @@ -850,7 +850,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {

attribute ProviderLocation defaultOTAProviders[] = 0;
readonly attribute boolean updatePossible = 1;
readonly attribute OTAUpdateStateEnum updateState = 2;
readonly attribute UpdateStateEnum updateState = 2;
readonly attribute nullable int8u updateStateProgress = 3;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand All @@ -862,7 +862,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
request struct AnnounceOTAProviderRequest {
node_id providerNodeID = 0;
vendor_id vendorID = 1;
OTAAnnouncementReason announcementReason = 2;
AnnouncementReasonEnum announcementReason = 2;
optional OCTET_STRING<512> metadataForNode = 3;
endpoint_no endpoint = 4;
}
Expand Down
Loading

0 comments on commit dbc3ae8

Please sign in to comment.