|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgps.connection.GPSPort
bt747.waba_view.GPSWabaPort
public final class GPSWabaPort
Implements the serial port for the standard Waba SerialPort
Field Summary |
---|
Fields inherited from class gps.connection.GPSPort |
---|
os_name |
Constructor Summary | |
---|---|
GPSWabaPort()
|
Method Summary | |
---|---|
void |
closePort()
Close the connection. |
int |
error()
getter to retrieve the last error report by the serial port driver. |
boolean |
isConnected()
Indicates if the device is connected or not. |
int |
openPort()
Open a connection |
int |
readBytes(byte[] b,
int start,
int max)
|
int |
readCheck()
|
void |
setBlueTooth()
Set a bluetooth connection. |
void |
setUSB()
Set an USB connection. |
void |
write(byte[] b)
|
void |
write(java.lang.String s)
|
Methods inherited from class gps.connection.GPSPort |
---|
debugActive, endDebug, getDebugFileName, getFreeTextPort, getPort, getSpeed, setDebugFileName, setFreeTextPort, setPort, setSpeed, startDebug, writeDebug, writeDebug |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPSWabaPort()
Method Detail |
---|
public final boolean isConnected()
isConnected
in class GPSPort
true
if the device is connected.public final void closePort()
closePort
in class GPSPort
public final int openPort()
openPort
in class GPSPort
public final void setBlueTooth()
setBlueTooth
in class GPSPort
public final void setUSB()
setUSB
in class GPSPort
public final int error()
public final void write(byte[] b)
write
in class GPSPort
public final void write(java.lang.String s)
write
in class GPSPort
public final int readCheck()
readCheck
in class GPSPort
public final int readBytes(byte[] b, int start, int max)
readBytes
in class GPSPort
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |