ot::Mac::LinkRaw::SetReceiveDone() method
Enables/disables the raw link-layer.
Arguments
aCallback
A pointer to a function called on receipt of a IEEE 802.15.4 frame, `nullptr` to disable raw link-layer.
Return value
kErrorInvalidState Thread stack is enabled. kErrorFailed The radio could not be enabled/disabled. kErrorNone Successfully enabled/disabled raw link.
ot::Mac::LinkRaw::SetReceiveDone() reads 1 variable and writes 1 variable:
![]()
ot::Mac::LinkRaw::SetReceiveDone()