blob: 6dd4e4dc92422d940b0bab37cde487fab2590269 [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.2.6. [TC-OCC-3.2] Primary functionality with client as DUT
PICS:
- OCC.C
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "Commission TH to DUT"
verification: |
verification step to be updated.
disabled: true
- label: "DUT reads Occupancy attribute from TH"
PICS: OCC.C.A0000
verification: |
./chip-tool occupancysensing read occupancy 1 1
verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command
[1657906910.080564][2361:2361] CHIP:IM: Received Read request
[1657906910.080689][2361:2361] CHIP:DMG: ReadRequestMessage =
[1657906910.080758][2361:2361] CHIP:DMG: {
[1657906910.080799][2361:2361] CHIP:DMG: AttributePathIBs =
[1657906910.080846][2361:2361] CHIP:DMG: [
[1657906910.080907][2361:2361] CHIP:DMG: AttributePathIB =
[1657906910.080965][2361:2361] CHIP:DMG: {
[1657906910.081017][2361:2361] CHIP:DMG: Endpoint = 0x1,
[1657906910.081092][2361:2361] CHIP:DMG: Cluster = 0x406,
[1657906910.081152][2361:2361] CHIP:DMG: Attribute = 0x0000_0000,
[1657906910.081206][2361:2361] CHIP:DMG: }
[1657906910.081279][2361:2361] CHIP:DMG:
[1657906910.081331][2361:2361] CHIP:DMG: ],
[1657906910.081398][2361:2361] CHIP:DMG:
[1657906910.081449][2361:2361] CHIP:DMG: isFabricFiltered = true,
[1657906910.081496][2361:2361] CHIP:DMG: InteractionModelRevision = 1
[1657906910.081538][2361:2361] CHIP:DMG: },
disabled: true
- label: "Operate on TH to change the occupancy status"
PICS: OCC.M.OccupancyChange
verification: |
Logs will be device specific[Manual operation required]
disabled: true
- label: "after a few seconds, DUT reads Occupancy attribute from TH"
PICS: OCC.C.A0000
verification: |
./chip-tool occupancysensing read occupancy 1 1
verify On TH(Reference app) receives the right Read Request Message for the data sent in the above command
[1657906923.314549][2361:2361] CHIP:IM: Received Read request
[1657906923.314735][2361:2361] CHIP:DMG: ReadRequestMessage =
[1657906923.314792][2361:2361] CHIP:DMG: {
[1657906923.314838][2361:2361] CHIP:DMG: AttributePathIBs =
[1657906923.314899][2361:2361] CHIP:DMG: [
[1657906923.314949][2361:2361] CHIP:DMG: AttributePathIB =
[1657906923.315006][2361:2361] CHIP:DMG: {
[1657906923.315064][2361:2361] CHIP:DMG: Endpoint = 0x1,
[1657906923.315132][2361:2361] CHIP:DMG: Cluster = 0x406,
[1657906923.315199][2361:2361] CHIP:DMG: Attribute = 0x0000_0000,
[1657906923.315258][2361:2361] CHIP:DMG: }
[1657906923.315322][2361:2361] CHIP:DMG:
[1657906923.315380][2361:2361] CHIP:DMG: ],
[1657906923.315438][2361:2361] CHIP:DMG:
[1657906923.315497][2361:2361] CHIP:DMG: isFabricFiltered = true,
[1657906923.315560][2361:2361] CHIP:DMG: InteractionModelRevision = 1
[1657906923.315609][2361:2361] CHIP:DMG: },
disabled: true