pub unsafe extern "C" fn otLinkRawSetReceiveDone(
aInstance: *mut otInstance,
aCallback: otLinkRawReceiveDone,
) -> otError
Expand description
Enables/disables the raw link-layer.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to a function called on receipt of a IEEE 802.15.4 frame. NULL to disable the raw-link layer.
@retval OT_ERROR_FAILED The radio could not be enabled/disabled. @retval OT_ERROR_INVALID_STATE If the OpenThread IPv6 interface is already enabled. @retval OT_ERROR_NONE If the enable state was successfully set.