pub unsafe extern "C" fn otPlatDiagRadioReceiveDone(
aInstance: *mut otInstance,
aFrame: *mut otRadioFrame,
aError: otError,
)
Expand description
The radio driver calls this method to notify OpenThread diagnostics module of a received frame.
Is used when diagnostics is enabled.
@param[in] aInstance The OpenThread instance structure. @param[in] aFrame A pointer to the received frame or NULL if the receive operation failed. @param[in] aError OT_ERROR_NONE when successfully received a frame, OT_ERROR_ABORT when reception was aborted and a frame was not received, OT_ERROR_NO_BUFS when a frame could not be received due to lack of rx buffer space.