Hi there,
I want to connect multiple nus devices to S120 central. After connection with device, it starts to scan again after the BLE_GAP_EVT_CONNECTED event. And there is problem. After second device connects I always got NRF_ERROR_BUSY from ble_db_discovery function. Do I need to wait some time between connections ? Logs looks like that:
-------------RESTART-------------
Scan started
Connected to target <- BLE_GAP_EVT_CONNECTED event
Scan started
Connected to target <- second device
error #17 at ..\..\..\main.c, in function on_ble_evt, line 453 <- APP ERROR CHECK @ ble_db_discovery_start
Scan started
The device has the device RX characteristic
The device has the device TX characteristic
I've tried delaying some time between discovery, but with no results. Is there any solution to that?