Skip to content

Raspberry Pi (v3) Hub Service for USB-to-Bluetooth via ZeroMQ

Notifications You must be signed in to change notification settings

CardioArtLab/ca-hub-rpi

Repository files navigation

ca-hub-rpi

Raspberry Pi (v3) Hub Service for USB-to-Bluetooth via ZeroMQ Licensed to CardioArtLab (Academic works)

Installation

  • 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 for usb2mq.py
  • use Python3 for zmq2bluetooth.py

Functions

  • 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

About

Raspberry Pi (v3) Hub Service for USB-to-Bluetooth via ZeroMQ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published