nakla / sbfspot

Scripts for building and running the docker container
18 stars 10 forks source link

Add timeout and BT disconnect #14

Open cromefire opened 2 years ago

cromefire commented 2 years ago

Because sbfspot may sometimes hang and in that case just straight not work anymore until the container is restarted, I added a timeout. And because that might kill sbfspot before it disconnects again, I also added a small section to check if it's still connected and if so, it just instructs hcitool to disconnect the device.

Fixes #13

nakla commented 2 years ago

Thanks for your work. I hope i have the time on the weekend to test it. Best regards