-
Are multiple BLE connections possible on the BangleJS-2.
No, currently just one central and one peripheral connection, two in total. More connections need more statically allocated memory for bluetooth stack => less memory for Espruino. However Bangle2 is nrf52840 so memory is no longer such big issue so it can be added in future. It also needs some changes in code, currently the code expects single connection everywhere (see e.g. https://github.com/espruino/Espruino/blob/master/targets/nrf5x/bluetooth.c#L186)
I am attempting to connect to a few bluetooth peripherals from the BangleJS-2.
How many is 'a few'? Even if this limit is increased it still won't be much.
The Bluetooth stack has theoretical upper limit of 20 https://infocenter.nordicsemi.com/topic/sds_s140/SDS/s1xx/s140.html?cp=4_7_4_0You can get data from more devices concurrently via advertising.
I am attempting to connect to a few bluetooth peripherals from the BangleJS-2. But I get the following error after the first one connects, and the second attempts to establish a connection: ERR 0x12 (CONN_COUNT)
Are multiple BLE connections possible on the BangleJS-2.
Cheers.