November-8th-2017, 10:23 AM
Hi Armin,
thank you for the excellent support! I played around a little bit and I now I have bluetooth running with the newest bluez-5.47 version. Requirement is that no userspace bluetooth software on the host system is running. So removing the bluez-package was the right decision.
Here is what I did:
- Container running in privileged mode using the host network.
- Download bluez-5.47 package and configure with following command (otherwithe hciattach tool will not be built)
# ./configure --enable-deprecated
- Build bluez package
- Download bluetooth adapter firmware file BCM43430A1.hcd and copy to /etc/firmware/
- start a dbus session
# sudo /etc/init.d/dbus start
- run hciattach to attach the hci0 adapter
# sudo hciattach /dev/ttyAMA0 bcm43xx 921600 noflow
- run bluetoothd
# sudo bluetoothd -dn
now all GATT services are discovered when connecting to a bluetooth device with the bluetoothctl tool.
Thanks you
Thomas
thank you for the excellent support! I played around a little bit and I now I have bluetooth running with the newest bluez-5.47 version. Requirement is that no userspace bluetooth software on the host system is running. So removing the bluez-package was the right decision.
Here is what I did:
- Container running in privileged mode using the host network.
- Download bluez-5.47 package and configure with following command (otherwithe hciattach tool will not be built)
# ./configure --enable-deprecated
- Build bluez package
- Download bluetooth adapter firmware file BCM43430A1.hcd and copy to /etc/firmware/
- start a dbus session
# sudo /etc/init.d/dbus start
- run hciattach to attach the hci0 adapter
# sudo hciattach /dev/ttyAMA0 bcm43xx 921600 noflow
- run bluetoothd
# sudo bluetoothd -dn
now all GATT services are discovered when connecting to a bluetooth device with the bluetoothctl tool.
Thanks you
Thomas