[−][src]Function openthread_sys::otPlatRadioTxDone
pub unsafe extern "C" fn otPlatRadioTxDone(
aInstance: *mut otInstance,
aFrame: *mut otRadioFrame,
aAckFrame: *mut otRadioFrame,
aError: otError
)
The radio driver calls this function to notify OpenThread that the transmit operation has completed, providing both the transmitted frame and, if applicable, the received ack frame.
@param[in] aInstance The OpenThread instance structure. @param[in] aFrame A pointer to the frame that was transmitted. @param[in] aAckFrame A pointer to the ACK frame, NULL if no ACK was received. @param[in] aError OT_ERROR_NONE when the frame was transmitted, OT_ERROR_NO_ACK when the frame was transmitted but no ACK was received, 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.