mirror of
				https://github.com/espressif/esp-protocols.git
				synced 2025-11-04 00:21:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
		
			632 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			632 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "Example Configuration"
 | 
						|
 | 
						|
    choice WEBSOCKET_URI_SOURCE
 | 
						|
        prompt "Websocket URI source"
 | 
						|
        default WEBSOCKET_URI_FROM_STRING
 | 
						|
        help
 | 
						|
            Selects the source of the URI used in the example.
 | 
						|
 | 
						|
        config WEBSOCKET_URI_FROM_STRING
 | 
						|
            bool "From string"
 | 
						|
 | 
						|
        config WEBSOCKET_URI_FROM_STDIN
 | 
						|
            bool "From stdin"
 | 
						|
    endchoice
 | 
						|
 | 
						|
    config WEBSOCKET_URI
 | 
						|
        string "Websocket endpoint URI"
 | 
						|
        depends on WEBSOCKET_URI_FROM_STRING
 | 
						|
        default "ws://echo.websocket.events"
 | 
						|
        help
 | 
						|
            URL of websocket endpoint this example connects to and sends echo
 | 
						|
 | 
						|
endmenu
 |