Skip to content

Commit 7c34267

Browse files
committed
add pendingdatasettimestamp attribute and run zap_regenerate
1 parent 0fc61d6 commit 7c34267

File tree

2 files changed

+234
-0
lines changed

2 files changed

+234
-0
lines changed

examples/thread-br-app/thread-br-common/thread-br-app.matter

+218
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,211 @@
11
// This IDL was generated automatically by ZAP.
22
// It is for view/code review purposes only.
33

4+
enum AreaTypeTag : enum8 {
5+
kAisle = 0;
6+
kAttic = 1;
7+
kBackDoor = 2;
8+
kBackYard = 3;
9+
kBalcony = 4;
10+
kBallroom = 5;
11+
kBathroom = 6;
12+
kBedroom = 7;
13+
kBorder = 8;
14+
kBoxroom = 9;
15+
kBreakfastRoom = 10;
16+
kCarport = 11;
17+
kCellar = 12;
18+
kCloakroom = 13;
19+
kCloset = 14;
20+
kConservatory = 15;
21+
kCorridor = 16;
22+
kCraftRoom = 17;
23+
kCupboard = 18;
24+
kDeck = 19;
25+
kDen = 20;
26+
kDining = 21;
27+
kDrawingRoom = 22;
28+
kDressingRoom = 23;
29+
kDriveway = 24;
30+
kElevator = 25;
31+
kEnsuite = 26;
32+
kEntrance = 27;
33+
kEntryway = 28;
34+
kFamilyRoom = 29;
35+
kFoyer = 30;
36+
kFrontDoor = 31;
37+
kFrontYard = 32;
38+
kGameRoom = 33;
39+
kGarage = 34;
40+
kGarageDoor = 35;
41+
kGarden = 36;
42+
kGardenDoor = 37;
43+
kGuestBathroom = 38;
44+
kGuestBedroom = 39;
45+
kGuestRestroom = 40;
46+
kGuestRoom = 41;
47+
kGym = 42;
48+
kHallway = 43;
49+
kHearthRoom = 44;
50+
kKidsRoom = 45;
51+
kKidsBedroom = 46;
52+
kKitchen = 47;
53+
kLarder = 48;
54+
kLaundryRoom = 49;
55+
kLawn = 50;
56+
kLibrary = 51;
57+
kLivingRoom = 52;
58+
kLounge = 53;
59+
kMediaTVRoom = 54;
60+
kMudRoom = 55;
61+
kMusicRoom = 56;
62+
kNursery = 57;
63+
kOffice = 58;
64+
kOutdoorKitchen = 59;
65+
kOutside = 60;
66+
kPantry = 61;
67+
kParkingLot = 62;
68+
kParlor = 63;
69+
kPatio = 64;
70+
kPlayRoom = 65;
71+
kPoolRoom = 66;
72+
kPorch = 67;
73+
kPrimaryBathroom = 68;
74+
kPrimaryBedroom = 69;
75+
kRamp = 70;
76+
kReceptionRoom = 71;
77+
kRecreationRoom = 72;
78+
kRestroom = 73;
79+
kRoof = 74;
80+
kSauna = 75;
81+
kScullery = 76;
82+
kSewingRoom = 77;
83+
kShed = 78;
84+
kSideDoor = 79;
85+
kSideYard = 80;
86+
kSittingRoom = 81;
87+
kSnug = 82;
88+
kSpa = 83;
89+
kStaircase = 84;
90+
kSteamRoom = 85;
91+
kStorageRoom = 86;
92+
kStudio = 87;
93+
kStudy = 88;
94+
kSunRoom = 89;
95+
kSwimmingPool = 90;
96+
kTerrace = 91;
97+
kUtilityRoom = 92;
98+
kWard = 93;
99+
kWorkshop = 94;
100+
}
101+
102+
enum AtomicRequestTypeEnum : enum8 {
103+
kBeginWrite = 0;
104+
kCommitWrite = 1;
105+
kRollbackWrite = 2;
106+
}
107+
108+
enum FloorSurfaceTag : enum8 {
109+
kCarpet = 0;
110+
kCeramic = 1;
111+
kConcrete = 2;
112+
kCork = 3;
113+
kDeepCarpet = 4;
114+
kDirt = 5;
115+
kEngineeredWood = 6;
116+
kGlass = 7;
117+
kGrass = 8;
118+
kHardwood = 9;
119+
kLaminate = 10;
120+
kLinoleum = 11;
121+
kMat = 12;
122+
kMetal = 13;
123+
kPlastic = 14;
124+
kPolishedConcrete = 15;
125+
kRubber = 16;
126+
kRug = 17;
127+
kSand = 18;
128+
kStone = 19;
129+
kTatami = 20;
130+
kTerrazzo = 21;
131+
kTile = 22;
132+
kVinyl = 23;
133+
}
134+
135+
enum LandmarkTag : enum8 {
136+
kAirConditioner = 0;
137+
kAirPurifier = 1;
138+
kBackDoor = 2;
139+
kBarStool = 3;
140+
kBathMat = 4;
141+
kBathtub = 5;
142+
kBed = 6;
143+
kBookshelf = 7;
144+
kChair = 8;
145+
kChristmasTree = 9;
146+
kCoatRack = 10;
147+
kCoffeeTable = 11;
148+
kCookingRange = 12;
149+
kCouch = 13;
150+
kCountertop = 14;
151+
kCradle = 15;
152+
kCrib = 16;
153+
kDesk = 17;
154+
kDiningTable = 18;
155+
kDishwasher = 19;
156+
kDoor = 20;
157+
kDresser = 21;
158+
kLaundryDryer = 22;
159+
kFan = 23;
160+
kFireplace = 24;
161+
kFreezer = 25;
162+
kFrontDoor = 26;
163+
kHighChair = 27;
164+
kKitchenIsland = 28;
165+
kLamp = 29;
166+
kLitterBox = 30;
167+
kMirror = 31;
168+
kNightstand = 32;
169+
kOven = 33;
170+
kPetBed = 34;
171+
kPetBowl = 35;
172+
kPetCrate = 36;
173+
kRefrigerator = 37;
174+
kScratchingPost = 38;
175+
kShoeRack = 39;
176+
kShower = 40;
177+
kSideDoor = 41;
178+
kSink = 42;
179+
kSofa = 43;
180+
kStove = 44;
181+
kTable = 45;
182+
kToilet = 46;
183+
kTrashCan = 47;
184+
kLaundryWasher = 48;
185+
kWindow = 49;
186+
kWineCooler = 50;
187+
}
188+
189+
enum PositionTag : enum8 {
190+
kLeft = 0;
191+
kRight = 1;
192+
kTop = 2;
193+
kBottom = 3;
194+
kMiddle = 4;
195+
kRow = 5;
196+
kColumn = 6;
197+
}
198+
199+
enum RelativePositionTag : enum8 {
200+
kUnder = 0;
201+
kNextTo = 1;
202+
kAround = 2;
203+
kOn = 3;
204+
kAbove = 4;
205+
kFrontOf = 5;
206+
kBehind = 6;
207+
}
208+
4209
enum TestGlobalEnum : enum8 {
5210
kSomeValue = 0;
6211
kSomeOtherValue = 1;
@@ -18,6 +223,17 @@ struct TestGlobalStruct {
18223
optional nullable TestGlobalEnum myEnum = 2;
19224
}
20225

226+
struct LocationDescriptorStruct {
227+
char_string<128> locationName = 0;
228+
nullable int16s floorNumber = 1;
229+
nullable AreaTypeTag areaType = 2;
230+
}
231+
232+
struct AtomicAttributeStatusStruct {
233+
attrib_id attributeID = 0;
234+
status statusCode = 1;
235+
}
236+
21237
/** The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its endpoints and clusters. */
22238
cluster Descriptor = 29 {
23239
revision 2;
@@ -1210,6 +1426,7 @@ provisional cluster ThreadBorderRouterManagement = 1106 {
12101426
provisional readonly attribute int16u threadVersion = 2;
12111427
provisional readonly attribute boolean interfaceEnabled = 3;
12121428
provisional readonly attribute nullable int64u activeDatasetTimestamp = 4;
1429+
provisional readonly attribute nullable int64u pendingDatasetTimestamp = 5;
12131430
readonly attribute command_id generatedCommandList[] = 65528;
12141431
readonly attribute command_id acceptedCommandList[] = 65529;
12151432
readonly attribute event_id eventList[] = 65530;
@@ -1485,6 +1702,7 @@ endpoint 1 {
14851702
callback attribute threadVersion;
14861703
callback attribute interfaceEnabled;
14871704
callback attribute activeDatasetTimestamp;
1705+
callback attribute pendingDatasetTimestamp;
14881706
callback attribute generatedCommandList;
14891707
callback attribute acceptedCommandList;
14901708
callback attribute eventList;

examples/thread-br-app/thread-br-common/thread-br-app.zap

+16
Original file line numberDiff line numberDiff line change
@@ -2903,6 +2903,22 @@
29032903
"maxInterval": 65534,
29042904
"reportableChange": 0
29052905
},
2906+
{
2907+
"name": "PendingDatasetTimestamp",
2908+
"code": 5,
2909+
"mfgCode": null,
2910+
"side": "server",
2911+
"type": "int64u",
2912+
"included": 1,
2913+
"storageOption": "External",
2914+
"singleton": 0,
2915+
"bounded": 0,
2916+
"defaultValue": "",
2917+
"reportable": 1,
2918+
"minInterval": 1,
2919+
"maxInterval": 65534,
2920+
"reportableChange": 0
2921+
},
29062922
{
29072923
"name": "GeneratedCommandList",
29082924
"code": 65528,

0 commit comments

Comments
 (0)