2023-03-02 01:17:08 +11:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-S2 | ESP32-S3 |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-07-05 09:01:03 +10:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Wi-Fi Examples
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-02-05 17:49:28 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								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:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `espnow`  is the connectionless Wi-Fi communication protocol.
							 
						 
					
						
							
								
									
										
										
										
											2022-08-19 18:41:57 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `fast_scan`  shows how to use fast scan while connecting to an AP.
							 
						 
					
						
							
								
									
										
										
										
											2021-02-05 17:49:28 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `ftm`  is a how to use FTM (Fine Timing Measurement) feature to calculate distance between devices.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `getting_started`  contains the basic examples for using Wi-Fi in STA and AP mode.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `iperf`  shows the common performance measurements for two ESP running this example.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `power_save`  contains a how to use power save mode of Wi-Fi.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `roaming`  contains a example using 802.11k and 802.11v APIs.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `scan`  shows how to scan for all the available APs.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `smart_config`  shows how ESP connects to a target AP with ESPTOUCH.
							 
						 
					
						
							
								
									
										
										
										
											2022-08-19 18:41:57 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `wifi_eap_fast`  shows how ESP connects to AP with Wi-Fi enterprise encryption using the EAP-FAST method.
							 
						 
					
						
							
								
									
										
										
										
											2021-02-05 17:49:28 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `wifi_easy_connect`  shows how to configure an ESP device as an enrollee using Device Provisioning Protocol (DPP).
							 
						 
					
						
							
								
									
										
										
										
											2022-08-19 18:41:57 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `wpa2_enterprise`  shows how ESP connects to AP with WPA2 enterprise encryption.
							 
						 
					
						
							
								
									
										
										
										
											2021-02-05 17:49:28 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `wps`  contains a how to use the Wi-Fi Protected Setup protocol.
							 
						 
					
						
							
								
									
										
										
										
											2021-01-21 19:55:39 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-07-05 09:01:03 +10:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# More
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								See the [README.md ](../README.md ) file in the upper level [examples ](../ ) directory for more information about examples.