Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 716 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 716 Bytes

serial-dispatch

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.

Clone this repository:

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}

Compile:

cd serial-dispatch
mix deps.get
mix compile

Run:

iex -S mix