mirror of
https://github.com/espressif/openthread.git
synced 2026-08-16 07:37:47 +00:00
[dataset] Thread device should send /c/ps when attaching (#2000)
On attach, a device clears its network pending dataset. If the device has a newer local pending dataset, it should generate and send a /c/ps message to the Leader.
This commit is contained in:
@@ -1043,6 +1043,7 @@ void PendingDatasetBase::ClearNetwork(void)
|
||||
{
|
||||
mNetwork.Clear();
|
||||
mDelayTimer.Stop();
|
||||
DatasetManager::HandleNetworkUpdate();
|
||||
}
|
||||
|
||||
void PendingDatasetBase::HandleDetach(void)
|
||||
|
||||
@@ -440,7 +440,6 @@ protected:
|
||||
static void HandleDelayTimer(Timer &aTimer);
|
||||
void HandleDelayTimer(void);
|
||||
void StartDelayTimer(void);
|
||||
void HandleNetworkUpdate(void);
|
||||
|
||||
TimerMilli mDelayTimer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user