openthread_sys

Type Alias otLinkRawReceiveDone

Source
pub type otLinkRawReceiveDone = Option<unsafe extern "C" fn(aInstance: *mut otInstance, aFrame: *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 received frame or NULL if the receive operation was aborted. @param[in] aError OT_ERROR_NONE when successfully received a frame. OT_ERROR_ABORT when reception was aborted and a frame was not received.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.