I have an ESP32 which must be connected to 4 peripherals permanently (at least most of the time). Because these peripherals can loose connection from time to time, it must be absolutely sure, that they reconnect reliably again, as soon as they are ready again.
To test this behavior, my peripherals disconnect BLE every 3 minutes (after time of connection) and so initiate a new connection from the ESP32.
The ESP32 knows the addresses of the 4 peripherals and tries to establish a connection each time, if one or more of them is/are not connected anymore.
It obviously happens, that such a reconnect fails and so it must be tried again. After such unsuccessful tries, the ESP32 starts to not connect to available peripherals anymore, which do advertise and are connectable from other central devices (cell phone).
Has anybody seen such behaviour or knows how to prevent from this failures?