openthread_sys

Function otPlatDiagRadioTransmitDone

Source
pub unsafe extern "C" fn otPlatDiagRadioTransmitDone(
    aInstance: *mut otInstance,
    aFrame: *mut otRadioFrame,
    aError: otError,
)
Expand description

The radio driver calls this method to notify OpenThread diagnostics module that the transmission has completed.

Is used when diagnostics is enabled.

@param[in] aInstance The OpenThread instance structure. @param[in] aFrame A pointer to the frame that was transmitted. @param[in] aError OT_ERROR_NONE when the frame was transmitted, OT_ERROR_CHANNEL_ACCESS_FAILURE tx could not take place due to activity on the channel, OT_ERROR_ABORT when transmission was aborted for other reasons.