From 405619c46181e5f2326d32df6fee44b817bf9787 Mon Sep 17 00:00:00 2001 From: giulcioffi Date: Wed, 28 Oct 2020 17:45:23 +0100 Subject: [PATCH] Increase min and max time intervals to allow the connections up to 5 BLE peripherals --- src/utility/ATT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/ATT.cpp b/src/utility/ATT.cpp index eaa58d35..26898988 100644 --- a/src/utility/ATT.cpp +++ b/src/utility/ATT.cpp @@ -111,7 +111,7 @@ bool ATTClass::connect(uint8_t peerBdaddrType, uint8_t peerBdaddr[6]) { // original supervision timeout "0x00c8" seems to be too short for Nano 33 BLE (2 seconds) if (HCI.leCreateConn(0x0060, 0x0030, 0x00, peerBdaddrType, peerBdaddr, 0x00, - 0x0006, 0x000c, 0x0000, 1000, 0x0004, 0x0006) != 0) { + 0x001c, 0x0020, 0x0000, 1000, 0x0004, 0x0006) != 0) { return false; }