I am using 3 nrf52 DKs with S132 and SDK14 / and SDK15 to try and implement a combination of the multilink and UART examples. I started with the ble_app_uart_c example and added the relevant code from the ble_app_multilink_central example to connect to multiple (in my case 2) peripherals.
If I call in the ble_evt_handler() in case BLE_GAP_EVT_CONNECTED the function scan_start(); then the ble_nus_c_evt_handler() with the case BLE_NUS_C_EVT_DISCOVERY_COMPLETE is called three times. If I don't call the scan_start() function in the BLE_GAP_EVT_CONNECTED case the BLE_NUS_C_EVT_DISCOVERY_COMPLETE is called only ones.
But in both cases the central is not connecting to the second peripheral. As soon as I switch of the connected peripheral, the other peripheral is connecting and exchanging datas.
What do I miss that I can connect to the two peripherals at the same time?
Thanks