2N TELEKOMUNIKACE a.s., www.2n.cz
17/42
public GPIOWatcher(int watchMask, int updateMs)
where watchMask is the GPIO pin bit array to be monitored and updateMs denotes the
interval in miliseconds between the GPIO input checks. The default value is 200.
3.3.3 System
Upon the module start up, the serial console is set to the transmission rate of 115200
bps. Telnet is enabled on the Ethernet interface on port 2323 by default, which can be
disabled by the launcher any time later.
3.3.3.1 CPU scaling
The module periodically checks the display backlight. If the backlight is disabled and
CPU scaling enabled, the module reduces the CPU rate from 1 Ghz to 300 Mhz. Enable
/disable this functionality with the following command:
int
IndoorTouch.SysEnableCPUDownscale(
boolean
enable);
Disable the function in the 'Display-Powersave CPU when display is off' menu in the
l
a
u
n
c
h
e
r
.
The return value is as follows:
IndoorTouch.RC_OK = 0;
IndoorTouch.RC_ERR_CONN = -1; API daemon connection error
3.3.3.2 Display Uptime
The module periodically checks the display backlight. If the backlight is enabled, the
module counts the display backlight time in seconds, saving the value into the
EEPROM every two minutes (saving the count of write cycles). The value is intended
for technicians and can be obtained using the following Telnet command:
setpkey get hw_cfg.cfg.display_uptime (value in seconds).
To get the total IndoorTouch operation time enter the following command: