Home
last modified time | relevance | path

Searched refs:ESP_EVENT_ANY_ID (Results 1 – 25 of 78) sorted by relevance

1234

/hal_espressif-3.4.0/components/esp_eth/test/
Dtest_emac.c132 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, &eth_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, &eth_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, &eth_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, &eth_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/
Dtest_adc2_with_wifi.c102 …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/
Desp_event.c217 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 …]
Desp_event_private.c33 …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()
Devent_loop_legacy.c68 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/
Dtest_wifi_init.c64 …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()
Dtest_wifi.c83 …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/
Dstation_example_main.c81 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/
Dtest_event.c381 …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/
Desp_eth_test.c69 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, &eth_event_handler, eth_event_…
120 TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, &eth_event_handler, mutex));
173 TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, &eth_event_handler, mutex));
350 …TEST_ESP_OK(esp_event_handler_register(ETH_EVENT, ESP_EVENT_ANY_ID, &eth_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/
Dapp_main.c82 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/
Desp_modem_compat.c71 … 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()
Desp_modem_netif.c80 …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/
Dpppos_client_main.c209 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/
Ddpp_enrollee_main.c116 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/
Dsmartconfig_main.c99 … 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/
Dpppos_client_main.c226 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/
Dapp_main.c188 …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/
Dmain.c167 …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/
Dstatic_ip_example_main.c126 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/
Dapp_prov.c109 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/
Desp_event.h22 #define ESP_EVENT_ANY_ID (-1) macro
/hal_espressif-3.4.0/components/esp_event/include/
Desp_event_base.h37 #define ESP_EVENT_ANY_ID -1 /**< register handler for any event id */ macro
/hal_espressif-3.4.0/docs/en/api-reference/system/
Desp_event.rst165 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/
Dapp_prov.c168 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()

1234