mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-24 09:28:54 +02:00
* Added a 'GPIO_EVENTS' table to the database. * Incremented the database version to 240. * Implemented GPIO event logging in 'ripcd/local_macros.cpp' and 'ripcd/ripcd.h'. * Added an 'Events Log' area to RDGpiMon(1) in 'utils/rdgpimon/rdgpimon.cpp' and 'utils/rdgpimon/rdgpimon.h'. * Added code in rdmaint(1) to purge logged GPIO events in 'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.
15 lines
620 B
Plaintext
15 lines
620 B
Plaintext
GPIO_EVENTS Table Layout for Rivendell
|
|
|
|
The GPIO_EVENTS table holds data concerning past GPIO events processed
|
|
by the system.
|
|
|
|
FIELD NAME TYPE REMARKS
|
|
------------------------------------------------------------------
|
|
ID int(10) unsigned Primary key, auto increment
|
|
STATION_NAME char(64) From STATIONS.NAME
|
|
MATRIX int(10) unsigned From MATRICES.MATRIX
|
|
NUMBER int(11)
|
|
TYPE int(11) 0 = GPI, 1 = GPO
|
|
EDGE int(11) 1 = Rising, 0 = Falling
|
|
EVENT_DATETIME datetime
|