Home
last modified time | relevance | path

Searched refs:WIFI_EVENT (Results 1 – 25 of 66) sorted by relevance

123

/hal_espressif-3.6.0/components/esp_wifi/src/
Dwifi_default.c139 esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_START, wifi_default_action_sta_start); in _esp_wifi_clear_default_wifi_handlers()
140 esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_STOP, wifi_default_action_sta_stop); in _esp_wifi_clear_default_wifi_handlers()
141 …esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_CONNECTED, wifi_default_action_sta_connect… in _esp_wifi_clear_default_wifi_handlers()
142 …esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, wifi_default_action_sta_disc… in _esp_wifi_clear_default_wifi_handlers()
144 esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_AP_START, wifi_default_action_ap_start); in _esp_wifi_clear_default_wifi_handlers()
145 esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_AP_STOP, wifi_default_action_ap_stop); in _esp_wifi_clear_default_wifi_handlers()
163 …err = esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_START, wifi_default_action_sta_start, … in _esp_wifi_set_default_wifi_handlers()
168 …err = esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_STOP, wifi_default_action_sta_stop, NU… in _esp_wifi_set_default_wifi_handlers()
173 …err = esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_CONNECTED, wifi_default_action_sta_con… in _esp_wifi_set_default_wifi_handlers()
178 …err = esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, wifi_default_action_sta_… in _esp_wifi_set_default_wifi_handlers()
[all …]
/hal_espressif-3.6.0/examples/wifi/getting_started/station/main/
Dstation_example_main.c47 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
49 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
80 ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, 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.6.0/examples/protocols/esp_local_ctrl/main/
Dapp_main.c49 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
51 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
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.6.0/examples/protocols/static_ip/main/
Dstatic_ip_example_main.c88 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
90 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_CONNECTED) { in event_handler()
92 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
125 ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, 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.6.0/examples/wifi/wifi_easy_connect/dpp-enrollee/main/
Ddpp_enrollee_main.c54 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
57 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
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.6.0/examples/provisioning/legacy/console_prov/main/
Dapp_main.c33 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
35 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
52 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c109 esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler); in app_prov_stop_service()
148 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in app_prov_event_handler()
163 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in app_prov_event_handler()
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.6.0/examples/provisioning/legacy/custom_config/main/
Dapp_main.c33 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
35 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
52 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c124 esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler); in app_prov_stop_service()
164 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in app_prov_event_handler()
188 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in app_prov_event_handler()
371 err = esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler, NULL); in app_prov_start_softap_provisioning()
/hal_espressif-3.6.0/examples/wifi/power_save/main/
Dpower_save.c45 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
47 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
66 …ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, … in wifi_power_save()
/hal_espressif-3.6.0/examples/wifi/fast_scan/main/
Dfast_scan.c74 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
76 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
94 …ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, … in fast_scan()
/hal_espressif-3.6.0/examples/wifi/wifi_eap_fast/main/
Dwifi_eap_fast_main.c61 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
63 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
86 … ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); in initialise_wifi()
/hal_espressif-3.6.0/examples/provisioning/legacy/ble_prov/main/
Dapp_main.c40 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
42 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
85 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c168 esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler); in app_prov_stop_service()
210 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in app_prov_event_handler()
225 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in app_prov_event_handler()
368 err = esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler, NULL); in app_prov_start_ble_provisioning()
/hal_espressif-3.6.0/examples/provisioning/legacy/softap_prov/main/
Dapp_main.c37 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
39 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
56 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, event_handler, NULL)); in wifi_init_sta()
Dapp_prov.c110 esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler); in app_prov_stop_service()
150 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in app_prov_event_handler()
174 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in app_prov_event_handler()
357 err = esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, app_prov_event_handler, NULL); in app_prov_start_softap_provisioning()
/hal_espressif-3.6.0/examples/wifi/wifi_enterprise/main/
Dwifi_enterprise_main.c90 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
92 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
119 … ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); in initialise_wifi()
/hal_espressif-3.6.0/examples/wifi/smart_config/main/
Dsmartconfig_main.c39 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
41 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
99 … ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); in initialise_wifi()
/hal_espressif-3.6.0/examples/wifi/roaming/main/
Droaming_example.c40 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
42 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
50 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_CONNECTED) { in event_handler()
369 ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL) ); in initialise_wifi()
372 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_BSS_RSSI_LOW, in initialise_wifi()
/hal_espressif-3.6.0/examples/provisioning/wifi_prov_mgr/main/
Dapp_main.c93 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
100 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
189 ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL)); in app_main()
/hal_espressif-3.6.0/examples/system/console/advanced/main/
Dcmd_wifi.c32 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
56 …ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, &event_handle… in initialise_wifi()
/hal_espressif-3.6.0/examples/system/console/basic/main/
Dcmd_wifi.c32 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
56 …ESP_ERROR_CHECK( esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, &event_handle… in initialise_wifi()
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/
Dwifi_connect.c119 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, &on_wifi_disco… in start()
142 …ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, &on_wifi_dis… in stop()
/hal_espressif-3.6.0/examples/bluetooth/nimble/bleprph_wifi_coex/main/
Dmain.c74 if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_START) { in event_handler()
76 } else if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) { in event_handler()
107 ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, in wifi_init_sta()
156 …ESP_ERROR_CHECK(esp_event_handler_instance_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, instance_any_i… in wifi_init_sta()
/hal_espressif-3.6.0/examples/common_components/protocol_examples_common/
Dconnect.c288 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, &on_wifi_disco… in wifi_start()
291 …ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, WIFI_EVENT_STA_CONNECTED, &on_wifi_connect,… in wifi_start()
317 …ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_DISCONNECTED, &on_wifi_dis… in wifi_stop()
321 …ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, WIFI_EVENT_STA_CONNECTED, &on_wifi_connec… in wifi_stop()

123