mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-24 03:03:25 +00:00
Extends the example by adding option to sniff traffic on Ethernet interface. User have interactive option to use either WiFi or Ethernet interface to sniff on.
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.simple_snifferdemonstrates basic usage of WiFi sniffer mode by saving packets into SD card with pcap format.smart_configshows how ESP connects to a target AP with ESPTOUCH.wifi_easy_connectshows how to configure an ESP device as an enrollee using Device Provisioning Protocol (DPP).wpa2_enterpriseconnects 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.