-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Type: QuestionOnly questionOnly question
Description
Board
CoreS2
Device Description
Just the CoreS2
Hardware Configuration
Just the CoreS2
Version
latest stable Release (if not listed below)
IDE Name
Arduino IDE 1.8.x
Operating System
Windows 11
Flash frequency
80mhz
PSRAM enabled
yes
Upload speed
115200
Description
Using a CoreS2 (ESP32) with Arduino IDE. I cannot make more than 3 connections simultaneously. I need 4. Is there a way to make this work.
Sketch
`String wheel[] = {"35:c6:fe:1a:1d:47",
"bc:5c:43:78:a1:33",
"65:fb:b5:43:7f:d1",
"d5:57:2c:60:ef:d3"
};
for (int i = 0; i < 4; i++)
{
Serial.print(wheel[i]);
BLEClient* thisClient = BLEDevice::createClient();
Serial.println(" - Created client ");
bool cRet = thisClient->connect(wheel[i]);
Serial.print("RET:"); Serial.println(cRet);
if (!cRet) {
Serial.println("Connection failed 1");
else
Serial.println(" - Connected to server");
}`
Debug Message
None other than the 4th connection fails and prints Connection failed 1
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Type: QuestionOnly questionOnly question