clementinecomputing 36b9f947b2 receiving qr 'fares' %!s(int64=4) %!d(string=hai) anos
..
DIUv2 dd35d13e49 "state.info" updates %!s(int64=4) %!d(string=hai) anos
PIU 7b1627aaa0 further QR additions %!s(int64=4) %!d(string=hai) anos
avls dd35d13e49 "state.info" updates %!s(int64=4) %!d(string=hai) anos
billdb dd35d13e49 "state.info" updates %!s(int64=4) %!d(string=hai) anos
client_supervisor d4bf25d8e1 adding DIU debugging tools, removing cruft %!s(int64=4) %!d(string=hai) anos
commhub 7b1627aaa0 further QR additions %!s(int64=4) %!d(string=hai) anos
common 4224b1bea6 fareqr hacking %!s(int64=4) %!d(string=hai) anos
debug d4bf25d8e1 adding DIU debugging tools, removing cruft %!s(int64=4) %!d(string=hai) anos
gps dd35d13e49 "state.info" updates %!s(int64=4) %!d(string=hai) anos
helper c642729e16 minor tweaks %!s(int64=5) %!d(string=hai) anos
paddlemgr cbe0778cbf resolves #31 %!s(int64=4) %!d(string=hai) anos
passdb 36b9f947b2 receiving qr 'fares' %!s(int64=4) %!d(string=hai) anos
ppp-dialer 7259d18901 ttyGPRS serial device and updating comments %!s(int64=6) %!d(string=hai) anos
rootfs 71c1199297 removing initial monitor call in rc.local (reverting back) %!s(int64=4) %!d(string=hai) anos
scripts e13b36bb80 changing default connection tether script to ppp (from ssh) %!s(int64=4) %!d(string=hai) anos
testing d856bfd82f code cleanup, documentation, gps test bug fix %!s(int64=6) %!d(string=hai) anos
README.md 038228f302 wip %!s(int64=6) %!d(string=hai) anos
build_all.sh 6da75d0c0d updating database location %!s(int64=6) %!d(string=hai) anos
client_modules.list 79bcb4a9be mostly cleanup but some fixes: %!s(int64=6) %!d(string=hai) anos
configure_target.sh.include 5fdacefa7a updates: %!s(int64=5) %!d(string=hai) anos

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.