How to change Gap discovery duration?
Hi,
I tried the BLE p2p Client example from cubemx and running on STM32IDE.
Whenever I push the button, the device starts scanning in general discovery mode. The issue is it always scans for 10 seconds and I am not able to change it.
I have tried changing the scan interval and window but that's different and still the same result. I tried to find a timeout for this but can't seem to locate it.
Can someone help me please, I am new to this chip and BLE so having a hard time understanding.
