Home
last modified time | relevance | path

Searched refs:IP_EVENT (Results 1 – 25 of 70) sorted by relevance

123

/hal_espressif-3.6.0/examples/common_components/protocol_examples_common/
Dconnect.c289 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &on_got_ip, NULL)); in wifi_start()
292 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_GOT_IP6, &on_got_ipv6, NULL)); in wifi_start()
318 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, &on_got_ip)); in wifi_stop()
320 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_GOT_IP6, &on_got_ipv6)); in wifi_stop()
458 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &on_got_ip, NULL)); in eth_start()
461 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_GOT_IP6, &on_got_ipv6, NULL)); in eth_start()
471 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, &on_got_ip)); in eth_stop()
473 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_GOT_IP6, &on_got_ipv6)); in eth_stop()
/hal_espressif-3.6.0/examples/protocols/pppos_client/components/modem/src/
Desp_modem_netif.c139 ret = esp_event_handler_unregister(IP_EVENT, IP_EVENT_PPP_GOT_IP, esp_netif_action_connected); in esp_modem_netif_clear_default_handlers()
143 … ret = esp_event_handler_unregister(IP_EVENT, IP_EVENT_PPP_LOST_IP, esp_netif_action_disconnected); in esp_modem_netif_clear_default_handlers()
172 …ret = esp_event_handler_register(IP_EVENT, IP_EVENT_PPP_GOT_IP, esp_netif_action_connected, esp_ne… in esp_modem_netif_set_default_handlers()
176 …ret = esp_event_handler_register(IP_EVENT, IP_EVENT_PPP_LOST_IP, esp_netif_action_disconnected, es… in esp_modem_netif_set_default_handlers()
/hal_espressif-3.6.0/examples/wifi/getting_started/station/main/
Dstation_example_main.c58 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
85 ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, in wifi_init_sta()
128 …ESP_ERROR_CHECK(esp_event_handler_instance_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, instance_got_… in wifi_init_sta()
/hal_espressif-3.6.0/examples/protocols/esp_local_ctrl/main/
Dapp_main.c60 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
83 … ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL)); in wifi_init_sta()
119 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler)); in wifi_init_sta()
/hal_espressif-3.6.0/components/esp_eth/test/
Dtest_emac.c186 …TEST_ESP_OK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &got_ip_event_handler, eth_e…
202 TEST_ESP_OK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, got_ip_event_handler));
233 …TEST_ESP_OK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &got_ip_event_handler, eth_e…
253 TEST_ESP_OK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, got_ip_event_handler));
331 …TEST_ESP_OK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &got_ip_event_handler, eth_e…
362 TEST_ESP_OK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, got_ip_event_handler));
/hal_espressif-3.6.0/examples/wifi/wifi_easy_connect/dpp-enrollee/main/
Ddpp_enrollee_main.c66 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
117 … ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL)); in dpp_enrollee_init()
153 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler)); in dpp_enrollee_init()
/hal_espressif-3.6.0/examples/protocols/http_server/advanced_tests/main/
Dmain.c62 …ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &connect_handler, &serve… in app_main()
66 …ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &connect_handler, &serve… in app_main()
/hal_espressif-3.6.0/components/esp_eth/src/
Desp_eth_netif_glue.c77 esp_event_handler_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, esp_netif_action_got_ip); in esp_eth_clear_default_handlers()
110 …ret = esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, esp_netif_action_got_ip, esp_netif… in esp_eth_set_default_handlers()
199 …esp_event_handler_instance_unregister(IP_EVENT, IP_EVENT_ETH_GOT_IP, eth_netif_glue->get_ip_ctx_ha… in esp_eth_clear_glue_instance_handlers()
230 …ret = esp_event_handler_instance_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, eth_action_got_ip, eth_ne… in esp_eth_set_glue_instance_handlers()
/hal_espressif-3.6.0/examples/provisioning/legacy/console_prov/main/
Dapp_main.c42 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
53 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c110 esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler); in app_prov_stop_service()
155 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in app_prov_event_handler()
312 err = esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler, NULL); in app_prov_start_console_provisioning()
/hal_espressif-3.6.0/examples/protocols/static_ip/main/
Dstatic_ip_example_main.c101 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
130 ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, in wifi_init_sta()
196 …ESP_ERROR_CHECK(esp_event_handler_instance_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, instance_got_… in wifi_init_sta()
/hal_espressif-3.6.0/examples/provisioning/legacy/custom_config/main/
Dapp_main.c42 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
53 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c125 esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler); in app_prov_stop_service()
171 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in app_prov_event_handler()
377 err = esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler, NULL); in app_prov_start_softap_provisioning()
/hal_espressif-3.6.0/examples/wifi/power_save/main/
Dpower_save.c49 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
67 …ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler,… in wifi_power_save()
/hal_espressif-3.6.0/examples/wifi/fast_scan/main/
Dfast_scan.c78 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
95 …ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler,… in fast_scan()
/hal_espressif-3.6.0/examples/protocols/https_server/simple/main/
Dmain.c147 …ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &connect_handler, &serve… in app_main()
151 …ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_ETH_GOT_IP, &connect_handler, &serve… in app_main()
/hal_espressif-3.6.0/examples/provisioning/legacy/ble_prov/main/
Dapp_prov.c169 esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler); in app_prov_stop_service()
217 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in app_prov_event_handler()
374 err = esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler, NULL); in app_prov_start_ble_provisioning()
Dapp_main.c74 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
86 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, event_handler, NULL)); in wifi_init_sta()
/hal_espressif-3.6.0/examples/wifi/wifi_eap_fast/main/
Dwifi_eap_fast_main.c66 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
87 …ESP_ERROR_CHECK( esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL) ); in initialise_wifi()
/hal_espressif-3.6.0/examples/provisioning/legacy/softap_prov/main/
Dapp_main.c46 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
57 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c111 esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler); in app_prov_stop_service()
157 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in app_prov_event_handler()
363 err = esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, app_prov_event_handler, NULL); in app_prov_start_softap_provisioning()
/hal_espressif-3.6.0/examples/system/console/advanced/main/
Dcmd_wifi.c35 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
57 …ESP_ERROR_CHECK( esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL) ); in initialise_wifi()
/hal_espressif-3.6.0/examples/system/console/basic/main/
Dcmd_wifi.c35 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
57 …ESP_ERROR_CHECK( esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL) ); in initialise_wifi()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/
Dwifi_connect.c120 ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &on_got_ip, NULL)); in start()
143 ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, &on_got_ip)); in stop()
/hal_espressif-3.6.0/examples/wifi/wifi_enterprise/main/
Dwifi_enterprise_main.c95 } else if (event_base == IP_EVENT && event_id == IP_EVENT_STA_GOT_IP) { in event_handler()
120 …ESP_ERROR_CHECK( esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL) ); in initialise_wifi()

123