openthread_sys

Type Alias otLinkRawTransmitDone

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

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.

Aliased Type§

enum otLinkRawTransmitDone {
    None,
    Some(unsafe extern "C" fn(_: *mut otInstance, _: *mut otRadioFrame, _: *mut otRadioFrame, _: u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut otInstance, _: *mut otRadioFrame, _: *mut otRadioFrame, _: u32))

Some value of type T.