mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 23:30:07 +00:00
[network-data] implement network data notifier (#4783)
This commit centralizes the timing logic for transmitting SVR_DATA.ntf messages that are used to update network data at the leader. This component helps ensure the following: - At most one SVR_DATA.ntf message is outstanding at any given time. - A timer to rety sending SVR_DATA.ntf messages if sending fails due to lack of memory buffers. - A timer to rate limit SVR_DATA.ntf messages that are acknowledged but no corresponding change in the Thread Network Data was observed. - Utilizes ot::Notifier to trigger logic on role, child state, and network data changes.
This commit is contained in:
@@ -238,6 +238,7 @@ LOCAL_SRC_FILES := \
|
||||
src/core/thread/network_data_leader.cpp \
|
||||
src/core/thread/network_data_leader_ftd.cpp \
|
||||
src/core/thread/network_data_local.cpp \
|
||||
src/core/thread/network_data_notifier.cpp \
|
||||
src/core/thread/network_diagnostic.cpp \
|
||||
src/core/thread/panid_query_server.cpp \
|
||||
src/core/thread/router_table.cpp \
|
||||
|
||||
Reference in New Issue
Block a user