weliem / blessed-bluez

BLE library using Java and Bluez
MIT License
76 stars 23 forks source link

is there any way to set connection time out for devices that i want to connect #24

Closed ranjitIN closed 1 year ago

ranjitIN commented 1 year ago

case: i want to try to connect with the device and if it not able connect with the device with in 5 sec or with in a time period then i try to connect with the device again

weliem commented 1 year ago

The default timeout in Bluez is 25 sec. If you want a shorter timeout you have to set a timer yourself.

weliem commented 1 year ago

The default timeout in Bluez is 25 sec. If you want a shorter timeout you have to set a timer yourself.