openthread_sys

Type Alias otLinkMetricsEnhAckProbingIeReportCallback

Source
pub type otLinkMetricsEnhAckProbingIeReportCallback = Option<unsafe extern "C" fn(aShortAddress: otShortAddress, aExtAddress: *const otExtAddress, aMetricsValues: *const otLinkMetricsValues, aContext: *mut c_void)>;
Expand description

Pointer is called when Enh-ACK Probing IE is received.

@param[in] aShortAddress The Mac short address of the Probing Subject. @param[in] aExtAddress A pointer to the Mac extended address of the Probing Subject. @param[in] aMetricsValues A pointer to the Link Metrics values obtained from the IE. @param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otLinkMetricsEnhAckProbingIeReportCallback {
    None,
    Some(unsafe extern "C" fn(_: u16, _: *const otExtAddress, _: *const otLinkMetricsValues, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u16, _: *const otExtAddress, _: *const otLinkMetricsValues, _: *mut c_void))

Some value of type T.