2016-11-05 17:18:25 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Wi-Fi
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								=====
 
							 
						 
					
						
							
								
									
										
										
										
											2016-10-24 20:44:57 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-05-15 21:05:44 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								:link_to_translation:`zh_CN:[中文]` 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-09-27 11:13:20 +10:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Introduction
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								------------
 
							 
						 
					
						
							
								
									
										
										
										
											2016-10-26 21:08:36 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-02-02 11:41:52 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								The Wi-Fi libraries provide support for configuring and monitoring the {IDF_TARGET_NAME} Wi-Fi networking functionality. This includes configuration for:
 
							 
						 
					
						
							
								
									
										
										
										
											2016-10-26 21:08:36 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-02-02 11:41:52 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  Station mode (aka STA mode or Wi-Fi client mode). {IDF_TARGET_NAME} connects to an access point.
 
							 
						 
					
						
							
								
									
										
										
										
											2019-12-09 11:01:09 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  AP mode (aka Soft-AP mode or Access Point mode). Stations connect to the {IDF_TARGET_NAME}.
 
							 
						 
					
						
							
								
									
										
										
										
											2021-11-26 15:33:32 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  Station/AP-coexistence mode ({IDF_TARGET_NAME} is concurrently an access point and a station connected to another access point).
 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-27 11:13:20 +10:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-05-26 17:24:18 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  Various security modes for the above (WPA, WPA2, WPA3, etc.)
 
							 
						 
					
						
							
								
									
										
										
										
											2017-09-27 11:13:20 +10:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  Scanning for access points (active & passive scanning).
 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-02 11:41:52 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								-  Promiscuous mode for monitoring of IEEE802.11 Wi-Fi packets.
 
							 
						 
					
						
							
								
									
										
										
										
											2019-04-29 10:53:42 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-01-17 19:12:48 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-02 10:36:01 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Application Examples
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								--------------------
 
							 
						 
					
						
							
								
									
										
										
										
											2016-10-26 21:08:36 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-08-19 18:41:57 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Several application examples demonstrating the functionality of Wi-Fi library are provided in :example: `wifi`  directory of ESP-IDF repository. Please check the :example_file:`README <wifi/README.md>`   for more details.
 
							 
						 
					
						
							
								
									
										
										
										
											2016-10-24 20:44:57 +02:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-02 10:36:01 +02:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								API Reference
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								-------------
 
							 
						 
					
						
							
								
									
										
										
										
											2016-11-05 17:18:25 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-11-13 11:46:16 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_wifi.inc
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_wifi_types.inc
 
							 
						 
					
						
							
								
									
										
										
										
											2023-09-12 14:16:44 +05:30 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_eap_client.inc
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_wps.inc
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_rrm.inc
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_wnm.inc
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								..  include-build-file ::  inc/esp_mbo.inc