esp_idf_svc::hal::sys

Function otIp6SetAddressCallback

Source
pub unsafe extern "C" fn otIp6SetAddressCallback(
    aInstance: *mut otInstance,
    aCallback: Option<unsafe extern "C" fn(_: *const otIp6AddressInfo, _: bool, _: *mut c_void)>,
    aCallbackContext: *mut c_void,
)
Expand description

Registers a callback to notify internal IPv6 address changes.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aCallback A pointer to a function that is called when an internal IPv6 address is added or removed. NULL to disable the callback. @param[in] aCallbackContext A pointer to application-specific context.