Hey All,
I am trying BLE on the PICO W (RP2040) and like to have multiple connections to the same services. As far as I can see, non of the example from https://github.com/raspberrypi/pico-examples allow multiple connections from different devices. (testing use LightBlue). As soon as I have one connection, advertisements stop. And LightBlue cannot connect .
I have added BLE to my own project and I see the same results. I can stream (NMEA) just fine to one device using a Bluetooth serial device terminal but a second connection does not work, even if the device already knows the MAC of my device.
I have been setting the following already higher:I also have been trying to enable gap after teh first connection was established using:
What else could I have been missing?
I am trying BLE on the PICO W (RP2040) and like to have multiple connections to the same services. As far as I can see, non of the example from https://github.com/raspberrypi/pico-examples allow multiple connections from different devices. (testing use LightBlue). As soon as I have one connection, advertisements stop. And LightBlue cannot connect .
I have added BLE to my own project and I see the same results. I can stream (NMEA) just fine to one device using a Bluetooth serial device terminal but a second connection does not work, even if the device already knows the MAC of my device.
I have been setting the following already higher:
Code:
#define MAX_NR_HCI_CONNECTIONS 3#define MAX_NR_LE_CONNECTIONS 3#define MAX_NR_SM_LOOKUP_ENTRIES 3#define MAX_NR_WHITELIST_ENTRIES 16#define MAX_NR_GATT_CLIENTS 3
Code:
gap_connectable_control(1);gap_discoverable_control(1);
Statistics: Posted by rvt — Fri Dec 27, 2024 1:38 pm — Replies 1 — Views 35