ot::NeighborTable::RegisterCallback() method
Registers the "neighbor table changed" callback function. The provided callback (if non-`nullptr`) will be invoked when a child/router entry is being added/remove to/from the neighbor table. Subsequent calls to this method will overwrite the previous callback.
Arguments
aCallback
A pointer to callback handler function.
ot::NeighborTable::RegisterCallback() writes 1 variable:
![]()
ot::NeighborTable::RegisterCallback()