quikgrok - Real-time pipeline protocol decoders
quikgrok is a suite of very simple C based filters designed to used in live shell pipes.
Usage
Offline decode of a capture file:
sigrok-cli -i uart_log.sr -O binary | \
bin2tts --bits=8 --sample-rate=1000000 | \
tts-uart --mask=0x20 --baud-rate=115200
Live decode from a running system (decode pin 2 of the FX2 device):
sigrok-cli \
--driver fx2lafw --config samplerate=1000000 \
--time=100000s -O binary | \
bin2tts --bits=8 --sample-rate=1000000 --timeout 10000 | \
tts-uart --mask=0x20 --baud-rate=115200