Commit e553986
committed
Add nfc-ethernet DUT pairing mode for python_testing suites
Add NFC_ETHERNET to DutPairingModeEnum and NFC_PAIRING_MODES so
python_testing (SDK) tests can commission Matter-over-Ethernet devices
via NFC, mirroring the connectedhomeip Python controller support
already merged upstream (project-chip/connectedhomeip#43657).
generate_command_arguments() requires no code change: since
nfc-ethernet is not part of the wifi or thread pairing-mode tuples,
it falls straight through to the existing NFC handling that suppresses
--discriminator/--passcode and injects NFC_Reader_index.
YAML/chip-tool test support is intentionally out of scope here, since
chip-tool itself does not support nfc-ethernet yet
(project-chip/connectedhomeip#43613 is still open upstream).
Adds test coverage mirroring the existing nfc-wifi/nfc-thread tests
in test_utils.py and test_test_environment_config.py.
Related: project-chip/certification-tool#10671 parent bd725d3 commit e553986
3 files changed
Lines changed: 43 additions & 3 deletions
File tree
- app/constants
- test_collections/matter/sdk_tests/support/tests
- matter
- python_tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | | - | |
| 372 | + | |
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
| 408 | + | |
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| |||
Lines changed: 38 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
190 | 227 | | |
191 | 228 | | |
192 | 229 | | |
| |||
382 | 419 | | |
383 | 420 | | |
384 | 421 | | |
| 422 | + | |
385 | 423 | | |
386 | 424 | | |
387 | 425 | | |
| |||
0 commit comments