Skip to content

Commit

Permalink
Fix Open Commissioning Window parameters
Browse files Browse the repository at this point in the history
Prefix Ecm-related test constants to avoid potential conflict with 'payload'
test parameter.  Use a setup payload that does not have a vendor ID baked in,
and use a passcode and discriminator that differ from the default values for
good measure.
  • Loading branch information
ksperling-apple committed Sep 26, 2024
1 parent c7153e3 commit 902ce8d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions src/app/tests/suites/certification/Test_TC_TBRM_2_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ config:
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 @@ -49,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 @@ -67,7 +67,7 @@ tests:
- name: nodeId
value: nodeId
- name: payload
value: payload
value: EcmPayload

- label:
"TH2 send GetActiveDatasetRequest command to the DUT in PASE session"
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

0 comments on commit 902ce8d

Please sign in to comment.