hybridgroup / gobot

Golang framework for robotics, drones, and the Internet of Things (IoT)
https://gobot.io
Other
8.89k stars 1.04k forks source link

ble(client): add scan timout and configure option #1051

Closed gen2thomas closed 7 months ago

gen2thomas commented 9 months ago

Solved issues and/or description of the change

If there is no BLE device, the connect procedure will never stop. This change adds a timeout and the possibility to configure the timeout by With* option.

Additionally:

Manual test

Checklist