mirror of
https://github.com/espressif/openthread.git
synced 2026-08-07 03:07:47 +00:00
[ncp] notify wpantund when RLOC changes (#4659)
* notify wpantund when RLOC changes * change not matched flag ex to OT_CHANGED_SECURITY_POLICY
This commit is contained in:
@@ -3657,6 +3657,8 @@ void NcpBase::ProcessThreadChangedFlags(void)
|
||||
{OT_CHANGED_THREAD_PANID, SPINEL_PROP_MAC_15_4_PANID},
|
||||
{OT_CHANGED_THREAD_NETWORK_NAME, SPINEL_PROP_NET_NETWORK_NAME},
|
||||
{OT_CHANGED_THREAD_EXT_PANID, SPINEL_PROP_NET_XPANID},
|
||||
{OT_CHANGED_THREAD_RLOC_ADDED, SPINEL_PROP_IPV6_ADDRESS_TABLE},
|
||||
{OT_CHANGED_THREAD_RLOC_REMOVED, SPINEL_PROP_IPV6_ADDRESS_TABLE},
|
||||
{OT_CHANGED_MASTER_KEY, SPINEL_PROP_NET_MASTER_KEY},
|
||||
{OT_CHANGED_PSKC, SPINEL_PROP_NET_PSKC},
|
||||
{OT_CHANGED_CHANNEL_MANAGER_NEW_CHANNEL, SPINEL_PROP_CHANNEL_MANAGER_NEW_CHANNEL},
|
||||
@@ -3739,7 +3741,7 @@ void NcpBase::ProcessThreadChangedFlags(void)
|
||||
}
|
||||
|
||||
// Clear any remaining ThreadFlag that has no matching
|
||||
// NCP property update (e.g., OT_CHANGED_THREAD_RLOC_ADDED)
|
||||
// NCP property update (e.g., OT_CHANGED_SECURITY_POLICY)
|
||||
|
||||
mThreadChangedFlags = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user