brltty-display-server
a barebones JSON-RPC 2.0 server that provides a single show
method
that displays the input text onto a BrlAPI-compatible display.
documentation on the python usage seems to be limited to apitest.py from the official repository. That file also seems to demonstrate windows usage; this repository assumes linux.
tested on Ubuntu 18.04.2 LTS (bionic)
using nix-env (Nix) 2.2.1
usage
example settings.ini
file:
[braille-python-server] HOSTNAME = localhost PORT = 8111
nix-shell
into the environment and run:
start-brltty
starts the brltty daemonstart-receiver
starts the jsonprc server defined in receiver.py
see example_transmitter.py for a minimal transmission request