esp_idf_svc::hal::sys

Function esp_openthread_register_meshcop_e_handler

Source
pub unsafe extern "C" fn esp_openthread_register_meshcop_e_handler(
    handler: Option<unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: i32, _: *mut c_void)>,
    for_publish: bool,
)
Expand description

@brief This function register a handler for meshcop-e service publish event and remove event.

@param[in] handler The handler. @param[in] for_publish The usage of handler, true for publish event and false for remove event.