blob: e836b98ba2ffdfa5f8cdb1d69dc407184538568e [file] [log] [blame]
# Copyright (c) 2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default
name: 3.1.4. [TC-BR-4] DUT client handling of bridges (DUT client)
PICS:
- MCORE.BRIDGECLIENT
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "Note"
verification: |
For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command.
disabled: true
- label:
"Start bridge-app on TH. Commission TH to DUT. Monitor traffic between
DUT and TH."
verification: |
sudo ./chip-bridge-app
./chip-tool pairing ethernet 1 20202021 3840 fe80::e65f:1ff:fe0f:2753 5540
Verify DeviceTypeList for available EP
./chip-tool descriptor read device-list 1 1
Verify in TH(all-clusters-app) Log:
[1657002313.871608][3977:3982] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3021853414
[1657002313.871680][3977:3982] CHIP:TOO: device list: 1 entries
[1657002313.871740][3977:3982] CHIP:TOO: [1]: {
[1657002313.871788][3977:3982] CHIP:TOO: Type: 14
[1657002313.871821][3977:3982] CHIP:TOO: Revision: 1
[1657002313.871852][3977:3982] :TOOCHIP: }
./chip-tool descriptor read device-list 1 3
Verify in TH(all-clusters-app) Log:
[1657002329.438065][3983:3988] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2452512872
[1657002329.438135][3983:3988] CHIP:TOO: device list: 2 entries
[1657002329.438193][3983:3988] CHIP:TOO: [1]: {
[1657002329.438238][3983:3988] CHIP:TOO: Type: 256
[1657002329.438269][3983:3988] CHIP:TOO: Revision: 1
[1657002329.438298][3983:3988] CHIP:TOO: }
[1657002329.438332][3983:3988] CHIP:TOO: [2]: {
[1657002329.438360][3983:3988] CHIP:TOO: Type: 19
[1657002329.438389][3983:3988] CHIP:TOO: Revision: 1
[1657002329.438416][3983:3988] CHIP:TOO: }
./chip-tool descriptor read device-list 1 4
Verify in TH(all-clusters-app) Log:
[1657002348.693948][3989:3994] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1398882309
[1657002348.694013][3989:3994] CHIP:TOO: device list: 2 entries
[1657002348.694063][3989:3994] CHIP:TOO: [1]: {
[1657002348.694100][3989:3994] CHIP:TOO: Type: 259
[1657002348.694125][3989:3994] CHIP:TOO: Revision: 1
[1657002348.694149][3989:3994] CHIP:TOO: }
[1657002348.694176][3989:3994] CHIP:TOO: [2]: {
[1657002348.694199][3989:3994] CHIP:TOO: Type: 19
[1657002348.694221][3989:3994] CHIP:TOO: Revision: 1
[1657002348.694242][3989:3994] CHIP:TOO: }
./chip-tool descriptor read device-list 1 5
Verify in TH(all-clusters-app) Log:
[1657002369.589492][3996:4001] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 130458766
[1657002369.589556][3996:4001] CHIP:TOO: device list: 2 entries
[1657002369.589610][3996:4001] CHIP:TOO: [1]: {
[1657002369.589653][3996:4001] CHIP:TOO: Type: 259
[1657002369.589682][3996:4001] CHIP:TOO: Revision: 1
[1657002369.589710][3996:4001] CHIP:TOO: }
[1657002369.589742][3996:4001] CHIP:TOO: [2]: {
[1657002369.589768][3996:4001] CHIP:TOO: Type: 19
[1657002369.589794][3996:4001] CHIP:TOO: Revision: 1
[1657002369.589819][3996:4001] CHIP:TOO: }
./chip-tool descriptor read device-list 1 6
Verify in TH(all-clusters-app) Log:
[1657002386.484093][4002:4007] CHIP:TOO: Endpoint: 6 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 295450100
[1657002386.484155][4002:4007] CHIP:TOO: device list: 1 entries
[1657002386.484255][4002:4007] CHIP:TOO: [1]: {
[1657002386.484302][4002:4007] CHIP:TOO: Type: 19
[1657002386.484332][4002:4007] CHIP:TOO: Revision: 1
[1657002386.484361][4002:4007] CHIP:TOO: }
./chip-tool descriptor read device-list 1 7
Verify in TH(all-clusters-app) Log:
[1657002413.721927][4015:4020] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2117104859
[1657002413.721981][4015:4020] CHIP:TOO: device list: 1 entries
[1657002413.722028][4015:4020] CHIP:TOO: [1]: {
[1657002413.722065][4015:4020] CHIP:TOO: Type: 259
[1657002413.722090][4015:4020] CHIP:TOO: Revision: 1
[1657002413.722113][4015:4020] CHIP:TOO: }
./chip-tool descriptor read device-list 1 8
Verify in TH(all-clusters-app) Log:
[1657002436.415904][4034:4039] CHIP:TOO: Endpoint: 8 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2026786918
[1657002436.415972][4034:4039] CHIP:TOO: device list: 1 entries
[1657002436.416033][4034:4039] CHIP:TOO: [1]: {
[1657002436.416081][4034:4039] CHIP:TOO: Type: 259
[1657002436.416115][4034:4039] CHIP:TOO: Revision: 1
[1657002436.416146][4034:4039] CHIP:TOO: }
./chip-tool descriptor read device-list 1 9
Verify in TH(all-clusters-app) Log:
[1657002455.445818][4040:4045] CHIP:TOO: Endpoint: 9 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 913116116
[1657002455.445883][4040:4045] CHIP:TOO: device list: 1 entries
[1657002455.445944][4040:4045] CHIP:TOO: [1]: {
[1657002455.445991][4040:4045] CHIP:TOO: Type: 17
[1657002455.446025][4040:4045] CHIP:TOO: Revision: 1
[1657002455.446056][4040:4045] CHIP:TOO: }
./chip-tool descriptor read device-list 1 10
Verify in TH(all-clusters-app) Log:
[1657002473.100910][4047:4052] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 259205426
[1657002473.100967][4047:4052] CHIP:TOO: device list: 2 entries
[1657002473.101013][4047:4052] CHIP:TOO: [1]: {
[1657002473.101051][4047:4052] CHIP:TOO: Type: 256
[1657002473.101076][4047:4052] CHIP:TOO: Revision: 1
[1657002473.101098][4047:4052] CHIP:TOO: }
[1657002473.101126][4047:4052] CHIP:TOO: [2]: {
[1657002473.101148][4047:4052] CHIP:TOO: Type: 19
[1657002473.101170][4047:4052] CHIP:TOO: Revision: 1
[1657002473.101192][4047:4052] CHIP:TOO: }
./chip-tool descriptor read device-list 1 11
Verify in TH(all-clusters-app) Log:
[1657002495.856770][4061:4066] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 4248421677
[1657002495.856836][4061:4066] CHIP:TOO: device list: 2 entries
[1657002495.856893][4061:4066] CHIP:TOO: [1]: {
[1657002495.856938][4061:4066] CHIP:TOO: Type: 256
[1657002495.856968][4061:4066] CHIP:TOO: Revision: 1
[1657002495.856996][4061:4066] CHIP:TOO: }
[1657002495.857030][4061:4066] CHIP:TOO: [2]: {
[1657002495.857058][4061:4066] CHIP:TOO: Type: 19
[1657002495.857085][4061:4066] CHIP:TOO: Revision: 1
[1657002495.857112][4061:4066] CHIP:TOO: }
./chip-tool descriptor read device-list 1 12
Verify in TH(all-clusters-app) Log:
[1657002515.862187][4073:4078] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2731599835
[1657002515.862249][4073:4078] CHIP:TOO: device list: 2 entries
[1657002515.862302][4073:4078] CHIP:TOO: [1]: {
[1657002515.862343][4073:4078] CHIP:TOO: Type: 256
[1657002515.862372][4073:4078] CHIP:TOO: Revision: 1
[1657002515.862398][4073:4078] CHIP:TOO: }
[1657002515.862429][4073:4078] CHIP:TOO: [2]: {
[1657002515.862455][4073:4078] CHIP:TOO: Type: 19
[1657002515.862480][4073:4078] CHIP:TOO: Revision: 1
[1657002515.862504][4073:4078] CHIP:TOO: }
./chip-tool descriptor read device-list 1 13
Verify in TH(all-clusters-app) Log:
[1657002538.134605][4097:4102] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3449178249
[1657002538.134700][4097:4102] CHIP:TOO: device list: 2 entries
[1657002538.134784][4097:4102] CHIP:TOO: [1]: {
[1657002538.134869][4097:4102] CHIP:TOO: Type: 256
[1657002538.134916][4097:4102] CHIP:TOO: Revision: 1
[1657002538.134973][4097:4102] CHIP:TOO: }
[1657002538.135025][4097:4102] CHIP:TOO: [2]: {
[1657002538.135083][4097:4102] CHIP:TOO: Type: 19
[1657002538.135126][4097:4102] CHIP:TOO: Revision: 1
[1657002538.135166][4097:4102] CHIP:TOO: }
Verify PartsList for available EP
./chip-tool descriptor read parts-list 1 0
Verify in TH(all-clusters-app) Log:
[1657002201.045720][3893:3899] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3573910940
[1657002201.045841][3893:3899] CHIP:TOO: parts list: 12 entries
[1657002201.045887][3893:3899] CHIP:TOO: [1]: 1
[1657002201.045925][3893:3899] CHIP:TOO: [2]: 3
[1657002201.045963][3893:3899] CHIP:TOO: [3]: 4
[1657002201.046000][3893:3899] CHIP:TOO: [4]: 5
[1657002201.046037][3893:3899] CHIP:TOO: [5]: 6
[1657002201.046073][3893:3899] CHIP:TOO: [6]: 7
[1657002201.046110][3893:3899] CHIP:TOO: [7]: 8
[1657002201.046147][3893:3899] CHIP:TOO: [8]: 9
[1657002201.046184][3893:3899] CHIP:TOO: [9]: 10
[1657002201.046221][3893:3899] CHIP:TOO: [10]: 11
[1657002201.046259][3893:3899] CHIP:TOO: [11]: 12
[1657002201.046296][3893:3899] CHIP:TOO: [12]: 13
./chip-tool descriptor read device-list 1 3
Verify in TH(all-clusters-app) Log:
[1657002843.395988][4135:4140] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2452512872
[1657002843.396058][4135:4140] CHIP:TOO: device list: 2 entries
[1657002843.396112][4135:4140] CHIP:TOO: [1]: {
[1657002843.396154][4135:4140] CHIP:TOO: Type: 256
[1657002843.396204][4135:4140] CHIP:TOO: Revision: 1
[1657002843.396232][4135:4140] CHIP:TOO: }
[1657002843.396265][4135:4140] CHIP:TOO: [2]: {
[1657002843.396291][4135:4140] CHIP:TOO: Type: 19
[1657002843.396317][4135:4140] CHIP:TOO: Revision: 1
[1657002843.396342][4135:4140] CHIP:TOO: }
./chip-tool descriptor read device-list 1 4
Verify in TH(all-clusters-app) Log:
[1657002927.992247][4143:4148] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1398882309
[1657002927.992309][4143:4148] CHIP:TOO: device list: 2 entries
[1657002927.992362][4143:4148] CHIP:TOO: [1]: {
[1657002927.992405][4143:4148] CHIP:TOO: Type: 259
[1657002927.992434][4143:4148] CHIP:TOO: Revision: 1
[1657002927.992459][4143:4148] CHIP:TOO: }
[1657002927.992490][4143:4148] CHIP:TOO: [2]: {
[1657002927.992516][4143:4148] CHIP:TOO: Type: 19
[1657002927.992542][4143:4148] CHIP:TOO: Revision: 1
[1657002927.992567][4143:4148] CHIP:TOO: }
./chip-tool descriptor read device-list 1 5
Verify in TH(all-clusters-app) Log:
[1657002949.332151][4156:4161] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 130458766
[1657002949.332245][4156:4161] CHIP:TOO: device list: 2 entries
[1657002949.332294][4156:4161] CHIP:TOO: [1]: {
[1657002949.332332][4156:4161] CHIP:TOO: Type: 259
[1657002949.332356][4156:4161] CHIP:TOO: Revision: 1
[1657002949.332379][4156:4161] CHIP:TOO: }
[1657002949.332405][4156:4161] CHIP:TOO: [2]: {
[1657002949.332427][4156:4161] CHIP:TOO: Type: 19
[1657002949.332449][4156:4161] CHIP:TOO: Revision: 1
[1657002949.332470][4156:4161] CHIP:TOO: }
./chip-tool descriptor read device-list 1 6
Verify in TH(all-clusters-app) Log:
[1657002965.947096][4163:4168] CHIP:TOO: Endpoint: 6 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 295450100
[1657002965.947150][4163:4168] CHIP:TOO: device list: 1 entries
[1657002965.947196][4163:4168] CHIP:TOO: [1]: {
[1657002965.947231][4163:4168] CHIP:TOO: Type: 19
[1657002965.947256][4163:4168] CHIP:TOO: Revision: 1
[1657002965.947278][4163:4168] CHIP:TOO: }
./chip-tool descriptor read device-list 1 7
Verify in TH(all-clusters-app) Log:
[1657002981.963307][4176:4181] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2117104859
[1657002981.963371][4176:4181] CHIP:TOO: device list: 1 entries
[1657002981.963429][4176:4181] CHIP:TOO: [1]: {
[1657002981.963474][4176:4181] CHIP:TOO: Type: 259
[1657002981.963505][4176:4181] CHIP:TOO: Revision: 1
[1657002981.963533][4176:4181] CHIP:TOO: }
./chip-tool descriptor read device-list 1 8
Verify in TH(all-clusters-app) Log:
[1657003007.476575][4183:4188] CHIP:TOO: Endpoint: 8 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2026786918
[1657003007.476635][4183:4188] CHIP:TOO: device list: 1 entries
[1657003007.476689][4183:4188] CHIP:TOO: [1]: {
[1657003007.476731][4183:4188] CHIP:TOO: Type: 259
[1657003007.476760][4183:4188] CHIP:TOO: Revision: 1
[1657003007.476786][4183:4188] CHIP:TOO: }
./chip-tool descriptor read device-list 1 9
Verify in TH(all-clusters-app) Log:
[1657003023.263333][4191:4196] CHIP:TOO: Endpoint: 9 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 913116116
[1657003023.263391][4191:4196] CHIP:TOO: device list: 1 entries
[1657003023.263443][4191:4196] CHIP:TOO: [1]: {
[1657003023.263484][4191:4196] CHIP:TOO: Type: 17
[1657003023.263512][4191:4196] CHIP:TOO: Revision: 1
[1657003023.263538][4191:4196] CHIP:TOO: }
./chip-tool descriptor read device-list 1 10
Verify in TH(all-clusters-app) Log:
[1657003044.071972][4204:4209] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 259205426
[1657003044.072037][4204:4209] CHIP:TOO: device list: 2 entries
[1657003044.072085][4204:4209] CHIP:TOO: [1]: {
[1657003044.072123][4204:4209] CHIP:TOO: Type: 256
[1657003044.072149][4204:4209] CHIP:TOO: Revision: 1
[1657003044.072195][4204:4209] CHIP:TOO: }
[1657003044.072227][4204:4209] CHIP:TOO: [2]: {
[1657003044.072250][4204:4209] CHIP:TOO: Type: 19
[1657003044.072272][4204:4209] CHIP:TOO: Revision: 1
[1657003044.072295][4204:4209] CHIP:TOO: }
./chip-tool descriptor read device-list 1 11
Verify in TH(all-clusters-app) Log:
[1657003082.358311][4217:4222] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 4248421677
[1657003082.358379][4217:4222] CHIP:TOO: device list: 2 entries
[1657003082.358432][4217:4222] CHIP:TOO: [1]: {
[1657003082.358471][4217:4222] CHIP:TOO: Type: 256
[1657003082.358501][4217:4222] CHIP:TOO: Revision: 1
[1657003082.358529][4217:4222] CHIP:TOO: }
[1657003082.358563][4217:4222] CHIP:TOO: [2]: {
[1657003082.358591][4217:4222] CHIP:TOO: Type: 19
[1657003082.358619][4217:4222] CHIP:TOO: Revision: 1
[1657003082.358646][4217:4222] CHIP:TOO: }
./chip-tool descriptor read device-list 1 12
Verify in TH(all-clusters-app) Log:
[1657003103.954911][4248:4253] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2731599835
[1657003103.954986][4248:4253] CHIP:TOO: device list: 2 entries
[1657003103.955050][4248:4253] CHIP:TOO: [1]: {
[1657003103.955095][4248:4253] CHIP:TOO: Type: 256
[1657003103.955125][4248:4253] CHIP:TOO: Revision: 1
[1657003103.955153][4248:4253] CHIP:TOO: }
[1657003103.955186][4248:4253] CHIP:TOO: [2]: {
[1657003103.955214][4248:4253] CHIP:TOO: Type: 19
[1657003103.955242][4248:4253] CHIP:TOO: Revision: 1
[1657003103.955269][4248:4253] CHIP:TOO: }
./chip-tool descriptor read device-list 1 13
Verify in TH(all-clusters-app) Log:
[1657003125.905572][4261:4266] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3449178249
[1657003125.905638][4261:4266] CHIP:TOO: device list: 2 entries
[1657003125.905687][4261:4266] CHIP:TOO: [1]: {
[1657003125.905723][4261:4266] CHIP:TOO: Type: 256
[1657003125.905750][4261:4266] CHIP:TOO: Revision: 1
[1657003125.905773][4261:4266] CHIP:TOO: }
[1657003125.905800][4261:4266] CHIP:TOO: [2]: {
[1657003125.905823][4261:4266] CHIP:TOO: Type: 19
[1657003125.905845][4261:4266] CHIP:TOO: Revision: 1
[1657003125.905867][4261:4266] CHIP:TOO: }
disabled: true
- label:
"Use TH/bridge-app to change the on/off state of one or more of the
bridged On/Off lights (use key c in the console to bridge-app)"
PICS: MCORE.DEVLIST.UseDeviceState
verification: |
Verify on DUT(chip-tool) Log
c
[1659089560.774328][12236:12241] CHIP:DL: Device[Light 1b]: ON
[1659089560.774681][12236:12236] CHIP:DMG: Endpoint 3, Cluster 0x0000_0006 update version to 83dcb371
Verify on TH(all-clusters-app) Log:
./chip-tool onoff read on-off 1 3
[1659089585.162599][8769:8774] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 2212279153
[1659089585.162714][8769:8774] CHIP:TOO: OnOff: TRUE
disabled: true
- label:
"Use TH/bridge-app to change the simulated temperature level of the
simulated temperature sensors (use key <tbd> in the console to
bridge-app)"
PICS: MCORE.DEVLIST.UseDeviceState
verification: |
Press a key "tbd" on bridge-app to change the simulated temperature
Verify on DUT(chip-tool) Log
[1659351537.115828][14237:14242] CHIP:DL: TempSensorDevice[TempSensor 1]: New measurement=""200""
[1659351537.115987][14237:14242] CHIP:DL: TempSensorDevice[TempSensor 2]: New measurement=""200""
[1659351537.116097][14237:14242] CHIP:DL: TempSensorDevice[Composed TempSensor 1]: New measurement=""200""
[1659351537.116158][14237:14237] CHIP:DMG: Endpoint 4, Cluster 0x0000_0402 update version to 8f732d69
[1659351537.116300][14237:14237] CHIP:DMG: Endpoint 5, Cluster 0x0000_0402 update version to 36be37c5
[1659351537.116393][14237:14237] CHIP:DMG: Endpoint 7, Cluster 0x0000_0402 update version to 2cf2064d
[1659351537.116179][14237:14242] CHIP:DL: TempSensorDevice[Composed TempSensor 2]: New measurement=""200""
"
"./chip-tool temperaturemeasurement read measured-value 1 4
Verify on TH(all-clusters-app) Log:
expect to get a different value than step 7b
[1659351542.393349][12212:12217] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_0402 Attribute 0x0000_0000 DataVersion: 2406690153
[1659351542.393429][12212:12217] CHIP:TOO: MeasuredValue: 200
[1659351542.393552][12212:12217] CHIP:EM: Sending Standalone Ack for MessageCounter:120981971 on exchange 25924i
disabled: true
- label:
"Use the DUT to change the on/off state of one or more of the bridged
On/Off lights"
verification: |
./chip-tool onoff on 1 3
Verify on DUT(chip-tool) Log
[1658501274.507714][14425:14425] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0006 e=3 p=o
[1658501274.507760][14425:14425] CHIP:DMG: AccessControl: allowed
[1658501274.507789][14425:14425] CHIP:DMG: Received command for Endpoint=3 Cluster=0x0000_0006 Command=0x0000_0001
[1658501274.507829][14425:14425] CHIP:ZCL: On/Off set value: 3 1
[1658501274.507854][14425:14425] CHIP:DL: HandleReadOnOffAttribute: attrId=0, maxReadLength=1
[1658501274.507886][14425:14425] CHIP:ZCL: On/off already set to new value
./chip-tool onoff read on-off 1 3
Verify on TH(all-clusters-app) Log:
[1658501339.773125][35583:35588] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3868039507
[1658501339.773139][35583:35588] CHIP:TOO: OnOff: TRUE
disabled: true
- label:
"Use TH/bridge-app to rename a bridged light (use key b in the console
to bridge-app to rename Light 1 to Light 1b)"
PICS: MCORE.DEVLIST.UseDeviceNames
verification: |
./chip-tool bridgeddevicebasic read node-label 1 3
Verify on TH(all-clusters-app) Log:
[1659089932.160005][8810:8815] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0005 DataVersion: 3178625724
[1659089932.160111][8810:8815] CHIP:TOO: NodeLabel: Light 1
Verify on DUT(chip-tool) Log
"b
[1659089470.077297][12236:12241] CHIP:DL: Device[Light 1]: New Name=""Light 1b""
./chip-tool bridgeddevicebasic read node-label 1 3
Verify on TH(all-clusters-app) Log:
[1659352004.560327][12241:12246] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0005 DataVersion: 2321959095
[1659352004.560365][12241:12246] CHIP:TOO: NodeLabel: Light 1b
disabled: true
- label:
"Use TH/bridge-app to add a bridged light (use key 2 in the console to
bridge-app to add Light 2)"
verification: |
Verify on DUT(chip-tool) Log
2
[1659352274.915018][14237:14242] CHIP:DMG: Endpoint 1, Cluster 0x0000_001D update version to 7e918bae
[1659352274.915107][14237:14242] CHIP:DMG: Endpoint 0, Cluster 0x0000_001D update version to 7561f371
[1659352274.915166][14237:14242] CHIP:DL: Added device Light 2 to dynamic endpoint 14 (index=11)
./chip-tool descriptor read parts-list 1 0
Verify the endpoints listed in TH(all-clusters-app) Log
[1659352284.821350][12264:12269] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1969353585
[1659352284.821433][12264:12269] CHIP:TOO: parts list: 13 entries
[1659352284.821470][12264:12269] CHIP:TOO: [1]: 1
[1659352284.821500][12264:12269] CHIP:TOO: [2]: 3
[1659352284.821529][12264:12269] CHIP:TOO: [3]: 4
[1659352284.821557][12264:12269] CHIP:TOO: [4]: 5
[1659352284.821586][12264:12269] CHIP:TOO: [5]: 6
[1659352284.821614][12264:12269] CHIP:TOO: [6]: 7
[1659352284.821642][12264:12269] CHIP:TOO: [7]: 8
[1659352284.821670][12264:12269] CHIP:TOO: [8]: 9
[1659352284.821698][12264:12269] CHIP:TOO: [9]: 10
[1659352284.821726][12264:12269] CHIP:TOO: [10]: 11
[1659352284.821755][12264:12269] CHIP:TOO: [11]: 12
[1659352284.821784][12264:12269] CHIP:TOO: [12]: 13
[1659352284.821812][12264:12269] CHIP:TOO: [13]: 14
"
./chip-tool descriptor read parts-list 1 1
Verify the list contains 11 entries in TH(all-clusters-app) Log
[1659352298.310126][12270:12275] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2123467694
[1659352298.310213][12270:12275] CHIP:TOO: parts list: 12 entries
[1659352298.310248][12270:12275] CHIP:TOO: [1]: 3
[1659352298.310277][12270:12275] CHIP:TOO: [2]: 4
[1659352298.310304][12270:12275] CHIP:TOO: [3]: 5
[1659352298.310330][12270:12275] CHIP:TOO: [4]: 6
[1659352298.310356][12270:12275] CHIP:TOO: [5]: 7
[1659352298.310381][12270:12275] CHIP:TOO: [6]: 8
[1659352298.310407][12270:12275] CHIP:TOO: [7]: 9
[1659352298.310433][12270:12275] CHIP:TOO: [8]: 10
[1659352298.310459][12270:12275] CHIP:TOO: [9]: 11
[1659352298.310485][12270:12275] CHIP:TOO: [10]: 12
[1659352298.310512][12270:12275] CHIP:TOO: [11]: 13
[1659352298.310538][12270:12275] CHIP:TOO: [12]: 14
[1659352298.310687][12270:12275] CHIP:EM: Sending Standalone Ack for MessageCounter:4449538 on exchange 4393i
./chip-tool descriptor read parts-list 1 14
Verify on TH(all-clusters-app) Log
[1659352316.442844][12276:12281] CHIP:TOO: Endpoint: 14 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3417142897
[1659352316.442927][12276:12281] CHIP:TOO: parts list: 0 entries
[1659352316.443042][12276:12281] CHIP:EM: Sending Standalone Ack for MessageCounter:85433161 on exchange 30040i
./chip-tool descriptor read device-list 1 14
Verify the list contains 11 entries in TH(all-clusters-app) Log
[1659352346.719522][12283:12288] CHIP:TOO: Endpoint: 14 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3417142897
[1659352346.719601][12283:12288] CHIP:TOO: device list: 2 entries
[1659352346.719645][12283:12288] CHIP:TOO: [1]: {
[1659352346.719675][12283:12288] CHIP:TOO: Type: 256
[1659352346.719704][12283:12288] CHIP:TOO: Revision: 1
[1659352346.719732][12283:12288] CHIP:TOO: }
[1659352346.719766][12283:12288] CHIP:TOO: [2]: {
[1659352346.719794][12283:12288] CHIP:TOO: Type: 19
[1659352346.719822][12283:12288] CHIP:TOO: Revision: 1
[1659352346.719849][12283:12288] CHIP:TOO: }
[1659352346.719958][12283:12288] CHIP:EM: Sending Standalone Ack fo
disabled: true
- label:
"Use TH/bridge-app to remove a bridged light (use key 4 in the console
to bridge-app to remove Light 1b)"
verification: |
./chip-tool descriptor read parts-list 1 0
Verify on TH(all-clusters-app) Log:
[1659352461.553715][12295:12300] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 1969353586
[1659352461.553848][12295:12300] CHIP:TOO: parts list: 12 entries
[1659352461.553882][12295:12300] CHIP:TOO: [1]: 1
[1659352461.553910][12295:12300] CHIP:TOO: [2]: 4
[1659352461.553936][12295:12300] CHIP:TOO: [3]: 5
[1659352461.553961][12295:12300] CHIP:TOO: [4]: 6
[1659352461.553987][12295:12300] CHIP:TOO: [5]: 7
[1659352461.554013][12295:12300] CHIP:TOO: [6]: 8
[1659352461.554038][12295:12300] CHIP:TOO: [7]: 9
[1659352461.554064][12295:12300] CHIP:TOO: [8]: 10
[1659352461.554090][12295:12300] CHIP:TOO: [9]: 11
[1659352461.554116][12295:12300] CHIP:TOO: [10]: 12
[1659352461.554142][12295:12300] CHIP:TOO: [11]: 13
[1659352461.554168][12295:12300] CHIP:TOO: [12]: 14
./chip-tool descriptor read parts-list 1 1
Verify on TH(all-clusters-app) Log:
[1659352492.227696][12302:12307] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 2123467695
[1659352492.227770][12302:12307] CHIP:TOO: parts list: 11 entries
[1659352492.227804][12302:12307] CHIP:TOO: [1]: 4
[1659352492.227831][12302:12307] CHIP:TOO: [2]: 5
[1659352492.227857][12302:12307] CHIP:TOO: [3]: 6
[1659352492.227883][12302:12307] CHIP:TOO: [4]: 7
[1659352492.227909][12302:12307] CHIP:TOO: [5]: 8
[1659352492.227934][12302:12307] CHIP:TOO: [6]: 9
[1659352492.227960][12302:12307] CHIP:TOO: [7]: 10
[1659352492.227986][12302:12307] CHIP:TOO: [8]: 11
[1659352492.228012][12302:12307] CHIP:TOO: [9]: 12
[1659352492.228038][12302:12307] CHIP:TOO: [10]: 13
[1659352492.228063][12302:12307] CHIP:TOO: [11]: 14
disabled: true