Skip to content

Commit

Permalink
Fixes issue: 109, 110, 111, 112, 113, 114, 115, 116
Browse files Browse the repository at this point in the history
TC-CNET-4.1
TC-CONTENTLAUNCHER-10.4
TC-DRYERCTRL-2.1
TC-MEDIAPLAYBACK-6.8
TC-MEDIAPLAYBACK-6.9
TC-MEDIAPLAYBACK-6.10
TC-OTCCM-1.2
  • Loading branch information
manjunath-grl committed Jan 29, 2024
1 parent 96f57e6 commit 63e71b1
Show file tree
Hide file tree
Showing 8 changed files with 378 additions and 269 deletions.
3 changes: 2 additions & 1 deletion src/app/tests/suites/certification/Test_TC_CNET_4_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,6 @@ tests:
attribute: "SupportedWiFiBands"
response:
constraints:
type: enum8
type: list
minLength: 1
maxLength: 6
Original file line number Diff line number Diff line change
Expand Up @@ -36,40 +36,66 @@ tests:
verification: |
Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner) or tv-casting-app (when DUT is a commissionee):
./chip-tool contentlauncher launch-content '{"parameterList": []}' 1 1 1
./chip-tv-casting-app contentlauncher launch-content '{"parameterList": []}' 1 1 1
./chip-tool contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 '{"playbackPosition": 0, "textTrack": {"languageCode": "", "audioOutputIndex": 0}}' 1 1
On TH (tv-app), Verify the launch content command is received successfully.
[1658531449325] [21924:325733] CHIP: [DMG] InvokeRequestMessage =
[1658531449325] [21924:325733] CHIP: [DMG] {
[1658531449325] [21924:325733] CHIP: [DMG] suppressResponse = false,
[1658531449325] [21924:325733] CHIP: [DMG] timedRequest = false,
[1658531449325] [21924:325733] CHIP: [DMG] InvokeRequests =
[1658531449325] [21924:325733] CHIP: [DMG] [
[1658531449325] [21924:325733] CHIP: [DMG] CommandDataIB =
[1658531449325] [21924:325733] CHIP: [DMG] {
[1658531449325] [21924:325733] CHIP: [DMG] CommandPathIB =
[1658531449325] [21924:325733] CHIP: [DMG] {
[1658531449325] [21924:325733] CHIP: [DMG] EndpointId = 0x1,
[1658531449325] [21924:325733] CHIP: [DMG] ClusterId = 0x50a,
[1658531449325] [21924:325733] CHIP: [DMG] CommandId = 0x0,
[1658531449325] [21924:325733] CHIP: [DMG] },
[1658531449325] [21924:325733] CHIP: [DMG]
[1658531449325] [21924:325733] CHIP: [DMG] CommandFields =
[1658531449325] [21924:325733] CHIP: [DMG] {
[1658531449325] [21924:325733] CHIP: [DMG] 0x0 =
[1658531449325] [21924:325733] CHIP: [DMG] {
[1658531449325] [21924:325733] CHIP: [DMG] 0x0 = [
[1658531449325] [21924:325733] CHIP: [DMG]
[1658531449326] [21924:325733] CHIP: [DMG] ],
[1658531449326] [21924:325733] CHIP: [DMG] },
[1658531449326] [21924:325733] CHIP: [DMG] 0x1 = true,
[1658531449326] [21924:325733] CHIP: [DMG] },
[1658531449326] [21924:325733] CHIP: [DMG] },
[1658531449326] [21924:325733] CHIP: [DMG]
[1658531449326] [21924:325733] CHIP: [DMG] ],
[1658531449326] [21924:325733] CHIP: [DMG]
[1658531449326] [21924:325733] CHIP: [DMG] InteractionModelRevision = 1
[1658531449326] [21924:325733] CHIP: [DMG] },
./chip-tv-casting-app contentlauncher launch-content '{"parameterList": [ { "type": 0, "value": "exampleString", "externalIDList": [ { "name": "exampleName", "value": "exampleValue"} ] } ] }' 0 '{"playbackPosition": 0, "textTrack": {"languageCode": "", "audioOutputIndex": 0}}' 1 1
On TH (tv-app), Verify the launch content command is received successfully.
[1706167504.647497][12245:12245] CHIP:EM: >>> [E:12537r S:1570 M:15519558] (S) Msg RX from 2:000000000001B669 [9F65] --- Type 0001:08 (IM:InvokeCommandRequest)
[1706167504.647555][12245:12245] CHIP:EM: Handling via exchange: 12537r, Delegate: 0xaaaac9aaa7c8
[1706167504.647660][12245:12245] CHIP:DMG: InvokeRequestMessage =
[1706167504.647694][12245:12245] CHIP:DMG: {
[1706167504.647719][12245:12245] CHIP:DMG: suppressResponse = false,
[1706167504.647748][12245:12245] CHIP:DMG: timedRequest = false,
[1706167504.647774][12245:12245] CHIP:DMG: InvokeRequests =
[1706167504.647822][12245:12245] CHIP:DMG: [
[1706167504.647853][12245:12245] CHIP:DMG: CommandDataIB =
[1706167504.647887][12245:12245] CHIP:DMG: {
[1706167504.647917][12245:12245] CHIP:DMG: CommandPathIB =
[1706167504.647953][12245:12245] CHIP:DMG: {
[1706167504.647987][12245:12245] CHIP:DMG: EndpointId = 0x1,
[1706167504.648023][12245:12245] CHIP:DMG: ClusterId = 0x50a,
[1706167504.648058][12245:12245] CHIP:DMG: CommandId = 0x0,
[1706167504.648090][12245:12245] CHIP:DMG: },
[1706167504.648124][12245:12245] CHIP:DMG:
[1706167504.648154][12245:12245] CHIP:DMG: CommandFields =
[1706167504.648186][12245:12245] CHIP:DMG: {
[1706167504.648217][12245:12245] CHIP:DMG: 0x0 =
[1706167504.648251][12245:12245] CHIP:DMG: {
[1706167504.648285][12245:12245] CHIP:DMG: 0x0 = [
[1706167504.648322][12245:12245] CHIP:DMG:
[1706167504.648362][12245:12245] CHIP:DMG: {
[1706167504.648404][12245:12245] CHIP:DMG: 0x0 = 0,
[1706167504.648449][12245:12245] CHIP:DMG: 0x1 = "exampleString" (13 chars),
[1706167504.648491][12245:12245] CHIP:DMG: 0x2 = [
[1706167504.648533][12245:12245] CHIP:DMG:
[1706167504.648583][12245:12245] CHIP:DMG: {
[1706167504.648630][12245:12245] CHIP:DMG: 0x0 = "exampleName" (11 chars),
[1706167504.648684][12245:12245] CHIP:DMG: 0x1 = "exampleValue" (12 chars),
[1706167504.648733][12245:12245] CHIP:DMG: },
[1706167504.648777][12245:12245] CHIP:DMG: ],
[1706167504.648819][12245:12245] CHIP:DMG: },
[1706167504.648859][12245:12245] CHIP:DMG: ],
[1706167504.648895][12245:12245] CHIP:DMG: },
[1706167504.648930][12245:12245] CHIP:DMG: 0x1 = false,
[1706167504.648963][12245:12245] CHIP:DMG: 0x3 =
[1706167504.648997][12245:12245] CHIP:DMG: {
[1706167504.649033][12245:12245] CHIP:DMG: 0x0 = 0,
[1706167504.649069][12245:12245] CHIP:DMG: 0x1 =
[1706167504.649107][12245:12245] CHIP:DMG: {
[1706167504.649147][12245:12245] CHIP:DMG: 0x0 = "" (0 chars),
[1706167504.649191][12245:12245] CHIP:DMG: 0x2 = 0,
[1706167504.649233][12245:12245] CHIP:DMG: },
[1706167504.649271][12245:12245] CHIP:DMG: },
[1706167504.649307][12245:12245] CHIP:DMG: },
[1706167504.649339][12245:12245] CHIP:DMG: },
[1706167504.649385][12245:12245] CHIP:DMG:
[1706167504.649412][12245:12245] CHIP:DMG: ],
[1706167504.649457][12245:12245] CHIP:DMG:
[1706167504.649484][12245:12245] CHIP:DMG: InteractionModelRevision = 11
[1706167504.649511][12245:12245] CHIP:DMG: },
[1706167504.649703][12245:12245] CHIP:DMG: AccessControl: checking f=2 a=c s=0x000000000001B669 t= c=0x0000_050A e=1 p=o
[1706167504.649746][12245:12245] CHIP:DMG: AccessControl: allowed
disabled: true
4 changes: 2 additions & 2 deletions src/app/tests/suites/certification/Test_TC_DRYERCTRL_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ tests:
response:
constraints:
type: list
maxLength: 16
maxLength: 4

- label:
"Step 3: TH reads from the DUT the mandatory attribute:
Expand All @@ -60,7 +60,7 @@ tests:
constraints:
type: enum8
minValue: 0
maxValue: 15
maxValue: 3

- label:
"Step 4:TH writes a supported SelectedDrynessLevel attribute that is
Expand Down
Loading

0 comments on commit 63e71b1

Please sign in to comment.