-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align commissionable instance name behavior between minimal and platf…
…orm advertising. (#17703) * Align commissionable instance name behavior between minimal and platform advertising. Before this change, platform dns-sd generated a commissionable instance name once, at boot. If you then commissioned the device and opened a new commissioning window it would keep advertising the instance name it advertised originally. On the other hand, minimal dns-sd generated a new instance name any time we updated anything about advertising. In particular, a failed commissioning attempt would lead to advertising with a different instance name, as part of the same commissioning window. After these changes we create a new instance name at init time, and whenever the commissioning window is opened (whether automatically or via the administrator commissioning commands). * Address review comment.
- Loading branch information
1 parent
736f4b3
commit f4a1e92
Showing
5 changed files
with
46 additions
and
9 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
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
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