Skip to content

Commit eafe514

Browse files
committed
Adding OTA Requestor to device type
1 parent f0bcb60 commit eafe514

File tree

2 files changed

+580
-26
lines changed

2 files changed

+580
-26
lines changed

examples/thermostat/thermostat-common/thermostat.matter

+33
Original file line numberDiff line numberDiff line change
@@ -2389,6 +2389,7 @@ cluster ThermostatUserInterfaceConfiguration = 516 {
23892389

23902390
endpoint 0 {
23912391
device type ma_rootdevice = 22, version 3;
2392+
device type ma_otarequestor = 18, version 1;
23922393

23932394
binding cluster OtaSoftwareUpdateProvider;
23942395

@@ -2397,6 +2398,9 @@ endpoint 0 {
23972398
callback attribute serverList;
23982399
callback attribute clientList;
23992400
callback attribute partsList;
2401+
callback attribute generatedCommandList;
2402+
callback attribute acceptedCommandList;
2403+
callback attribute attributeList;
24002404
callback attribute featureMap;
24012405
callback attribute clusterRevision;
24022406
}
@@ -2414,6 +2418,8 @@ endpoint 0 {
24142418
callback attribute subjectsPerAccessControlEntry;
24152419
callback attribute targetsPerAccessControlEntry;
24162420
callback attribute accessControlEntriesPerFabric;
2421+
callback attribute generatedCommandList;
2422+
callback attribute acceptedCommandList;
24172423
callback attribute attributeList;
24182424
ram attribute featureMap default = 0;
24192425
callback attribute clusterRevision;
@@ -2444,6 +2450,9 @@ endpoint 0 {
24442450
callback attribute capabilityMinima;
24452451
callback attribute specificationVersion;
24462452
callback attribute maxPathsPerInvoke;
2453+
callback attribute generatedCommandList;
2454+
callback attribute acceptedCommandList;
2455+
callback attribute attributeList;
24472456
ram attribute featureMap default = 0;
24482457
ram attribute clusterRevision default = 4;
24492458
}
@@ -2456,6 +2465,9 @@ endpoint 0 {
24562465
ram attribute updatePossible default = 1;
24572466
ram attribute updateState default = 0;
24582467
ram attribute updateStateProgress default = 0;
2468+
callback attribute generatedCommandList;
2469+
callback attribute acceptedCommandList;
2470+
callback attribute attributeList;
24592471
ram attribute featureMap default = 0;
24602472
ram attribute clusterRevision default = 1;
24612473

@@ -2465,6 +2477,9 @@ endpoint 0 {
24652477
server cluster LocalizationConfiguration {
24662478
persist attribute activeLocale default = "en-US";
24672479
callback attribute supportedLocales;
2480+
callback attribute generatedCommandList;
2481+
callback attribute acceptedCommandList;
2482+
callback attribute attributeList;
24682483
ram attribute featureMap default = 0;
24692484
ram attribute clusterRevision default = 1;
24702485
}
@@ -2487,6 +2502,9 @@ endpoint 0 {
24872502
callback attribute regulatoryConfig;
24882503
callback attribute locationCapability;
24892504
callback attribute supportsConcurrentConnection;
2505+
callback attribute generatedCommandList;
2506+
callback attribute acceptedCommandList;
2507+
callback attribute attributeList;
24902508
ram attribute featureMap default = 0;
24912509
ram attribute clusterRevision default = 2;
24922510

@@ -2505,6 +2523,9 @@ endpoint 0 {
25052523
ram attribute lastNetworkingStatus;
25062524
ram attribute lastNetworkID;
25072525
ram attribute lastConnectErrorValue;
2526+
callback attribute generatedCommandList;
2527+
callback attribute acceptedCommandList;
2528+
callback attribute attributeList;
25082529
ram attribute featureMap default = 2;
25092530
ram attribute clusterRevision default = 1;
25102531

@@ -2538,6 +2559,9 @@ endpoint 0 {
25382559
callback attribute activeRadioFaults;
25392560
callback attribute activeNetworkFaults;
25402561
callback attribute testEventTriggersEnabled default = false;
2562+
callback attribute generatedCommandList;
2563+
callback attribute acceptedCommandList;
2564+
callback attribute attributeList;
25412565
callback attribute featureMap;
25422566
callback attribute clusterRevision;
25432567

@@ -2668,6 +2692,9 @@ endpoint 0 {
26682692
callback attribute windowStatus;
26692693
callback attribute adminFabricIndex;
26702694
callback attribute adminVendorId;
2695+
callback attribute generatedCommandList;
2696+
callback attribute acceptedCommandList;
2697+
callback attribute attributeList;
26712698
ram attribute featureMap default = 0;
26722699
ram attribute clusterRevision default = 1;
26732700

@@ -2682,6 +2709,9 @@ endpoint 0 {
26822709
callback attribute commissionedFabrics;
26832710
callback attribute trustedRootCertificates;
26842711
callback attribute currentFabricIndex;
2712+
callback attribute generatedCommandList;
2713+
callback attribute acceptedCommandList;
2714+
callback attribute attributeList;
26852715
ram attribute featureMap default = 0;
26862716
ram attribute clusterRevision default = 1;
26872717

@@ -2704,6 +2734,9 @@ endpoint 0 {
27042734
callback attribute groupTable;
27052735
callback attribute maxGroupsPerFabric;
27062736
callback attribute maxGroupKeysPerFabric;
2737+
callback attribute generatedCommandList;
2738+
callback attribute acceptedCommandList;
2739+
callback attribute attributeList;
27072740
callback attribute featureMap;
27082741
callback attribute clusterRevision;
27092742

0 commit comments

Comments
 (0)