openthread_sys

Type Alias otHandleActiveScanResult

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

Pointer is called during an IEEE 802.15.4 Active Scan when an IEEE 802.15.4 Beacon is received or the scan completes.

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

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.