mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 06:11:06 +00:00 
			
		
		
		
	This commit adds an example in NimBLE where esp32 runs a peripheral as well as a ping request to configured IP address. This example uses nimble host stack. Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			393 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			393 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Override some defaults so BT stack is enabled
 | 
						|
# in this example
 | 
						|
 | 
						|
# BT config
 | 
						|
CONFIG_BT_ENABLED=y
 | 
						|
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
 | 
						|
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
 | 
						|
CONFIG_BTDM_CTRL_MODE_BTDM=n
 | 
						|
CONFIG_BT_BLUEDROID_ENABLED=n
 | 
						|
CONFIG_BT_NIMBLE_ENABLED=y
 | 
						|
 | 
						|
# Disable backward compatible interface to tcpip_adapter. Use only esp-netif interface.
 | 
						|
CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER=n
 |