ESP-IDF + 0/1 examples
SourceVu will show references to esp_event_handler_instance_register_with() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- ESP_OK: Success - ESP_ERR_NO_MEM: Cannot allocate memory for the handler - ESP_ERR_INVALID_ARG: Invalid combination of event base and event ID or instance is NULL - Others: Fail

Notes

the event loop library does not maintain a copy of event_handler_arg, therefore the user should ensure that event_handler_arg still points to a valid location by the time the handler gets called Calling this function with instance set to NULL is equivalent to calling esp_event_handler_register_with.

References

from examples