nano 33 iot, BLE, central, number of peripheral connections

I want to connect a nano 33 iot acting as a central via BLE to 5 peripherals, but unfortunately only 3 peripherals can be connected. Is this a hardware restriction or can I increase the number of connections by setting some prameters?

I see this in the ArduinoBLE library source code:

#define ATT_MAX_PEERS 3

I suspect that's the source of the limitation. Try editing that line of the library and see if it makes a difference. If you want detailed instructions for how to do that, I'm happy to provide them.

Yes, that's the source of the limitation. Now I can connect to 5 peripherals. Thank you very much.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per