You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TC-IDM-5.2: Fix status code in test and SDK (#33952)
* TC-IDM-5.2: Fix status code in test and SDK
Please see:
#33936
* Fix unit tests
We have unit tests! They didn't match the spec, but they exist!
One for two is still better than 0 for 2.
* Fix unit test
* Fix error on write request with incorrect timed request flag
Please see
#33952 (comment)
This was changed in the spec, but not in the SDK or unit tests.
The unit test here covers this, but we should consider adding it to
the cert testing as well. Please see
https://github.com/CHIP-Specifications/chip-test-plans/issues/4256
* fix write in test as well
[1649686333.696434][3252:3257] CHIP:IM: Received status response, status is 0x00 (SUCCESS)
105
-
[1649686333.696513][3252:3257] CHIP:EM: Piggybacking Ack for MessageCounter:3570360 on exchange: 28108i
106
-
[1649686333.696626][3252:3257] CHIP:IN: Prepared secure message 0xaaaae019e098 to 0x0000000000000001 (1) of type 0x8 and protocolId (0, 1) on exchange 28108i with MessageCounter:6840786.
107
-
[1649686333.696711][3252:3257] CHIP:IN: Sending encrypted msg 0xaaaae019e098 with MessageCounter:6840786 to 0x0000000000000001 (1) at monotonic time: 0000000000CE3312 msec
108
-
[1649686333.696989][3252:3257] CHIP:DMG: ICR moving to [CommandSen]
109
-
[1649686333.698938][3252:3257] CHIP:EM: Received message of type 0x1 with protocolId (0, 1) and MessageCounter:3570361 on exchange 28108i
110
-
[1649686333.699013][3252:3257] CHIP:EM: Found matching exchange: 28108i, Delegate: 0xffff68005c30
111
-
[1649686333.699089][3252:3257] CHIP:EM: Rxd Ack; Removing MessageCounter:6840786 from Retrans Table on exchange 28108i
112
-
[1649686333.699147][3252:3257] CHIP:EM: Removed CHIP MessageCounter:6840786 from RetransTable on exchange 28108i
113
-
[1649686333.699215][3252:3257] CHIP:DMG: ICR moving to [ResponseRe]
[1649686333.699585][3252:3257] CHIP:IM: Received status response, status is 0x7e (UNSUPPORTED_ACCESS)
120
-
[1649686333.699661][3252:3257] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS)
97
+
If the device being certified is Matter release 1.4 or later, verify DUT sends back a Status response with the TIMEOUT status code.
98
+
If the device being certified is Matter release 1.3 or earlier, verify the DUT sends back a Status response with either TIMEOUT or UNSUPPORTED_ACCESS status code.
99
+
100
+
[1718641649.158222][1587554:1587556] CHIP:EM: Rxd Ack; Removing MessageCounter:70404585 from Retrans Table on exchange 44026i
101
+
[1718641649.158241][1587554:1587556] CHIP:DMG: ICR moving to [ResponseRe]
[1654771611.106244][28715:28720] CHIP:IM: Received status response, status is 0x7e (UNSUPPORTED_ACCESS)
140
-
[1654771611.106280][28715:28720] CHIP:TOO: Error: IM Error 0x0000057E: General error: 0x7e (UNSUPPORTED_ACCESS)
141
-
[1654771611.106303][28715:28720] CHIP:DMG: WriteClient moving to [AwaitingDe]
120
+
If the device being certified is Matter release 1.4 or later, verify DUT sends back a Status response with the TIMEOUT status code.
121
+
If the device being certified is Matter release 1.3 or earlier, verify the DUT sends back a Status response with either TIMEOUT or UNSUPPORTED_ACCESS status code.
122
+
123
+
[1720104134.620521][3325282:3325284] CHIP:DMG: WriteClient moving to [ResponseRe]
0 commit comments