[][src]Type Definition openthread_sys::otLinkRawTransmitDone

type otLinkRawTransmitDone = Option<unsafe extern "C" fn(aInstance: *mut otInstance, aFrame: *mut otRadioFrame, aAckFrame: *mut otRadioFrame, aError: otError)>;

This function pointer on receipt of a IEEE 802.15.4 frame.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aFrame A pointer to the frame that was transmitted. @param[in] aAckFrame A pointer to the ACK frame. @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 when the transmission could not take place due to activity on the channel. OT_ERROR_ABORT when transmission was aborted for other reasons.