Synopsis -d device -b baud -t timeoutSec -s sleepSec -p powerBit -y terminalEmulation

Description is not an end-user utility -- it's a script that is passed to /etc/inittab to implement the secondary radio port as a Linux tty device. It's documented here so that system integrators will know what command-line arguments are available.

As distributed, this script is MMC-specific; it may be adapted to other platforms


Option Description Values
-d device Name of serial port to use. Passed directly to getty. A leading "/dev" is not required e.g. /dev/ttyS2
[default ttySX13]
-b baud baud rate of the serial port [default 115200 bits/sec]
-t timeoutSec Timeout (seconds) parameter passed to getty. Getty will print the login prompt and then wait for this number of seconds before timing out. After that time, the script will turn off the radio power. [default 30 sec]
-s sleepSec - number of seconds that the script will sleep after getty returns. This becomes the amount of time that the radio will be off before inittab reruns the script. [default 300 sec]
-p power_bit I/O bit number passed to rfpower script to turn on/off the radio power. [default 0]
-y terminal_emulation String passed to getty to indicate terminal type to emulate. [default "vt100"]

Example output:



The following environment variables must be set:

Variable Description Example
JAVA_HOME location of Java installation
/j9, /opt/java/jdk1.3.1, etc.
JAVA Path to JVM command For MMC

For Sun JVM (e.g. linux, win32, mac OS)
SIAM_HOME top of the SIAM directory tree -
SIAM_CLASSPATH Path including all SIAM and supporting classes For MMC

For linux/win32

See Also