mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-02 15:19:30 +01:00
Update wifi lib with below - 1. Create NAN Discovery SM for beaconing & cluster formation 2. Create NAN interface for Tx/Rx of beacons & action frames 3. Add commands & events for NAN Services Publish/Subscribe/Followup 4. Add NAN Datapath definitions, Events, Peer structures 5. Support for forming and parsing of Datapath related attributes 6. Modules for NDP Req, Resp, Confirm, Term, Peer management 7. NAN Interface related additions in Datapath, Data Tx Q's In addition include below changes - 1. Add netif and driver support for NAN Interface 2. Add simple examples for Publisher-Subscriber usecases 3. Add an advanced console example that supports commands for NAN Discovery, Services & Datapath 4. Add wifi_apps for providing better NAN API's and Peer management Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
Wi-Fi Examples
This directory contains a range of examples ESP-IDF projects. These are intended to demonstrate the Wi-Fi functionality, and to provide code that you can copy and adapt into your own projects.
Example Layout
The examples are grouped into sub-directories by category. Each category directory contains one or more example projects:
espnowis the connectionless Wi-Fi communication protocol.fast_scanshows how to use fast scan while connecting to an AP.ftmis a how to use FTM (Fine Timing Measurement) feature to calculate distance between devices.getting_startedcontains the basic examples for using Wi-Fi in STA and AP mode.iperfshows the common performance measurements for two ESP running this example.power_savecontains a how to use power save mode of Wi-Fi.roamingcontains a example using 802.11k and 802.11v APIs.scanshows how to scan for all the available APs.smart_configshows how ESP connects to a target AP with ESPTOUCH.wifi_eap_fastshows how ESP connects to AP with Wi-Fi enterprise encryption using the EAP-FAST method.wifi_easy_connectshows how to configure an ESP device as an enrollee using Device Provisioning Protocol (DPP).wpa2_enterpriseshows how ESP connects to AP with WPA2 enterprise encryption.wpscontains a how to use the Wi-Fi Protected Setup protocol.
More
See the README.md file in the upper level examples directory for more information about examples.