|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.landserf.process.gps.garmin.GarminPacket jwo.landserf.process.gps.garmin.ProductDataPacket
public class ProductDataPacket
Represents a packet containing GPS product information.
Field Summary |
---|
Constructor Summary | |
---|---|
ProductDataPacket(GarminPacket packet)
Creates a product packet from the given Garmin packet. |
Method Summary | |
---|---|
String |
getDescription()
Returns the description supplied by the GPS device. |
int |
getProductID()
Reports the product ID of the GPS. |
int |
getSWVersion()
Reports the version of the software used by the GPS. |
String |
toString()
Reports a textual representation of this packet. |
Methods inherited from class jwo.landserf.process.gps.garmin.GarminPacket |
---|
commandToString, createBasicPacket, createCommandPacket, getChecksum, getConnectionType, getData, getDataLength, getID, getRawPacketData, getType, idToString, readDataByte, readDataDouble, readDataFloat, readDataLong, readDataString, readDataWord, setPacket, setSerialPacket |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProductDataPacket(GarminPacket packet)
packet
- Packet to copy.
PacketNotRecognisedException
- if the given packet is not a product packet.Method Detail |
---|
public int getProductID()
public int getSWVersion()
public String getDescription()
public String toString()
toString
in class GarminPacket
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |