mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
3eaf78d462
`advanced_https_ota` can run a minimal BLE GATT server while downloading OTA update. Both NimBLE and Bluedroid stack can be used here by configuring relevant options in menuconfig. Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
18 lines
544 B
Nim
18 lines
544 B
Nim
# Enable NimBLE
|
|
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
|
|
|
|
# Partition Table
|
|
CONFIG_PARTITION_TABLE_CUSTOM=y
|
|
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions_example_with_ble.csv"
|
|
CONFIG_PARTITION_TABLE_FILENAME="partitions_example_with_ble.csv"
|
|
|
|
CONFIG_EXAMPLE_FIRMWARE_UPGRADE_URL="FROM_STDIN"
|
|
CONFIG_EXAMPLE_SKIP_COMMON_NAME_CHECK=y
|
|
CONFIG_EXAMPLE_SKIP_VERSION_CHECK=y
|
|
CONFIG_EXAMPLE_OTA_RECV_TIMEOUT=3000
|