Skip to main content

esp_openthread_register_meshcop_e_handler

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.