Remove tinfo dependency, is part of ncurses
Merge branch 'master' of git.forge:~hp/monobus
Replace deprecated ftdi_usb_purge_buffers
Control your Lawo MonoBus devices via an OSC server that talks to FTDI USB adapters.
git clone https://git.open-music-kontrollers.ch/~hp/monobus
cd monobus
meson build
cd build
ninja
ninja test
sudo ninja install
[user@machine ~] dmesg
[ 132.718684] usb 1-1.4: New USB device found, idVendor=0403, idProduct=6001, bcdDevice= 6.00
[ 132.718689] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 132.718691] usb 1-1.4: Product: FT232R USB UART
[ 132.718693] usb 1-1.4: Manufacturer: FTDI
[ 132.718695] usb 1-1.4: SerialNumber: ABCXYZ
monobusd \
-V 0x0403 \ # USB idVendor
-P 0x6001 \ # USB idProduct
-D 'FT232R USB UART' \ # USB product description
-S ABCXYZ \ # USB product serial number
-F 2 \ # update rate in frames per second
-U osc.udp://:7777 # OSC server URI
monobusd \
-T \ # enable testing mode
-F 2 \ # update rate in frames per second
-U osc.udp://:7777 # OSC server URI
monobusc \
-P 11 \ # priority level 11
-X 2 \ # put image data at x-offset 2
-Y 3 \ # put image data at x-offset 3
-W 112 \ # image data width
-H 16 \ # image data height
-U osc.udp://localhost:7777 \ # OSC server URI
-I bitmap.pbm # Bitmap in PBM format
monobusc \
-P 11 \ # priority level 11
-C \ # clear image data
-U osc.udp://localhost:7777 # OSC server URI
To set the bitmap, send your OSC messages to given OSC path with PRIO 0-31 integer x-offset, integer y-offset, integer width, integer height and blob argument being your bitmap data in PBM payload format.
# set bitmap of size 112x16 at offset position (8,12) for priority level 11
osc.udp://localhost:7777 /monobus/11 ,iiiib 8 12 112 16 {...}
To clear the bitmap, send your empty OSC messages to given OSC path with PRIO 0-31.
# clear whole bitmap for priority level 11
osc.udp://localhost:7777 /monobus/11 ,
Please report issues to https://todo.open-music-kontrollers.ch/~hp/issues
Please submit patches to https://lists.open-music-kontrollers.ch/~hp/patches