The existing Bluetooth examples are split as: 1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples b. examples/bluetooth/bluedroid/ble - BLE examples c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder 2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples 3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples 4. Update documentation references
82 lines
No EOL
2.3 KiB
Text
82 lines
No EOL
2.3 KiB
Text
# Override some defaults so BT stack is enabled
|
|
# by default in this example
|
|
|
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
|
|
CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
|
|
CONFIG_MEMMAP_SMP=y
|
|
CONFIG_BT_ENABLED=y
|
|
CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY=y
|
|
CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY=
|
|
CONFIG_BTDM_CONTROLLER_MODE_BTDM=
|
|
CONFIG_BTDM_CONTROLLER_MODEM_SLEEP=n
|
|
CONFIG_BLE_SCAN_DUPLICATE=y
|
|
CONFIG_SCAN_DUPLICATE_TYPE=2
|
|
CONFIG_DUPLICATE_SCAN_CACHE_SIZE=200
|
|
CONFIG_BLE_MESH_SCAN_DUPLICATE_EN=y
|
|
CONFIG_MESH_DUPLICATE_SCAN_CACHE_SIZE=200
|
|
CONFIG_BTDM_CONTROLLER_FULL_SCAN_SUPPORTED=y
|
|
CONFIG_GATTS_ENABLE=y
|
|
CONFIG_GATTS_SEND_SERVICE_CHANGE_MANUAL=y
|
|
CONFIG_BLE_MESH=y
|
|
CONFIG_BLE_MESH_HCI_5_0=y
|
|
CONFIG_BLE_MESH_USE_DUPLICATE_SCAN=y
|
|
CONFIG_BLE_MESH_FAST_PROV=y
|
|
CONFIG_BLE_MESH_PROV=y
|
|
CONFIG_BLE_MESH_NODE=y
|
|
CONFIG_BLE_MESH_PROVISIONER=y
|
|
CONFIG_BLE_MESH_WAIT_FOR_PROV_MAX_DEV_NUM=20
|
|
CONFIG_BLE_MESH_MAX_STORED_NODES=10
|
|
CONFIG_BLE_MESH_MAX_PROV_NODES=6
|
|
CONFIG_BLE_MESH_PBA_SAME_TIME=3
|
|
CONFIG_BLE_MESH_PBG_SAME_TIME=3
|
|
CONFIG_BLE_MESH_PROVISIONER_SUBNET_COUNT=3
|
|
CONFIG_BLE_MESH_PROVISIONER_APP_KEY_COUNT=9
|
|
CONFIG_BLE_MESH_PB_ADV=y
|
|
CONFIG_BLE_MESH_NET_BUF_POOL_USAGE=y
|
|
CONFIG_BLE_MESH_PB_GATT=y
|
|
CONFIG_BLE_MESH_GATT_PROXY=y
|
|
CONFIG_BLE_MESH_RELAY=y
|
|
CONFIG_BLE_MESH_LOW_POWER=
|
|
CONFIG_BLE_MESH_FRIEND=
|
|
CONFIG_BTU_TASK_STACK_SIZE=4512
|
|
CONFIG_BLE_MESH_CFG_CLI=y
|
|
CONFIG_BLE_MESH_GENERIC_ONOFF_CLI=y
|
|
CONFIG_BLE_MESH_CRPL=60
|
|
CONFIG_BLE_MESH_MSG_CACHE_SIZE=60
|
|
CONFIG_BLE_MESH_ADV_BUF_COUNT=200
|
|
CONFIG_BLE_MESH_TX_SEG_MSG_COUNT=10
|
|
CONFIG_BLE_MESH_RX_SEG_MSG_COUNT=10
|
|
CONFIG_BLE_MESH_RX_SDU_MAX=384
|
|
CONFIG_BLE_MESH_TX_SEG_MAX=32
|
|
CONFIG_BLE_MESH_NO_LOG=n
|
|
CONFIG_BLE_MESH_STACK_TRACE_LEVEL=0
|
|
|
|
CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=4096
|
|
|
|
CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=16
|
|
CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=64
|
|
CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=64
|
|
CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
|
|
CONFIG_ESP32_WIFI_TX_BA_WIN=32
|
|
CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
|
|
CONFIG_ESP32_WIFI_RX_BA_WIN=32
|
|
|
|
CONFIG_FREERTOS_UNICORE=
|
|
CONFIG_FREERTOS_HZ=1000
|
|
|
|
CONFIG_INT_WDT=
|
|
CONFIG_TASK_WDT=
|
|
|
|
CONFIG_TCP_SND_BUF_DEFAULT=65534
|
|
CONFIG_TCP_WND_DEFAULT=65534
|
|
CONFIG_TCP_RECVMBOX_SIZE=64
|
|
CONFIG_UDP_RECVMBOX_SIZE=64
|
|
CONFIG_TCPIP_RECVMBOX_SIZE=64
|
|
CONFIG_LWIP_ETHARP_TRUST_IP_MAC=
|
|
|
|
CONFIG_FLASHMODE_QIO=y
|
|
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
|
|
CONFIG_LWIP_IRAM_OPTIMIZATION=y
|
|
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y |