1
- # Copyright (c) 2024 Project CHIP Authors
1
+ # Copyright (c) 2023 Project CHIP Authors
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
@@ -22,73 +22,73 @@ PICS:
22
22
23
23
config :
24
24
nodeId : 0x12344321
25
- cluster : " Basic Information "
26
- endpoint : 0
25
+ cluster : " ContentAppObserver "
26
+ endpoint : 1
27
27
28
28
tests :
29
+ - label : " Step 0: Wait for the commissioned device to be retrieved"
30
+ cluster : " DelayCommands"
31
+ command : " WaitForCommissionee"
32
+ arguments :
33
+ values :
34
+ - name : " nodeId"
35
+ value : nodeId
36
+
29
37
- label : " Step 1: TH reads the ClusterRevision attribute from the DUT"
30
- verification : |
31
- ./chip-tool contentappobserver read cluster-revision 1 1
32
- Verify " ClusterRevision " value is of unit16 and reflects the highest revision number on the TH(Chip-tool) Log, in RPI the value of ClusterRevision is 1
33
- [1702624923.223245][5892:5894] CHIP:DMG: InteractionModelRevision = 11
34
- [1702624923.223299][5892:5894] CHIP:DMG: }
35
- [1702624923.223652][5892:5894] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFD DataVersion: 2272699478
36
- [1702624923.223820][5892:5894] CHIP:TOO: ClusterRevision: 1
37
- [1702624923.224324][5892:5894] CHIP:EM: <<< [E:5445i S:15084 M:255037238 (Ack:113660697)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
38
- [1702624923.224578][5892:5894] CHIP:EM: Flushed pending ack for MessageCounter:113660697 on exchange 5445i
39
- disabled : true
38
+ command : " readAttribute"
39
+ attribute : " ClusterRevision"
40
+ response :
41
+ value : 1
42
+ constraints :
43
+ type : int16u
40
44
41
45
- label : " Step 2: TH reads the FeatureMap attribute from the DUT"
42
- verification : |
43
- ./chip-tool contentappobserver read feature-map 1 1
44
- On TH, verify that DUT sends the FeatureMap attribute has the value 0 or returns a general error that the attribute is not supported
45
- [1702624956.728609][5896:5898] CHIP:DMG: SuppressResponse = true,
46
- [1702624956.728667][5896:5898] CHIP:DMG: InteractionModelRevision = 11
47
- [1702624956.728720][5896:5898] CHIP:DMG: }
48
- [1702624956.729021][5896:5898] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFC DataVersion: 2272699478
49
- [1702624956.729138][5896:5898] CHIP:TOO: FeatureMap: 0
50
- [1702624956.729564][5896:5898] CHIP:EM: <<< [E:26717i S:26806 M:11352307 (Ack:31492418)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
51
- disabled : true
46
+ command : " readAttribute"
47
+ attribute : " FeatureMap"
48
+ response :
49
+ value : 0
50
+ constraints :
51
+ type : bitmap32
52
+
53
+ - label : " Step 3: TH reads the AttributeList attribute from the DUT"
54
+ PICS : PICS_EVENT_LIST_ENABLED
55
+ command : " readAttribute"
56
+ attribute : " AttributeList"
57
+ response :
58
+ constraints :
59
+ type : list
60
+ contains : [65528, 65529, 65530, 65531, 65532, 65533]
52
61
53
62
- label : " Step 3: TH reads the AttributeList attribute from the DUT"
54
- verification : |
55
- ./chip-tool contentappobserver read attribute-list 1 1
56
- Verify " AttributeList " value consists the list of mandatory attributes (65533, 65532, 65531, 65529, 65528) on the TH(Chip-tool) Log:
57
- [1702624983.367693][5900:5902] CHIP:DMG: }
58
- [1702624983.368044][5900:5902] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFB DataVersion: 2272699478
59
- [1702624983.368485][5900:5902] CHIP:TOO: AttributeList: 5 entries
60
- [1702624983.368564][5900:5902] CHIP:TOO: [1]: 65528
61
- [1702624983.368624][5900:5902] CHIP:TOO: [2]: 65529
62
- [1702624983.368683][5900:5902] CHIP:TOO: [3]: 65531
63
- [1702624983.368741][5900:5902] CHIP:TOO: [4]: 65532
64
- [1702624983.368798][5900:5902] CHIP:TOO: [5]: 65533
65
- [1702624983.369236][5900:5902] CHIP:EM: <<< [E:55491i S:35892 M:103959395 (Ack:145764997)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
66
- disabled : true
63
+ PICS : " !PICS_EVENT_LIST_ENABLED"
64
+ command : " readAttribute"
65
+ attribute : " AttributeList"
66
+ response :
67
+ constraints :
68
+ type : list
69
+ contains : [65528, 65529, 65531, 65532, 65533]
67
70
68
71
- label : " Step 4: TH reads the AcceptedCommandList attribute from the DUT"
69
- verification : |
70
- ./chip-tool contentappobserver read accepted-command-list 1 1
71
- Verify " AcceptedCommandList " consists the list of mandatory commands(0)on the TH(Chip-tool) Log:
72
- [1702625012.494394][5905:5907] CHIP:DMG: }
73
- [1702625012.494619][5905:5907] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF9 DataVersion: 2272699478
74
- [1702625012.494697][5905:5907] CHIP:TOO: AcceptedCommandList: 1 entries
75
- [1702625012.494725][5905:5907] CHIP:TOO: [1]: 0
76
- [1702625012.494981][5905:5907] CHIP:EM: <<< [E:43961i S:9805 M:165451447 (Ack:180558712)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
77
- disabled : true
72
+ command : " readAttribute"
73
+ attribute : " AcceptedCommandList"
74
+ response :
75
+ constraints :
76
+ type : list
77
+ contains : [0]
78
78
79
79
- label : " Step 5: TH reads the GeneratedCommandList attribute from the DUT"
80
- verification : |
81
- ./chip-tool contentappobserver read generated-command-list 1 1
82
- Verify " GeneratedCommandList " consists the list of mandatory commands(1) on the TH(Chip-tool) Log:
83
- [1702625044.200661][5910:5912] CHIP:DMG: }
84
- [1702625044.201052][5910:5912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF8 DataVersion: 2272699478
85
- [1702625044.201230][5910:5912] CHIP:TOO: GeneratedCommandList: 1 entries
86
- [1702625044.201298][5910:5912] CHIP:TOO: [1]: 1
87
- [1702625044.201724][5910:5912] CHIP:EM: <<< [E:33891i S:27945 M:56965554 (Ack:52573112)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
88
- [1702625044.201956][5910:5912] CHIP:EM: Flushed pending ack for MessageCounter:52573112 on exchange 33891i
89
- disabled : true
80
+ command : " readAttribute"
81
+ attribute : " GeneratedCommandList"
82
+ response :
83
+ constraints :
84
+ type : list
85
+ contains : [1]
90
86
91
87
- label : " Step 6: TH reads the EventList attribute from the DUT"
92
- verification : |
93
- ./chip-tool contentappobserver read event-list 1 1
94
- disabled : true
88
+ PICS : PICS_EVENT_LIST_ENABLED
89
+ command : " readAttribute"
90
+ attribute : " EventList"
91
+ response :
92
+ value : []
93
+ constraints :
94
+ type : list
0 commit comments