Elixir/OTP application to read data from serial device (initially written for OBD2 data) and stream it to file and TCP clients. This application relies on Circuits.UART library.
git clone https://github.com/cboyer/serial-dispatch
Configure your device in config/config.exs
with device:
.
You can list all connected devices with Circuits.UART.enumerate
once compiled and change it later.
@device %{description: "Arduino Due", manufacturer: "Arduino LLC", product_id: 62, vendor_id: 9025}
cd serial-dispatch
mix deps.get
mix compile
iex -S mix