abram f4b6b3fb47 setting up I2C to PIU connection 5 gadi atpakaļ
..
DIUv2 3b86e166b8 adding better checks for diu_fd 5 gadi atpakaļ
PIU 55b31654a3 ground work for I2C shim for PIU communication 5 gadi atpakaļ
avls b9ae108594 default to 15s/60s (moving/stationary) gps updates 5 gadi atpakaļ
billdb 7c3e3be3ec resolves #14, #10 and #11 6 gadi atpakaļ
client_supervisor 79bcb4a9be mostly cleanup but some fixes: 6 gadi atpakaļ
commhub 7c3e3be3ec resolves #14, #10 and #11 6 gadi atpakaļ
common d856bfd82f code cleanup, documentation, gps test bug fix 6 gadi atpakaļ
debug 46302b7bf2 simple script to push PIU messages through it's tty 6 gadi atpakaļ
gps a8ac125ccb short README for gps_minder 6 gadi atpakaļ
helper c642729e16 minor tweaks 5 gadi atpakaļ
paddlemgr d856bfd82f code cleanup, documentation, gps test bug fix 6 gadi atpakaļ
passdb 7c3e3be3ec resolves #14, #10 and #11 6 gadi atpakaļ
ppp-dialer 7259d18901 ttyGPRS serial device and updating comments 6 gadi atpakaļ
rootfs 2b6c88ba79 DIU UI updates 5 gadi atpakaļ
scripts f4b6b3fb47 setting up I2C to PIU connection 5 gadi atpakaļ
testing d856bfd82f code cleanup, documentation, gps test bug fix 6 gadi atpakaļ
README.md 038228f302 wip 6 gadi atpakaļ
build_all.sh 6da75d0c0d updating database location 6 gadi atpakaļ
client_modules.list 79bcb4a9be mostly cleanup but some fixes: 6 gadi atpakaļ
configure_target.sh.include 5fdacefa7a updates: 5 gadi atpakaļ

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.