clementinecomputing 038228f302 wip %!s(int64=6) %!d(string=hai) anos
..
DIUv2 62957fe376 add lat/lon to status request, clear messages on logout %!s(int64=6) %!d(string=hai) anos
PIU bfed4a4fad formatting, minor fixes for compilation %!s(int64=6) %!d(string=hai) anos
avls bfed4a4fad formatting, minor fixes for compilation %!s(int64=6) %!d(string=hai) anos
billdb 1b2b726b15 lots of fiddling %!s(int64=6) %!d(string=hai) anos
client_supervisor 9e12de515a allowing debug messages for client_supervisor %!s(int64=6) %!d(string=hai) anos
commhub 4bf1da5b58 adding passdb_slim %!s(int64=6) %!d(string=hai) anos
common 9e12de515a allowing debug messages for client_supervisor %!s(int64=6) %!d(string=hai) anos
gps 364bad478c bug fixes %!s(int64=6) %!d(string=hai) anos
paddlemgr 055396e0fd wip %!s(int64=6) %!d(string=hai) anos
passdb 3d4f4cb1be allowing for larger passdb (simple) database size %!s(int64=6) %!d(string=hai) anos
ppp-dialer 10429d6d8a wip %!s(int64=6) %!d(string=hai) anos
scripts a4b8f0f466 wip %!s(int64=6) %!d(string=hai) anos
testing 5c30a9cc13 better testing paddle, route more reasonable %!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 1708323bd1 trying to standardize location of relevant files %!s(int64=6) %!d(string=hai) anos
configure_target.sh.include c513f39ad3 updating license information %!s(int64=6) %!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.