project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.37k stars 1.98k forks source link

YAML / simulated device: Need support for sending DNS-SD advertising messages individually #11158

Open liamgonyea opened 2 years ago

liamgonyea commented 2 years ago

Problem

Need support for YAML to send/receive messages to a simulated device and send/receive messages from chip-tool so that we can verify the Node discovery/commissioning process on a step-by-step basis.

Note: this functionality is already present in device discovery / commissioning but cannot thoroughly be tested without constructing and sending DNS-SD advertising messages individually.

Examples

  1. [TC-SC-4.3] Operational Discovery - Node test step 4 requires sending, intentionally, incorrectly formatted data so that the DUT can be sure it does not respond. https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/securechannel.adoc#343-tc-sc-43-operational-discovery---node

every discovery method

  1. [TC-SC-4.4] Operational Discovery - Controller [DUT - Controller] needs to test steps at precise times so that it can verify all of the correct advertising data before trying another step. https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/securechannel.adoc#344-tc-sc-44-operational-discovery---controller-dut---controller

image

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 1 year ago

This stale issue has been automatically closed. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 1 year ago

This stale issue has been automatically closed. Thank you for your contributions.

stale[bot] commented 11 months ago

This stale issue has been automatically closed. Thank you for your contributions.

raju-apple commented 11 months ago

@manjunath-grl can you try out the methods listed in https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/TestDiscovery.yaml and try out how many of the SC/CADMIN tests this unblocks us with ?