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

[TC-IDM-4.3]Chip-tool support needed to send subscribe Request Message for all events and attributes from the DUT. #20479

Closed
Rajashreekalmane opened this issue Jul 8, 2022 · 5 comments · Fixed by #20868

Comments

@Rajashreekalmane
Copy link

#### Problem
As per step 16 says "TH sends a subscription request action for an attribute and all events. Set the MinIntervalFloor to some value say "N"(seconds). Change the value of the attribute and trigger an action on the DUT to trigger any event.
we don't have a option to verify both attributes and events by giving subscribe command"

System configuration:-
Chip-tool - RPI-4, 8GB RAM
DUT - RPI - RPI-4, 8GB RAM
Platform : IP and wifi
Commit-ID:1107d8efe933c925e16db0818ba638a7146b6efd
Dut application: all-clusters-app

PFA log:-
image

Test-Plan reference
https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/interactiondatamodel.adoc#tc-idm-4-3-report-data-messages-post-subscription-activation-from-dut-test-cases-dut_server

@Rajashreekalmane Rajashreekalmane changed the title [TC-IDM-4.3]Chip-tool support needed to verify subscribe Request Message to read all events and attributes from the DUT. [TC-IDM-4.3]Chip-tool support needed to verify subscribe Request Message to all events and attributes from the DUT. Jul 8, 2022
@Rajashreekalmane Rajashreekalmane changed the title [TC-IDM-4.3]Chip-tool support needed to verify subscribe Request Message to all events and attributes from the DUT. [TC-IDM-4.3]Chip-tool support needed to send subscribe Request Message to all events and attributes from the DUT. Jul 8, 2022
@Rajashreekalmane Rajashreekalmane changed the title [TC-IDM-4.3]Chip-tool support needed to send subscribe Request Message to all events and attributes from the DUT. [TC-IDM-4.3]Chip-tool support needed to send subscribe Request Message for all events and attributes from the DUT. Jul 8, 2022
@andy31415
Copy link
Contributor

Would this not be chip-tool interactive instead? I would imagine we want to send several subscribe requests separately.

@andy31415
Copy link
Contributor

Cert block review: chip tool cannot currently subscribe to both events and attributes on the same subscription. (interactive or not does not seem relevant).

Existing API does support it (chip repl has an implementation). Need chip-tool implementation.

@vivien-apple could you provide some estimation on how hard this is to add to chip-tool?

@bzbarsky-apple
Copy link
Contributor

So this is like #20270 but for subscriptions? Or does it need more flexibility (e.g. not just wildcard-except-endpoint for the paths)?

@woody-apple
Copy link
Contributor

woody-apple commented Jul 13, 2022

Cert Blocker Review: @vivien-apple can you help add this functionality to chip-tool?

@cjandhyala to provide an example of what the test plan would require (command and parameter wise)

@cjandhyala
Copy link
Contributor

@mrjerryjohns Per slack conversation, Krithika is not available this week, In the absence of her, Could you pls provide your input on what is the test plan expectation here, is it on all clusters/one cluster one end point/all end points ..etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants