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

[chip-tool] Add documentation for chiptool default timeout #17847

Closed
isiu-apple opened this issue Apr 28, 2022 · 0 comments · Fixed by #17874
Closed

[chip-tool] Add documentation for chiptool default timeout #17847

isiu-apple opened this issue Apr 28, 2022 · 0 comments · Fixed by #17874
Assignees

Comments

@isiu-apple
Copy link
Contributor

Problem

Chiptool has a default timeout which causes a timeout crash if the chiptool command run is not completed within the timeframe set by this default timeout. This behavior is currently not documented.

For example:

out/apps/chip-tool/chip-tool otasoftwareupdaterequestor subscribe-event state-transition 5 10 0x1234567890 0

[1650992689511] [32397:1415601] CHIP: [TOO] Run command failure: ../../../examples/chip-tool/commands/common/CHIPCommand.cpp:392: CHIP Error 0x00000032: Timeout
zsh: segmentation fault  out/apps/chip-tool/chip-tool otasoftwareupdaterequestor subscribe-event  5 10

Proposed Solution

Document this timeout behavior and also document the suggestion that chiptool event subscriptions should be run in interactive mode to avoid this timeout behavior.

@isiu-apple isiu-apple self-assigned this Apr 28, 2022
@isiu-apple isiu-apple changed the title Add documentation for chiptool default timeout [chip-tool] Add documentation for chiptool default timeout Apr 28, 2022
@isiu-apple isiu-apple changed the title [chip-tool] Add documentation for chiptool default timeout [chit-tool] Add documentation for chiptool default timeout Apr 28, 2022
@isiu-apple isiu-apple changed the title [chit-tool] Add documentation for chiptool default timeout [chip-tool] Add documentation for chiptool default timeout Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant