This is a simple script which makes a USB-connected Wasatch Photonics spectrometer accessible via BLE (Bluetooth Low Energy).
- Wasatch.PY for spectrometer interface
- pybleno for BLE interface ("only tested on Linux Raspbian" :-)
Run the BLE service:
$ sudo PYTHONPATH=/path/to/Wasatch.PY python -u main.py
(Sudo required because pybleno uses raw sockets).