-
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.
[mdns/srp] Implemented delayed mDNS platform initialization
The Mdns module doesn't wait for SRP platform to be initialized and ready to operate before requesting adding/removing services. SRP platform needs to remove on init all old services associated with the host. * Removed assigning mMdnsInitialized=true in DiscoveryImplPlatform::Init() method, to be sure that DiscoveryImplPlatform always waits for platform to be ready and signal it by calling HandleMdnsInit callback * Removed stopping services in DiscoveryImplPlatform::Start() method, as it is already done one step earlier by StopPublishDevice() method * Added kMdnsPlatformInitialized CHIP event informing that mDNS platform is initalized and posted event in HandleMdnsInit callback * Added OnPlatformEvent in Mdns.cpp that handles kMdnsPlatformInitialized and restarts advertising * Added removing SRP host and services on SRP platform init * Renamed FillMAC method to GetPrimaryMACAddress and moved it to the ConfigurationMgr, as it is useful also for src/lib/mdns and src/platform modules that should not use app/server API. * Bump OpenThread repo version * Bump OTBR-posix repo version
- Loading branch information
1 parent
9ea2cc4
commit a1bbef6
Showing
16 changed files
with
158 additions
and
29 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
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
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
Oops, something went wrong.