[mle] enable announce sender by default (#6741)

The `OPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE` feature has been
incorporated into the Thread 1.2.1 draft specification.
This commit is contained in:
Jonathan Hui
2021-06-18 15:20:15 -07:00
committed by GitHub
parent 0b17f6e91d
commit e086cf5c88
3 changed files with 2 additions and 10 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE
#define OPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE 0
#define OPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE 1
#endif
/**
+1 -1
View File
@@ -217,7 +217,7 @@ public:
* @param[in] aInstance A reference to the OpenThread instance.
*
*/
AnnounceSender(Instance &aInstance);
explicit AnnounceSender(Instance &aInstance);
/**
* This method notifies the `AnnounceSender` that a MLE Announcement message was received with a current timestamp
@@ -399,14 +399,6 @@
*/
#define OPENTHREAD_CONFIG_CHANNEL_MANAGER_THRESHOLD_TO_CHANGE_CHANNEL (0xffff * 10 / 100)
/**
* @def OPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE
*
* Define as 1 to enable `AnnounceSender` which will periodically send MLE Announce message on all channels.
*
*/
#define OPENTHREAD_CONFIG_ANNOUNCE_SENDER_ENABLE 1
/**
* @def OPENTHREAD_CONFIG_CHILD_SUPERVISION_ENABLE
*