Hello everybody !
Designing with the development board nRF52832 and SDK14.2.
My code is based on the code of the "ble_app_multilink_central" on which, I added some of the code "ble_app_uart_c" for the initialization and the event manager on the uart. I have a nrf52832 development board as a central and 2 rf52832 developpemtn boards as a peripheral.
In my uart event handle, I created several commands that I manage from my PC.
For example by pressing "1", I start scanning.
My goal is to add a function by pressing, for example "3", which allows to stop the connection with in my case the 2 peripherals with which is connected my central.
Using sd_ble_gap_disconnect is for me the solution but I do not see how to stop all connections.
Thank you in advance for your assistance !