ot::Spinel::Buffer::SetFrameAddedCallback() method
Sets the FrameAdded callback and its context. Subsequent calls to this method will overwrite the previous callback and its context.
Arguments
aFrameAddedCallback
Callback invoked when a new frame is successfully added to buffer.
aFrameAddedContext
A pointer to arbitrary context used with frame added callback.