-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] linux Chip-tool app should not by default register ICD #31992
Comments
@doublemis1 The ICD registration process is defined in the ICD Client behavior section that has not been published yet. Do you think this is still bug with the additional information? |
I think that currently with the ICD using non-interactive chip-tool is no-go for LIT. |
Can you share also the PR to the specification to familiarize with new Commissioning procedure |
You mean without passing That said, given how chip-tool is normally used, and given the fact it has no queuing implemented and no way for clients of the non-interactive chip-tool to implement it because they have no way to get hold of the relevant data, it might in fact make sense to have chip-tool default to not registering @mkardous-silabs |
Right, without |
@bzbarsky-apple @doublemis1 Queuing is beeing added in this PR #31898 I'm not sure i agree we should change the default behavior since the goal was in fact to register by default... For the test harness / certification, we are planning on using the test event trigger to force the ICD in different states (active mode) to be able run cert tests that don't validate ICD behavior. It's on the Todo list for 1.3. In my opignion, this is isn't a bug. It is work in progress but fundamentally it is doing what was we intended. @yunhanw-google @erjiaqing you might be interested by this conversation. |
But currently the case with non-interactive chip-tool will work as follow:
|
Yes, that is true. |
@mkardous-silabs |
@mkardous-silabs @bzbarsky-apple
|
Just read through this bug, I would prefer going with ICD configuration at default if device is LIT, after #31898 is landed(still under development), we are able to automatically queue IM operations and flush whenever receiving the corresponding check-in message. For queue, we plan to add active mode duration to let user know how long they can operate in the active window, then re-queue again. In other words, we would automatic the flow at default without additional setup/parameters. Btw, we are doing the same thing using android-chip-tool with UI there. When using skip-icd-registration, we would support to do ICD registration manually via this ticket, #32187, we would queue manually. Documents would be added in tool itself for better track. |
After discussing this with @tennessee-google @bzbarsky-apple and @leorozendaal, this is the new proposal for the Chip-tool behavior.
3, 4 and 5 would be restricted to the chip-tool being in interactive mode. When this design, we won't any queue logic. Closing #30936 as not doing. |
WG discussion: update icd start-stay-active with duration parameter, and remove icd stop-stay-active, these are used to enable the chip-tool to send periodic stay-active-request to keep the ICD in active mode for the user to send the commands he needs until the duration is reached. |
Closing this issue since the fixes were merged into master. |
Reproduction steps
Bug prevalence
always
GitHub hash of the SDK that was being used
0ff709f
Platform
raspi
Platform Version(s)
No response
Anything else?
Currently the chip-tool app register itself (commissioner) on the DUT in the ICD Management ActiveClient during commissioning.
The process of adding a active client in ICD Management is not a part of the commissioning itself (based on specification).
Current controller is able to skip registration by additional command parameter (
--skip-icd-registration
).The controller should register icd if addtional flag is provided or by other chip-tool command
The text was updated successfully, but these errors were encountered: