gps.mvc
Class WPLogDownloadHandler
java.lang.Object
gps.mvc.WPLogDownloadHandler
- All Implemented Interfaces:
- DeviceOperationHandlerIF, WondeproudConstants
public class WPLogDownloadHandler
- extends java.lang.Object
- implements DeviceOperationHandlerIF, WondeproudConstants
- Author:
- Mario
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WPLogDownloadHandler
public WPLogDownloadHandler(WPController dpl,
GpsLinkHandler handler)
analyseResponse
public boolean analyseResponse(java.lang.Object o)
- Description copied from interface:
DeviceOperationHandlerIF
- This method is called when a packet of some kind was received from the
serial link.
- Specified by:
analyseResponse
in interface DeviceOperationHandlerIF
- Parameters:
o
- The receive packet.
- Returns:
- true if the packet was treated and should not be treated
elsewhere in the application.
notifyRun
public boolean notifyRun(GpsLinkHandler handler)
throws BT747Exception
- Description copied from interface:
DeviceOperationHandlerIF
- This method is called on regular intervals (every 10ms or so) so that
this Handler can send commands to the device as needed.
- Specified by:
notifyRun
in interface DeviceOperationHandlerIF
- Parameters:
handler
- The handler to use the serial link.
- Returns:
- true if handler must be maintained. If false, handler will no
longer be called and dereferenced in the link controller.
- Throws:
BT747Exception
getWPLog
public final void getWPLog(BT747Path path)
reqWPLog
public final void reqWPLog()
enterWPMode
public final void enterWPMode()
exitWPMode
public final void exitWPMode()