Have a way to define the bluetooth device if more than one exists (linux)
kymwatts opened this issue · 3 comments
kymwatts commented
Hello,
I have more than one bluetooth device on my linux machine.
BleCommunicationNix.start() will hang, as hci0 is not a usable bluetooth device.
Ideally, id like to use hci1, which is my main bluetooth dongle.
Is it possible to have an environment var to set alternatives or a argument when instancing RuuviTagSensor?
Cheers
Kym
ttu commented
Hi.
I had this change almost completed, but last time didn't get anyone to test it. Made some minor changes and added it to a new branch:https://github.com/ttu/ruuvitag-sensor/tree/set-bt-device
Could you test it from there?
kymwatts commented
I have confirmed this works.
Thanks