mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			71 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
menu "Example Configuration"
 | 
						|
 | 
						|
    choice EXAMPLE_LOCAL_CTRL_TRANSPORT
 | 
						|
        bool "Local Control Transport"
 | 
						|
        default EXAMPLE_LOCAL_CTRL_TRANSPORT_HTTP
 | 
						|
        default EXAMPLE_LOCAL_CTRL_TRANSPORT_BLE if SOC_BT_SUPPORTED
 | 
						|
        help
 | 
						|
            Local Control component offers both, HTTP/S and BLE transports. Choose any one.
 | 
						|
 | 
						|
        config EXAMPLE_LOCAL_CTRL_TRANSPORT_HTTP
 | 
						|
            bool "HTTP/S"
 | 
						|
            select LWIP_IPV4
 | 
						|
 | 
						|
        config EXAMPLE_LOCAL_CTRL_TRANSPORT_BLE
 | 
						|
            bool "BLE"
 | 
						|
            select BT_ENABLED
 | 
						|
            depends on SOC_BT_SUPPORTED
 | 
						|
    endchoice
 | 
						|
 | 
						|
    choice EXAMPLE_PROTOCOMM_SECURITY_VERSION
 | 
						|
        bool "Protocomm security version"
 | 
						|
        default EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
 | 
						|
        help
 | 
						|
            Local Control component offers 3 security versions.
 | 
						|
            The example offers a choice between security version 0, 1 and 2.
 | 
						|
 | 
						|
        config EXAMPLE_PROTOCOMM_SECURITY_VERSION_0
 | 
						|
            bool "Security Version 0"
 | 
						|
            select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0
 | 
						|
 | 
						|
        config EXAMPLE_PROTOCOMM_SECURITY_VERSION_1
 | 
						|
            bool "Security version 1"
 | 
						|
            select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1
 | 
						|
 | 
						|
        config EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
 | 
						|
            bool "Security version 2"
 | 
						|
            select ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2
 | 
						|
    endchoice
 | 
						|
 | 
						|
    choice EXAMPLE_PROTOCOMM_SEC2_MODE
 | 
						|
        bool "Security version 2 mode"
 | 
						|
        depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
 | 
						|
        default EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
 | 
						|
 | 
						|
        config EXAMPLE_PROTOCOMM_SEC2_DEV_MODE
 | 
						|
            bool "Security version 2 development mode"
 | 
						|
            depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
 | 
						|
            help
 | 
						|
                This enables the development mode for
 | 
						|
                security version 2.
 | 
						|
                Please note that this mode is NOT recommended for production purpose.
 | 
						|
 | 
						|
        config EXAMPLE_PROTOCOMM_SEC2_PROD_MODE
 | 
						|
            bool "Security version 2 production mode"
 | 
						|
            depends on EXAMPLE_PROTOCOMM_SECURITY_VERSION_2
 | 
						|
            help
 | 
						|
                This enables the production mode for
 | 
						|
                security version 2.
 | 
						|
    endchoice
 | 
						|
 | 
						|
    config EXAMPLE_LOCAL_CTRL_USING_BLUEDROID
 | 
						|
        bool
 | 
						|
        depends on (BT_BLUEDROID_ENABLED && !IDF_TARGET_ESP32)
 | 
						|
        select BT_BLE_42_FEATURES_SUPPORTED
 | 
						|
        default y
 | 
						|
        help
 | 
						|
            This enables BLE 4.2 features for Bluedroid which are required for
 | 
						|
            the API definitions that are present in the esp_gap_ble_api header.
 | 
						|
 | 
						|
endmenu
 |