mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[netdata] move service ALOC management from MLE module (#11815)
This change moves the service ALOC management logic from the `Mle` module to `NetworkData::Service::Manager`. This change simplifies the code by consolidating responsibilities. Since the `NetworkData::Service` module manages service entries in the Network Data, it is the logical owner for managing the associated service ALOCs.
This commit is contained in:
committed by
GitHub
parent
562a3d8c73
commit
a3cd859502
@@ -98,6 +98,9 @@ void Notifier::EmitEvents(void)
|
||||
// Emit events to core internal modules
|
||||
|
||||
Get<Mle::Mle>().HandleNotifierEvents(events);
|
||||
#if OPENTHREAD_CONFIG_TMF_NETDATA_SERVICE_ENABLE
|
||||
Get<NetworkData::Service::Manager>().HandleNotifierEvents(events);
|
||||
#endif
|
||||
#if (OPENTHREAD_CONFIG_THREAD_VERSION >= OT_THREAD_VERSION_1_2)
|
||||
Get<BackboneRouter::Leader>().HandleNotifierEvents(events);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user