openthread_sys

Type Alias otCommissionerJoinerCallback

Source
pub type otCommissionerJoinerCallback = Option<unsafe extern "C" fn(aEvent: otCommissionerJoinerEvent, aJoinerInfo: *const otJoinerInfo, aJoinerId: *const otExtAddress, aContext: *mut c_void)>;
Expand description

Pointer is called whenever the joiner state changes.

@param[in] aEvent The joiner event type. @param[in] aJoinerInfo A pointer to the Joiner Info. @param[in] aJoinerId A pointer to the Joiner ID (if not known, it will be NULL). @param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otCommissionerJoinerCallback {
    None,
    Some(unsafe extern "C" fn(_: u32, _: *const otJoinerInfo, _: *const otExtAddress, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.