mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2014-10-07 Fred Gleason <fredg@paravelsystems.com>
* 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'.
This commit is contained in:
@@ -41,6 +41,7 @@ EXTRA_DIST = audio_perms.txt\
|
||||
encoders.txt\
|
||||
extended_panel_names.txt\
|
||||
feed_perms.txt\
|
||||
gpio_events.txt\
|
||||
gpis.txt\
|
||||
gpos.txt\
|
||||
groups.txt\
|
||||
|
14
docs/tables/gpio_events.txt
Normal file
14
docs/tables/gpio_events.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
Reference in New Issue
Block a user