|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgps.NaviLinkHandler
public final class NaviLinkHandler
Start of low level functions for Navilink devices like the BT-31.
Constructor Summary | |
---|---|
NaviLinkHandler()
|
Method Summary | |
---|---|
void |
reqNavilinkQryFwVersion()
PID_QRY_FW_VERSION Packet to query the firmware version of the device H->D Payload: 1 byte Byte 0: 0xFE Example: [A0 A2 01 00 FE FE 00 B0 B3] The device will return a PID_DATA packet holding the firmware version as a string. |
void |
reqNavilinkSendData(byte[] bytes,
int length)
|
void |
reqNavilinkSync()
PID_SYNC The beginning packet to check if NAVi GPS device is ready or not. |
void |
sendNavilinkAck()
PID_ACK General acknowledge packet H<->D Payload: 1 byte Byte 0: 0x0c Example: [A0 A2 01 00 0c 0c 00 B0 B3] |
void |
sendNavilinkNak()
PID_NAK General no acknowledge packet H<->D Payload: 1 byte Byte 0: 0x00 Example: [A0 A2 01 00 00 00 00 B0 B3] |
void |
sendNavilinkQryInformation()
PID_QRY_INFORMATION Packet to query NAViGPS information H->D Payload: 1 byte Byte 0: 0x20 Example: [A0 A2 01 00 20 20 00 B0 B3] Expect to receive a PID_DATA packet with payload data in T_INFORMATION type |
void |
sendNavilinkQuit()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NaviLinkHandler()
Method Detail |
---|
public final void reqNavilinkSync()
public final void sendNavilinkAck()
public final void sendNavilinkNak()
public final void sendNavilinkQryInformation()
public final void reqNavilinkQryFwVersion()
public final void reqNavilinkSendData(byte[] bytes, int length)
public final void sendNavilinkQuit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |