ot::Notifier::RegisterCallback() method
Registers an `otStateChangedCallback` handler.
Arguments
aCallback
A pointer to the handler function that is called to notify of the changes.
aContext
A pointer to arbitrary context information.
Return value
kErrorNone Successfully registered the callback. kErrorAlready The callback was already registered. kErrorNoBufs Could not add the callback due to resource constraints.
ot::Notifier::RegisterCallback() calls 3 functions:
![]()
ot::Notifier::RegisterCallback()
ot::Notifier::RegisterCallback() reads 4 variables:
![]()
ot::Notifier::RegisterCallback()