Raspberry Pi (v3) Hub Service for USB-to-Bluetooth via ZeroMQ Licensed to CardioArtLab (Academic works)
- clone project at
/opt
$ cd /opt
- install systemd service and udev
$ ./install.sh
$ systemctl enable ca-hub-rpi-init
$ systemctl enable ca-hub-rpi
$ systemctl start ca-hub-rpi
- Due to
libusb1
use Python2 forusb2mq.py
- use Python3 for
zmq2bluetooth.py
ca-hub-rpi-init
enable inquiry scan- When USB bus=1 address=2 plug in, systemd will start
ca-hub-rpi@1:2
- Main service logging
$ journalctl -u ca-hub-rpi -r | head -20
$ journalctl -u ca-hub-rpi@[bus]:[address] -r | head -20
- Bluetooth config
$ hciconfig