public class DeviceObject extends Object implements IGPSObject
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
the GPSd internal name
|
| Constructor and Description |
|---|
DeviceObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
double |
getActivated()
Time the device was activated, or 0 if it is being closed.
|
int |
getBps()
Device speed in bits per second.
|
double |
getCycle()
Device cycle time in seconds.
|
String |
getDriver()
GPSD's name for the device driver type.
|
double |
getMincycle()
Device minimum cycle time in seconds.
|
EParity |
getParity()
Device parity
|
String |
getPath()
Name the device for which the control bits are being reported
|
int |
getStopbit()
Device Stopbits
|
int |
hashCode() |
boolean |
isNativeMode()
false means NMEA mode and true means alternate mode (binary if it has one, for SiRF and Evermore chipsets in particular).
|
void |
setActivated(double activated)
Time the device was activated, or 0 if it is being closed.
|
void |
setBps(int bps)
Device speed in bits per second.
|
void |
setCycle(double cycle)
Device cycle time in seconds.
|
void |
setDriver(String driver)
GPSD's name for the device driver type.
|
void |
setMincycle(double mincycle)
Device minimum cycle time in seconds.
|
void |
setNativeMode(boolean nativeMode)
false means NMEA mode and true means alternate mode (binary if it has one, for SiRF and Evermore chipsets in particular).
|
void |
setParity(EParity parity)
Device parity
|
void |
setPath(String path)
Name the device for which the control bits are being reported
|
void |
setStopbit(int stopbit)
Device Stopbits
|
String |
toString() |
public static final String NAME
public String getPath()
public void setPath(String path)
path - the path to setpublic double getActivated()
public void setActivated(double activated)
activated - the activated to setpublic String getDriver()
public void setDriver(String driver)
driver - the driver to setpublic int getBps()
public void setBps(int bps)
bps - the bps to setpublic EParity getParity()
public void setParity(EParity parity)
parity - the parity to setpublic int getStopbit()
public void setStopbit(int stopbit)
stopbit - the stopbit to setpublic boolean isNativeMode()
public void setNativeMode(boolean nativeMode)
nativeMode - the nativeMode to setpublic double getCycle()
public void setCycle(double cycle)
cycle - the cycle to setpublic double getMincycle()
public void setMincycle(double mincycle)
mincycle - the mincycle to setCopyright © 2011–2017 Taimos GmbH. All rights reserved.