|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgps.mvc.MtkController
gps.mvc.WPController
public class WPController
Controller for Wonde Proud devices like the BT-BT110m
| Field Summary | |
|---|---|
static int |
DATA_DATE_TIME
|
static int |
DATA_DEV_INFO1
|
| Fields inherited from interface gps.WondeproudConstants |
|---|
REQ_DATE_TIME, REQ_DEV_INFO1, REQ_DEV_PARAM, REQ_ERASE, REQ_LOG, REQ_MEM_IN_USE, REQ_SELFTEST, REQ_UNKNOWN2, REQ_UNKNOWN3, SET_PARAM, WP_AP_EXIT, WP_CAMERA_DETECT, WP_GPS_PLUS_RESPONSE, WP_UPDATE_OVER |
| Constructor Summary | |
|---|---|
WPController(GpsController c,
MtkModel m)
|
|
| Method Summary | |
|---|---|
boolean |
cmd(int cmd)
Handles commands with no parameters Support for Holux-specific commands, otherwise delegates to standard MTK |
boolean |
cmd(int cmd,
CmdParam param)
Handles commands with a parameter Support for Holux-specific commands, otherwise delegates to standard MTK |
void |
getLog(BT747Path path)
Fetches a log to the given filename. |
boolean |
isSupportedCmd(int cmd)
Check if a command is supported. |
boolean |
reqData(int dataType)
Device-specific implementation of requesting GPS data. |
void |
reqWPDateTime()
Request data from the log. |
void |
reqWPDeviceInfo()
Get device information Command 0x5bb00000. |
void |
reqWPErase()
Erases log data. |
void |
reqWPTest()
Do some selftest. |
| Methods inherited from class gps.mvc.MtkController |
|---|
getLogInit, getMtkModel, logImmediate, notifyDisconnected, notifyRun, recoveryEraseLog, replyToOkToOverwrite, sendMtkBin, setAgpsData, setBinMode, setBtMacAddr, setDatumMode, setDGPSMode, setFlashUserOption, setLogFormat, setLogRequestAhead, setNMEADefaultPeriods, setNmeaMode, setNMEAPeriods |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DATA_DATE_TIME
public static final int DATA_DEV_INFO1
| Constructor Detail |
|---|
public WPController(GpsController c,
MtkModel m)
m - | Method Detail |
|---|
public void getLog(BT747Path path)
getLog in class MtkControllerpath - Path reference.public boolean cmd(int cmd)
cmd in class MtkControllercmd - Command identification.
public boolean cmd(int cmd,
CmdParam param)
cmd in class MtkControllercmd - Command identification.
public boolean isSupportedCmd(int cmd)
MtkController
isSupportedCmd in class MtkControllercmd - Command identification.
public boolean reqData(int dataType)
reqData in class MtkControllerpublic final void reqWPDateTime()
public final void reqWPTest()
public final void reqWPErase()
public final void reqWPDeviceInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||