Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't hardcode TBRM endpoint number in TC-TBRM-2.4 #35784

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions src/app/tests/suites/certification/Test_TC_TBRM_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ PICS:

config:
nodeId: 0x12344321
cluster: Thread Border Router Management
endpoint: 1

payload: "MT:-24J0AFN00KA0648G00"
discriminator: 3840
PakeVerifier:
EcmPayload: "MT:00000EBQ15J.JP67600"
EcmDiscriminator: 3501
EcmPakeVerifier:
type: octet_string
defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf"
defaultValue: "hex:d0e8a02db8629e9d172dfd40719c89204ff395651a6a2612839a71469880ec2404687d05cf0642b91242c712b5405b6905070c2a4bd80bdc8437ae5a2aded0cf3de91318d16f0ce9450d1c802cc01f39b8761de87cc7eeeb7f52b51308353da49a"

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand All @@ -47,9 +49,9 @@ tests:
- name: CommissioningTimeout
value: 180
- name: PAKEPasscodeVerifier
value: PakeVerifier
value: EcmPakeVerifier
- name: Discriminator
value: discriminator
value: EcmDiscriminator
- name: Iterations
value: 1000
- name: Salt
Expand All @@ -65,22 +67,18 @@ tests:
- name: nodeId
value: nodeId
- name: payload
value: payload
value: EcmPayload

- label:
"TH2 send GetActiveDatasetRequest command to the DUT in PASE session"
identity: beta
cluster: Thread Border Router Management
endpoint: 1
command: GetActiveDatasetRequest
response:
error: UNSUPPORTED_ACCESS

- label:
"TH2 send GetPendingDatasetRequest command to the DUT in PASE session"
identity: beta
cluster: Thread Border Router Management
endpoint: 1
command: GetPendingDatasetRequest
response:
error: UNSUPPORTED_ACCESS
Expand Down
14 changes: 7 additions & 7 deletions src/app/tests/suites/certification/Test_TC_THNETDIR_2_3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ config:
type: octet_string
defaultValue: "hex:39758ec8144b07fb"

payload: "MT:-24J0AFN00KA0648G00"
discriminator: 3840
PakeVerifier:
EcmPayload: "MT:00000EBQ15J.JP67600"
EcmDiscriminator: 3501
EcmPakeVerifier:
type: octet_string
defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf"
defaultValue: "hex:d0e8a02db8629e9d172dfd40719c89204ff395651a6a2612839a71469880ec2404687d05cf0642b91242c712b5405b6905070c2a4bd80bdc8437ae5a2aded0cf3de91318d16f0ce9450d1c802cc01f39b8761de87cc7eeeb7f52b51308353da49a"

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand All @@ -52,9 +52,9 @@ tests:
- name: CommissioningTimeout
value: 180
- name: PAKEPasscodeVerifier
value: PakeVerifier
value: EcmPakeVerifier
- name: Discriminator
value: discriminator
value: EcmDiscriminator
- name: Iterations
value: 1000
- name: Salt
Expand All @@ -70,7 +70,7 @@ tests:
- name: nodeId
value: nodeId
- name: payload
value: payload
value: EcmPayload

- label:
"TH2 sends GetOperationalDataset command to the DUT over the PASE
Expand Down
14 changes: 7 additions & 7 deletions src/app/tests/suites/certification/Test_TC_WIFINM_2_2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ config:
type: octet_string
defaultValue: "hex:39758ec8144b07fb"

payload: "MT:-24J0AFN00KA0648G00"
discriminator: 3840
PakeVerifier:
EcmPayload: "MT:00000EBQ15J.JP67600"
EcmDiscriminator: 3501
EcmPakeVerifier:
type: octet_string
defaultValue: "hex:b96170aae803346884724fe9a3b287c30330c2a660375d17bb205a8cf1aecb350457f8ab79ee253ab6a8e46bb09e543ae422736de501e3db37d441fe344920d09548e4c18240630c4ff4913c53513839b7c07fcc0627a1b8573a149fcd1fa466cf"
defaultValue: "hex:d0e8a02db8629e9d172dfd40719c89204ff395651a6a2612839a71469880ec2404687d05cf0642b91242c712b5405b6905070c2a4bd80bdc8437ae5a2aded0cf3de91318d16f0ce9450d1c802cc01f39b8761de87cc7eeeb7f52b51308353da49a"

tests:
- label: "Wait for the commissioned device to be retrieved"
Expand All @@ -53,9 +53,9 @@ tests:
- name: CommissioningTimeout
value: 180
- name: PAKEPasscodeVerifier
value: PakeVerifier
value: EcmPakeVerifier
- name: Discriminator
value: discriminator
value: EcmDiscriminator
- name: Iterations
value: 1000
- name: Salt
Expand All @@ -71,7 +71,7 @@ tests:
- name: nodeId
value: nodeId
- name: payload
value: payload
value: EcmPayload

- label:
"TH2 sends the NetworkPassphraseRequest command to the DUT over the
Expand Down
Loading