mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 00:51:42 +01:00 
			
		
		
		
	Feature note: Sets up a simple DNS server that answers all questions with the ESP softAP's IP as well as a HTTP server which redirects all requests to a captive portal welcoming page. Triggers captive portal detection (log-in screen popup) for iOS, Android and Windows. Includes example test for testing DNS redirect and HTTP redirect. Closes https://github.com/espressif/esp-idf/issues/7099 Closes https://github.com/espressif/esp-idf/issues/4075
		
			
				
	
	
		
			16 lines
		
	
	
		
			259 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			259 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
  <head>
 | 
						|
    <style>
 | 
						|
      body {
 | 
						|
        background-color: #ffffff;
 | 
						|
      }
 | 
						|
    </style>
 | 
						|
    <title>ESP Captive Portal</title>
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <h1>ESP Captive Portal</h1>
 | 
						|
    <p>Hello World, this is ESP32!</p>
 | 
						|
  </body>
 | 
						|
</html>
 |