|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.bt747.test.IBlue747Model
public class IBlue747Model
Implement a model of the BT747 (to run on PC).
| Nested Class Summary | |
|---|---|
static class |
IBlue747Model.DeviceMode
Possible communication modes the device is in. |
static class |
IBlue747Model.MtkDataModel
|
| Field Summary | |
|---|---|
GPSrxtx |
gpsRxTx
|
IBlue747Model.MtkDataModel |
mtkData
|
| Constructor Summary | |
|---|---|
IBlue747Model()
|
|
| Method Summary | |
|---|---|
int |
analyseNMEA(java.lang.String[] p_nmea)
|
static void |
main(java.lang.String[] args)
This class's main in case it is run independently. |
void |
onStart()
Main entry code of class. |
int |
replyLogNmea(java.lang.String[] p_nmea)
Respond to log specific functionality (PMTK182). |
void |
replyMTK_Ack(java.lang.String[] p_nmea)
|
void |
replyMTK_Log_Ack(java.lang.String[] p_nmea)
|
void |
sendPacket(java.lang.String p)
|
void |
setDeviceMode(IBlue747Model.DeviceMode mode)
Set the communication mode of the device. |
static void |
setGpsPort(GPSPort port)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public GPSrxtx gpsRxTx
public final IBlue747Model.MtkDataModel mtkData
| Constructor Detail |
|---|
public IBlue747Model()
| Method Detail |
|---|
public static final void setGpsPort(GPSPort port)
public void onStart()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.IOException
java.io.FileNotFoundExceptionpublic final void setDeviceMode(IBlue747Model.DeviceMode mode)
mode - public void replyMTK_Ack(java.lang.String[] p_nmea)
public void replyMTK_Log_Ack(java.lang.String[] p_nmea)
public int replyLogNmea(java.lang.String[] p_nmea)
p_nmea -
public int analyseNMEA(java.lang.String[] p_nmea)
public final void sendPacket(java.lang.String p)
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||