Bluetooth server supporting SPP profile for relaying SkyWatcher serial protocol commands to a locally connected mount. This has been tested on a Raspberry PI 4, might work on older models/different Linux systems.
- Create a virtual environment (venv), activate via
./venv/bin/activate
- Install required modules via requirements.txt via
pip3 install -r requirements.txt
(might require installing native deps) - Open a different terminal with bluetoothctl
- Run the Python script and wait for a connection, you might have to trust it first via the open bluetoothctl session
- Open Bluetooth settings
- More Bluetooth Settings
- Com Ports
- Add outgoing
- Browse
- Serial Port service should appear (after trusting on the server side)
- A COM port will be assigned
- Configure COM port in Device Manager, tested with 115200 baud
Make device and baud rate configurable via command line arguments