/hal_espressif-3.4.0/components/esp_eth/test/ |
D | test_emac.c | 132 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, eth_event_… 157 TEST_ESP_OK(esp_event_handler_unregister(ETH_EVENT, ESP_EVENT_ANY_ID, eth_event_handler)); 185 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, eth_event_… 203 TEST_ESP_OK(esp_event_handler_unregister(ETH_EVENT, ESP_EVENT_ANY_ID, eth_event_handler)); 232 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, eth_event_… 254 TEST_ESP_OK(esp_event_handler_unregister(ETH_EVENT, ESP_EVENT_ANY_ID, eth_event_handler)); 330 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, eth_event_… 363 TEST_ESP_OK(esp_event_handler_unregister(ETH_EVENT, ESP_EVENT_ANY_ID, eth_event_handler));
|
/hal_espressif-3.4.0/components/driver/test/ |
D | test_adc2_with_wifi.c | 102 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL… in event_init() 103 … ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, ESP_EVENT_ANY_ID, &ip_event_handler, NULL)); in event_init() 109 … ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler)); in event_deinit() 110 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, ESP_EVENT_ANY_ID, &ip_event_handler)); in event_deinit()
|
/hal_espressif-3.4.0/components/esp_event/ |
D | esp_event.c | 217 if (id == ESP_EVENT_ANY_ID) { in base_node_add_handler() 272 if (base == esp_event_any_base && id == ESP_EVENT_ANY_ID) { in loop_node_add_handler() 288 (base_node && !SLIST_EMPTY(&(base_node->id_nodes)) && id == ESP_EVENT_ANY_ID) || in loop_node_add_handler() 289 …_base_node->base != base && !SLIST_EMPTY(&(last_base_node->id_nodes)) && id == ESP_EVENT_ANY_ID)) { in loop_node_add_handler() 350 if (id == ESP_EVENT_ANY_ID) { in base_node_remove_handler() 375 if (base == esp_event_any_base && id == ESP_EVENT_ANY_ID) { in loop_node_remove_handler() 700 if (event_base == ESP_EVENT_ANY_BASE && event_id != ESP_EVENT_ANY_ID) { in esp_event_handler_register_with_internal() 721 … bool is_loop_level_handler = (event_base == esp_event_any_base) && (event_id == ESP_EVENT_ANY_ID); in esp_event_handler_register_with_internal() 777 if (event_base == ESP_EVENT_ANY_BASE && event_id != ESP_EVENT_ANY_ID) { in esp_event_handler_unregister_with_internal() 830 if (event_base == ESP_EVENT_ANY_BASE || event_id == ESP_EVENT_ANY_ID) { in esp_event_post_to() [all …]
|
D | esp_event_private.c | 33 …if(event_base == ESP_EVENT_ANY_BASE && event_id == ESP_EVENT_ANY_ID && handler->handler_ctx->handl… in esp_event_is_handler_registered() 43 … if(event_id == ESP_EVENT_ANY_ID && handler->handler_ctx->handler == event_handler) in esp_event_is_handler_registered()
|
D | event_loop_legacy.c | 68 err = esp_event_handler_register(SYSTEM_EVENT, ESP_EVENT_ANY_ID, esp_event_post_to_user, NULL); in esp_event_loop_init() 86 …esp_err_t err = esp_event_handler_unregister(SYSTEM_EVENT, ESP_EVENT_ANY_ID, esp_event_post_to_use… in esp_event_loop_deinit()
|
/hal_espressif-3.4.0/components/esp_wifi/test/ |
D | test_wifi_init.c | 64 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL… in event_init() 65 … ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, ESP_EVENT_ANY_ID, &ip_event_handler, NULL)); in event_init() 71 ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT,ESP_EVENT_ANY_ID,&wifi_event_handler)); in event_deinit() 72 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT,ESP_EVENT_ANY_ID,&ip_event_handler)); in event_deinit()
|
D | test_wifi.c | 83 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &wifi_event_handler, NULL… in event_init() 84 … ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, ESP_EVENT_ANY_ID, &ip_event_handler, NULL)); in event_init()
|
/hal_espressif-3.4.0/examples/wifi/getting_started/station/main/ |
D | station_example_main.c | 81 ESP_EVENT_ANY_ID, in wifi_init_sta() 129 …ESP_ERROR_CHECK(esp_event_handler_instance_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, instance_any_i… in wifi_init_sta()
|
/hal_espressif-3.4.0/components/esp_event/test/ |
D | test_event.c | 381 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, t… 417 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event… 424 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event… 463 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, t… 464 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, t… 561 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_event_simpl… 601 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_ev… 813 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event… 814 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event… 816 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_event_simpl… [all …]
|
/hal_espressif-3.4.0/components/esp_eth/test_apps/main/ |
D | esp_eth_test.c | 69 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, eth_event_… 120 TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, mutex)); 173 TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, mutex)); 350 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, ð_event_handler, eth_event_… 424 TEST_ESP_OK(esp_event_handler_unregister(ETH_EVENT, ESP_EVENT_ANY_ID, eth_event_handler));
|
/hal_espressif-3.4.0/examples/protocols/esp_local_ctrl/main/ |
D | app_main.c | 82 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL)); in wifi_init_sta() 120 ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler)); in wifi_init_sta()
|
/hal_espressif-3.4.0/examples/protocols/pppos_client/components/modem/src/ |
D | esp_modem_compat.c | 71 … return esp_modem_set_event_handler(dte, on_modem_compat_handler, ESP_EVENT_ANY_ID, handler_args); in esp_modem_add_event_handler() 90 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, ESP_EVENT_ANY_ID, &on_ip_event, NULL)); in esp_modem_setup_ppp()
|
D | esp_modem_netif.c | 80 …ESP_ERROR_CHECK(esp_event_handler_register(NETIF_PPP_STATUS, ESP_EVENT_ANY_ID, &on_ppp_changed, dt… in esp_modem_post_attach_start() 150 esp_event_handler_unregister(NETIF_PPP_STATUS, ESP_EVENT_ANY_ID, on_ppp_changed); in esp_modem_netif_clear_default_handlers()
|
/hal_espressif-3.4.0/tools/test_apps/protocols/pppos/main/ |
D | pppos_client_main.c | 209 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, ESP_EVENT_ANY_ID, &on_ip_event, NULL)); in app_main() 210 …ESP_ERROR_CHECK(esp_event_handler_register(NETIF_PPP_STATUS, ESP_EVENT_ANY_ID, &on_ppp_changed, NU… in app_main() 230 ESP_ERROR_CHECK(esp_modem_set_event_handler(dte, modem_event_handler, ESP_EVENT_ANY_ID, NULL)); in app_main()
|
/hal_espressif-3.4.0/examples/wifi/wifi_easy_connect/dpp-enrollee/main/ |
D | dpp_enrollee_main.c | 116 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL)); in dpp_enrollee_init() 154 ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler)); in dpp_enrollee_init()
|
/hal_espressif-3.4.0/examples/wifi/smart_config/main/ |
D | smartconfig_main.c | 99 … ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); in initialise_wifi() 101 ESP_ERROR_CHECK( esp_event_handler_register(SC_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); in initialise_wifi()
|
/hal_espressif-3.4.0/examples/protocols/pppos_client/main/ |
D | pppos_client_main.c | 226 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, ESP_EVENT_ANY_ID, &on_ip_event, NULL)); in app_main() 227 …ESP_ERROR_CHECK(esp_event_handler_register(NETIF_PPP_STATUS, ESP_EVENT_ANY_ID, &on_ppp_changed, NU… in app_main() 247 ESP_ERROR_CHECK(esp_modem_set_event_handler(dte, modem_event_handler, ESP_EVENT_ANY_ID, NULL)); in app_main()
|
/hal_espressif-3.4.0/examples/provisioning/wifi_prov_mgr/main/ |
D | app_main.c | 188 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_PROV_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL… in app_main() 189 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL)); in app_main()
|
/hal_espressif-3.4.0/examples/system/esp_event/default_event_loop/main/ |
D | main.c | 167 …ESP_ERROR_CHECK(esp_event_handler_instance_register(TIMER_EVENTS, ESP_EVENT_ANY_ID, timer_any_hand… in app_main() 174 …ESP_ERROR_CHECK(esp_event_handler_instance_register(ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, all_even… in app_main()
|
/hal_espressif-3.4.0/examples/protocols/static_ip/main/ |
D | static_ip_example_main.c | 126 ESP_EVENT_ANY_ID, in wifi_init_sta() 197 …ESP_ERROR_CHECK(esp_event_handler_instance_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, instance_any_i… in wifi_init_sta()
|
/hal_espressif-3.4.0/examples/provisioning/legacy/console_prov/main/ |
D | app_prov.c | 109 esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler); in app_prov_stop_service() 306 err = esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler, NULL); in app_prov_start_console_provisioning()
|
/hal_espressif-3.4.0/components/mdns/host_test/components/esp_event_mock/include/ |
D | esp_event.h | 22 #define ESP_EVENT_ANY_ID (-1) macro
|
/hal_espressif-3.4.0/components/esp_event/include/ |
D | esp_event_base.h | 37 #define ESP_EVENT_ANY_ID -1 /**< register handler for any event id */ macro
|
/hal_espressif-3.4.0/docs/en/api-reference/system/ |
D | esp_event.rst | 165 special event ID ``ESP_EVENT_ANY_ID``. These special identifiers may be passed as the event base an… 171 2. <event base>, ESP_EVENT_ANY_ID - handler executes when any event with base <event base> gets pos… 172 3. ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID - handler executes when any event gets posted to the loop 179 …esp_event_handler_register_with(loop_handle, MY_EVENT_BASE, ESP_EVENT_ANY_ID, run_on_event_2, ...); 180 …esp_event_handler_register_with(loop_handle, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, run_on_event_3,…
|
/hal_espressif-3.4.0/examples/provisioning/legacy/ble_prov/main/ |
D | app_prov.c | 168 esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler); in app_prov_stop_service() 368 err = esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler, NULL); in app_prov_start_ble_provisioning()
|