bt-mqtt-gateway icon indicating copy to clipboard operation
bt-mqtt-gateway copied to clipboard

Multiple bluetooth devices --> configure which one to use

Open rsneyer opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. I'm successfully running bt-mqtt-gateway in docker on a raspberry 3+ on hypriot. Works very well! Thank you! The raspberry has multiple (usb) bluetooth dongles attached (hci0, hci1, hci2) which all work. How can I configure bt-mqtt-gateway to use hci2?

Describe the solution you'd like configurable option which bluetooth device to use

Describe alternatives you've considered none

Additional context none

Thank you for info!

Best regards, rsneyer

rsneyer avatar May 06 '21 11:05 rsneyer

Hmm I think problem will be with few different BLE libs, used by workers. Maybe easiest solution would be to use docker and pass desired ble device there only ?

zewelor avatar May 06 '21 18:05 zewelor

I have the same problem and have not yet managed to pass only one bluetooth controller to the container. Did you find a solution @rsneyer ?

domifi avatar Jun 27 '21 18:06 domifi

Unfortunatly not; I ended up using 2 raspis.

rsneyer avatar Jun 29 '21 17:06 rsneyer