mirror of
				https://github.com/espressif/esp-protocols.git
				synced 2025-10-30 22:21:39 +01:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
		
			623 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			623 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
|   | # UART mutual authentication test
 | ||
|  | 
 | ||
|  | This test creates a (D)TLS server and a client on one device and checks if they can perform a TLS handshake and exchange a message. | ||
|  | The test uses UART as the physical layer of communication channel and, since it runs on a single ESP32, it expects two UART ports interconnected as per below: | ||
|  | 
 | ||
|  | ``` | ||
|  |     +------------------------+ | ||
|  |     |   ESP32                | | ||
|  |     |                        | | ||
|  |     |   UART-1      UART-2   | | ||
|  |     +---25---26------4---5---+ | ||
|  |         |    |       |   | | ||
|  |         |    +-------+   | | ||
|  |         +----------------+ | ||
|  | ``` | ||
|  | 
 | ||
|  | The test runs in two configurations: TLS and DTLS. |