SYNOPSIS
list = gcx:backplaneVersion()
DESCRIPTION
DVI Displays made by Teratronik have a backplane controller to manage the display and its peripherals.
Once initialized, the function gcx:linkState() indicates backplane_connected.
After that, detailed information about the backplane can be obtained.
The result is a table containing:
| Key | Value |
|---|---|
| contrast, backlight, brightness | Flags that indicate true when the display supports controlling contrast, backlight or brightness, respectively. |
| inputs, outputs | Number of remote GPIO inputs and outputs. |
| ttys | Number of remote serial ports. The serial ports are available as /dev/ttyBP0, /dev/ttyBP1, ... |
| touch | true if the display has a touch screen. |
| keypad | true if the display supports keypad / keyboard input. |
| build_date | Date/Time the firmware of the backplane processor was compiled. |
| version | Version number of the backplane software. |
| manufacture_date | Date/Time the display assembly was manufactured. |
| serial_number | Serial number of the display assembly. |
RETURN VALUE
On success, returns a table with the values as described.
When there is no backplane processor or it is not initialized yet, returns nil.
On failure, returns three values: nil, a string describing the error (The result of the C library call strerror() on the errno code) and the errno number from the standard C library.