Type Alias otBorderAgentMeshCoPServiceChangedCallback

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

This callback informs the application of the changes in the state of the MeshCoP service.

In specific, the ‘state’ includes the MeshCoP TXT data originated from the Thread network and whether the Border Agent is Active (which can be obtained by otBorderAgentIsActive).

@param[in] aContext A pointer to application-specific context.

Aliased Type§

enum otBorderAgentMeshCoPServiceChangedCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.