Abram Connelly dd35d13e49 "state.info" updates il y a 4 ans
..
DIUv2 dd35d13e49 "state.info" updates il y a 4 ans
PIU dd35d13e49 "state.info" updates il y a 4 ans
avls dd35d13e49 "state.info" updates il y a 4 ans
billdb dd35d13e49 "state.info" updates il y a 4 ans
client_supervisor dd35d13e49 "state.info" updates il y a 4 ans
commhub dd35d13e49 "state.info" updates il y a 4 ans
common dd35d13e49 "state.info" updates il y a 4 ans
debug 46302b7bf2 simple script to push PIU messages through it's tty il y a 6 ans
gps dd35d13e49 "state.info" updates il y a 4 ans
helper c642729e16 minor tweaks il y a 5 ans
paddlemgr dd35d13e49 "state.info" updates il y a 4 ans
passdb dd35d13e49 "state.info" updates il y a 4 ans
ppp-dialer 7259d18901 ttyGPRS serial device and updating comments il y a 6 ans
rootfs 2b6c88ba79 DIU UI updates il y a 5 ans
scripts 5e30bf0ac7 id_rsa_client -> id_rsa_bus il y a 5 ans
testing d856bfd82f code cleanup, documentation, gps test bug fix il y a 6 ans
README.md 038228f302 wip il y a 6 ans
build_all.sh 6da75d0c0d updating database location il y a 6 ans
client_modules.list 79bcb4a9be mostly cleanup but some fixes: il y a 6 ans
configure_target.sh.include 5fdacefa7a updates: il y a 5 ans

README.md

Driver Interface Unit

This is the main source directory for the Driver Interface Unit (DIU) and Passenger Interface Unit (PIU).

The DIU is driver facing and manages fare collection, server communication, route change, driver login and PIU communication. The PIU manages reading magstripe media, RFID media and rider facing messages through it's display.

Note that this document is a work in progress and is currently incomplete.

Please check back for updates.

Quick Start

To compile:

./build_all.sh native

Binaries will reside in bin/native.

To do a test run, a server must be setup for the DIU to communicate to. For testing, a [test docker server]() can be setup.

The DIU portion is meant to be used on hardware that has both a GPRS, GPS and PIU connected.

To test on a system other than a Raspberry Pi, a test environment has to be setup. To test on the Raspberry Pi, the appropriate system needs to be setup and peripherals attached.

Please check back later for more details.