#!/bin/bash
#
# This is used by lars.erl to start an acquisition port. It can be
# used stand-alone as well.
#
# The script needs two parameters: the raw aqcuisition driver that
# generates binary data on stdout (e.g. saleae), and the protocol
# filter that parses that data and produces some other protocol on
# stdout.
[ && DEV=""
[ && TYPE=""
[ && &&
[ && &&
FILTER="/target/release/lars"
[ && &&
# Note that all input drivers need to exit when their stdin closes.
|