openthread_sys

Type Alias otHandleEnergyScanResult

Source
pub type otHandleEnergyScanResult = Option<unsafe extern "C" fn(aResult: *mut otEnergyScanResult, aContext: *mut c_void)>;
Expand description

Pointer is called during an IEEE 802.15.4 Energy Scan when the result for a channel is ready or the scan completes.

@param[in] aResult A valid pointer to the energy scan result information or NULL when the energy scan completes. @param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otHandleEnergyScanResult {
    None,
    Some(unsafe extern "C" fn(_: *mut otEnergyScanResult, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut otEnergyScanResult, _: *mut c_void))

Some value of type T.