aboutsummaryrefslogtreecommitdiff
path: root/ports/esp32/boards
diff options
context:
space:
mode:
authorJim Mussared2019-10-14 15:39:40 +1100
committerDamien George2019-10-15 17:20:25 +1100
commit418f12c5f50b6642aee0193adaa792c962226683 (patch)
treefdfaec988323809508942edd68c11a3f11b04ec1 /ports/esp32/boards
parentf562f94e1c4ba3dd62a30b778ca6e88474fbc8e8 (diff)
extmod/modbluetooth: Increase maximum connections from 1 to 4.
This avoids a confusing ENOMEM raised from gap_advertise if there is currently an active connection. This refers to the static connection buffer pre-allocated by Nimble (nothing to do with MicroPython heap memory).
Diffstat (limited to 'ports/esp32/boards')
-rw-r--r--ports/esp32/boards/sdkconfig.ble1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/esp32/boards/sdkconfig.ble b/ports/esp32/boards/sdkconfig.ble
index db9cc1175..2c7c97b61 100644
--- a/ports/esp32/boards/sdkconfig.ble
+++ b/ports/esp32/boards/sdkconfig.ble
@@ -4,3 +4,4 @@ CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=
CONFIG_BTDM_CTRL_MODE_BTDM=
CONFIG_BT_NIMBLE_ENABLED=y
+CONFIG_BT_NIMBLE_MAX_CONNECTIONS=4