Commit b253aab
authored
PDC/NETIM: Align implementation with latest spec (project-chip#72074)
* Update cluster XML based on latest spec updates
See CHIP-Specifications/connectedhomeip-spec#12939
* zap regen
* PDC/NETIM: Align implementation with latest spec
- Add ClientIndex as a query option to QueryIdentity
- Add ClientIdentityType to ClientStruct and store in the storage layer
- Reject future NASS timestamps in ImportAdminSecret if the clock is
synchronized
* Make ClangTidy happy and use MockClock for all cluster test cases
Also do time math in Seconds32 and factor out a named constant for max skew.1 parent a015d5c commit b253aab
34 files changed
Lines changed: 360 additions & 81 deletions
File tree
- examples/network-manager-app/network-manager-common
- src
- app
- clusters/network-identity-management-server
- tests
- zap-templates/zcl/data-model/chip
- controller
- data_model
- java
- generated/java
- chip/devicecontroller
- cluster/structs
- matter/controller/cluster
- clusters
- structs
- zap-generated
- python/matter/clusters
- darwin/Framework/CHIP/zap-generated
- zzz_generated
- app-common/clusters/NetworkIdentityManagement
- chip-tool/zap-generated/cluster
- logging
- darwin-framework-tool/zap-generated/cluster
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1507 | 1507 | | |
1508 | 1508 | | |
1509 | 1509 | | |
1510 | | - | |
| 1510 | + | |
1511 | 1511 | | |
1512 | 1512 | | |
1513 | 1513 | | |
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
1525 | | - | |
| 1525 | + | |
| 1526 | + | |
1526 | 1527 | | |
1527 | 1528 | | |
1528 | 1529 | | |
| |||
1550 | 1551 | | |
1551 | 1552 | | |
1552 | 1553 | | |
1553 | | - | |
| 1554 | + | |
| 1555 | + | |
1554 | 1556 | | |
1555 | 1557 | | |
1556 | 1558 | | |
| |||
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
175 | 177 | | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
511 | 514 | | |
512 | 515 | | |
513 | 516 | | |
514 | | - | |
515 | 517 | | |
516 | 518 | | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
517 | 524 | | |
518 | 525 | | |
519 | 526 | | |
| |||
885 | 892 | | |
886 | 893 | | |
887 | 894 | | |
| 895 | + | |
888 | 896 | | |
889 | 897 | | |
890 | 898 | | |
| |||
917 | 925 | | |
918 | 926 | | |
919 | 927 | | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
920 | 934 | | |
921 | 935 | | |
922 | 936 | | |
| |||
Lines changed: 37 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
258 | 278 | | |
259 | 279 | | |
260 | 280 | | |
| |||
399 | 419 | | |
400 | 420 | | |
401 | 421 | | |
402 | | - | |
| 422 | + | |
403 | 423 | | |
404 | 424 | | |
405 | 425 | | |
| 426 | + | |
406 | 427 | | |
407 | 428 | | |
408 | 429 | | |
| |||
425 | 446 | | |
426 | 447 | | |
427 | 448 | | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
428 | 455 | | |
429 | 456 | | |
430 | 457 | | |
| |||
457 | 484 | | |
458 | 485 | | |
459 | 486 | | |
460 | | - | |
| 487 | + | |
| 488 | + | |
461 | 489 | | |
462 | 490 | | |
463 | 491 | | |
464 | 492 | | |
465 | 493 | | |
466 | 494 | | |
467 | 495 | | |
468 | | - | |
469 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
470 | 499 | | |
471 | 500 | | |
472 | 501 | | |
| |||
515 | 544 | | |
516 | 545 | | |
517 | 546 | | |
| 547 | + | |
518 | 548 | | |
519 | 549 | | |
520 | 550 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
| |||
Lines changed: 22 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
175 | 177 | | |
176 | | - | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
187 | | - | |
188 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
189 | 192 | | |
190 | 193 | | |
191 | 194 | | |
192 | 195 | | |
193 | | - | |
| 196 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
0 commit comments