Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Disconnect after absence

$
0
0

I would like to disconnect with the mobile device when nothing happens for 30s. After the device is disconnected it should start advertising again. I know there is the GAPRole_TerminateConnection(); function to disconnect with the mobile device.

But how can I set up this with 30s? Is there a function like TimeOutConnection or something similar where i can set parameters for time to disconnect?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>