Abram Connelly 855f1ea194 whoops, actual commit of changes há 6 anos atrás
..
DIUv2 855f1ea194 whoops, actual commit of changes há 6 anos atrás
PIU c4dd76b77b wip há 6 anos atrás
avls bfed4a4fad formatting, minor fixes for compilation há 6 anos atrás
billdb 1b2b726b15 lots of fiddling há 6 anos atrás
client_supervisor 79bcb4a9be mostly cleanup but some fixes: há 6 anos atrás
commhub c4dd76b77b wip há 6 anos atrás
common d231685712 wip há 6 anos atrás
debug 46302b7bf2 simple script to push PIU messages through it's tty há 6 anos atrás
gps 292097bbe4 don't set time from gps, it's too fraught with peril. há 6 anos atrás
paddlemgr 055396e0fd wip há 6 anos atrás
passdb f412d7a4fe adding scheme, updating gitignore há 6 anos atrás
ppp-dialer 46bfa75f65 FONA gprs/ppp files há 6 anos atrás
scripts 5a78caf31d guess we need to explicitly turn on the gps há 6 anos atrás
testing dc48d46f31 testing firwmare.tgz.checksum file há 6 anos atrás
README.md 038228f302 wip há 6 anos atrás
build_all.sh 6da75d0c0d updating database location há 6 anos atrás
client_modules.list 79bcb4a9be mostly cleanup but some fixes: há 6 anos atrás
configure_target.sh.include c513f39ad3 updating license information há 6 anos atrás

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.