-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for open pairing window on chip-tool (#9806)
It looks like the previous version would generate a random nodeid and then attempt to open the pairing window on that. Issue #9550 indicates a general failure to send commands after provisioning, but it actually looks like the open pairing window command is the only one affected. Issue speculates that PersistDevice was not called, but confirmed that PersistDevice IS called. However, the data for a randomly generated node id would not be present so the symptoms may match. We also need to connect to the device before sending the open pairing windo command as it is a standard cluster command. Added calls to connect to the device before opening the pairing window. Test: ./chip-tool pairing onnetwork 0 20202021 3840 fc00::a 5540 ./chip-tool onoff on 1 ./chip-tool pairing open-commissioning-window 0 5000 1 3840 ./chip-tool pairing onnetwork 0 20202021 3840 fc00::a 5540 ./chip-tool onoff on 1
- Loading branch information
Showing
2 changed files
with
50 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters