I’m working on a project where I’m building an Amazon Alexa Gadget.
Fortunately, there are raspberry PI examples so it was easy to get started. In short, the example allows the raspberry PI to connect to an Echo device through bluetooth. It can then send events directly. I managed to get this part to run. (This part is written in python)
Next to this, I have software from a previous project. It is written in Nodejs. This project also uses bluetooth (noble) to connect to a different device.
I created containers for both projects and managed to run them both individually. I also managed to run them simultaneously, but I get issues related to Bluetooth. It seems that they are both trying to use the bluetooth adapter, which is somehow conflicting. This is visible from sudden disconnects or failed attempts to connect.
My question is: do you think I can solve this issue by using an external bluetooth adapter (usb). In that case, I can have 1 container use the onboard ble, and the other the adapter, or will this still result in conflicts?
Thanks for the help !