|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.operations.utils.GlobalstarPowerControl
public class GlobalstarPowerControl
This class properly shuts down the Qualcomm 1620 (Globalstar) modem, per instructions in the Qualcomm users manual.
| Field Summary | |
|---|---|
static int |
BAUD
|
static int |
MAX_WAIT_SEC
|
| Constructor Summary | |
|---|---|
GlobalstarPowerControl(java.lang.String portName)
|
|
| Method Summary | |
|---|---|
protected void |
initializeSerialPort(java.lang.String portName,
int baud)
Initialize the serial port. |
static void |
main(java.lang.String[] args)
|
protected void |
powerDown()
Initiate modem power-down |
protected void |
powerUp()
Initiate modem power-up |
protected void |
printLineStatus()
Print out serial line status |
void |
serialEvent(gnu.io.SerialPortEvent event)
Propagate serial port event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int BAUD
public static final int MAX_WAIT_SEC
| Constructor Detail |
|---|
public GlobalstarPowerControl(java.lang.String portName)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
protected void powerDown()
throws java.lang.Exception
java.lang.Exception
protected void powerUp()
throws java.lang.Exception
java.lang.Exception
protected void initializeSerialPort(java.lang.String portName,
int baud)
throws java.lang.Exception
java.lang.Exceptionpublic void serialEvent(gnu.io.SerialPortEvent event)
serialEvent in interface gnu.io.SerialPortEventListenerprotected void printLineStatus()
public static void main(java.lang.String[] args)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||