net.sf.bt747.test
Class BTCD110mController

java.lang.Object
  extended by net.sf.bt747.test.BTCD110mController
All Implemented Interfaces:
WondeproudConstants

public class BTCD110mController
extends java.lang.Object
implements WondeproudConstants

Author:
Mario De Weerd

Nested Class Summary
static class BTCD110mController.HlxDataModel
           
 
Field Summary
static java.lang.String TEST_BTCD110m_FILE
           
 
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
BTCD110mController(IBlue747Model mtkDeviceModel)
          Initiate the instance.
 
Method Summary
 int analyseResponse(java.lang.Object response)
           
 int analyseText(java.lang.String text)
           
 int analyzeWPResponse(WPIntCommand response)
           
 java.lang.String getResourcePath(java.lang.String rsc)
           
 boolean handles(java.lang.String nmea0)
          Check if the controller responds to the NMEA command.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEST_BTCD110m_FILE

public static final java.lang.String TEST_BTCD110m_FILE
See Also:
Constant Field Values
Constructor Detail

BTCD110mController

public BTCD110mController(IBlue747Model mtkDeviceModel)
Initiate the instance.

Parameters:
mtkDeviceModel - Reference to basic mtkDevice modeling.
Method Detail

handles

public final boolean handles(java.lang.String nmea0)
Check if the controller responds to the NMEA command.

Returns:
true if this controller can handle the command.

analyseResponse

public final int analyseResponse(java.lang.Object response)

getResourcePath

public java.lang.String getResourcePath(java.lang.String rsc)

analyzeWPResponse

public final int analyzeWPResponse(WPIntCommand response)

analyseText

public int analyseText(java.lang.String text)