![]() Returnsĭeinit WiFi Free all resource allocated in esp_wifi_init and stop WiFi task.ġ. Please be notified that the field ‘magic’ of wifi_init_config_t should always be WIFI_INIT_CONFIG_MAGIC! ParametersĬonfig – pointer to WiFi initialized configuration structure can point to a temporary variable. If you want to set your own initial values, overwrite the default values which are set by WIFI_INIT_CONFIG_DEFAULT. Always use WIFI_INIT_CONFIG_DEFAULT macro to initialize the configuration to default values, this can guarantee all the fields get correct value when more fields are added into wifi_init_config_t in future release. This API must be called before all other WiFi API can be called AttentionĢ. Initialize WiFi Allocate resource for WiFi driver, such as WiFi control structure, RX/TX buffer, WiFi NVS structure etc. API Reference Header File įunctions esp_err_t esp_wifi_init ( const wifi_init_config_t * config ) Please check the README for more details. Several application examples demonstrating the functionality of Wi-Fi library are provided in wifi directory of ESP-IDF repository. Promiscuous mode for monitoring of IEEE802.11 Wi-Fi packets. Scanning for access points (active & passive scanning). Various security modes for the above (WPA, WPA2, WPA3, etc.) Station/AP-coexistence mode (ESP32-S2 is concurrently an access point and a station connected to another access point). ESP32-S2 connects to an access point.ĪP mode (aka Soft-AP mode or Access Point mode). ![]() Station mode (aka STA mode or Wi-Fi client mode). The Wi-Fi libraries provide support for configuring and monitoring the ESP32-S2 Wi-Fi networking functionality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |