/hal_espressif-3.6.0/components/esp_wifi/src/ |
D | wifi_default.c | 139 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/ |
D | station_example_main.c | 47 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/ |
D | app_main.c | 49 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/ |
D | static_ip_example_main.c | 88 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/ |
D | dpp_enrollee_main.c | 54 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/ |
D | app_main.c | 33 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()
|
D | app_prov.c | 109 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/ |
D | app_main.c | 33 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()
|
D | app_prov.c | 124 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/ |
D | power_save.c | 45 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/ |
D | fast_scan.c | 74 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/ |
D | wifi_eap_fast_main.c | 61 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/ |
D | app_main.c | 40 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()
|
D | app_prov.c | 168 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/ |
D | app_main.c | 37 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()
|
D | app_prov.c | 110 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/ |
D | wifi_enterprise_main.c | 90 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/ |
D | smartconfig_main.c | 39 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/ |
D | roaming_example.c | 40 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/ |
D | app_main.c | 93 } 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/ |
D | cmd_wifi.c | 32 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/ |
D | cmd_wifi.c | 32 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/ |
D | wifi_connect.c | 119 …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/ |
D | main.c | 74 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/ |
D | connect.c | 288 …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()
|