Is it possible to set a connect timeout when trying to use device as a central?
I have NRF52840 Dev kit and mbed-os-5.15.2 with
The issue that I am currently experiencing is that when there is no device in proximity the connect attempt never times out or at least i am not notified about it. So i tried to use
cancelConnect() to stop the connection but instead after it when i turn on the device it connects without me wanting it to.
Is it possible to set connect timeout to 10s?
What do you suggest for alternative solution?