wonderly.jeaprs.aprs.packet
Class APRSTelemetry
java.lang.Object
|
+--wonderly.jeaprs.aprs.packet.APRSData
|
+--wonderly.jeaprs.aprs.packet.APRSTelemetry
- All Implemented Interfaces:
- APRSEventDataProcessor, java.io.Serializable
- public class APRSTelemetry
- extends APRSData
- Version:
- 1.0
- Author:
- Gregg Wonderly -
The information contained in this document is Copyright 2001-2003, Gregg Wonderly,
all rights reserved.
- See Also:
- Serialized Form
Constructor Summary |
APRSTelemetry(wonderly.jeaprs.ByteString data)
|
Method Summary |
byte[] |
formatReportData()
This method must be implemented by the various packet types to construct
the APRS packet data that follows the PATH in a UI frame. |
int |
getAnalong(int n)
n is from 0 to 4 to get values 1 to 5 |
int |
getDigitalValue()
|
wonderly.jeaprs.ByteString |
getMessage()
|
int |
getSequence()
|
void |
processData(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSEventListener obj)
This method needs to be called for any APRS packet that could produce
multiple APRS data objects. |
Methods inherited from class wonderly.jeaprs.aprs.packet.APRSData |
addOtherAPRSData, ambiguousDistance, calcIconFrom, fixedToString, formatTime, getGridInfo, getIcon, getLatHundredthsSecondsToString, getLatHundrethsSecondsParts, getLatSecondsToString, getLonHundredthsSecondsToString, getLonHundrethsSecondsParts, getLonSecondsToString, getOtherAPRSData, getOverlayIndex, getPrintable, isAltIcon, isGridOnly, isNum, isOverlayAlpha, isOverlayNumeric, latHundredthsSecondsAsString, latLonParts, latSecondsAsString, log, lonHundredthsSecondsAsString, lonSecondsAsString, main, numToString, numToString, numToString, parseLat, parseLon, parseTime, sendPacket, toNum, zeroPad, zeroPad, zFill |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APRSTelemetry
public APRSTelemetry(wonderly.jeaprs.ByteString data)
getMessage
public wonderly.jeaprs.ByteString getMessage()
getAnalong
public int getAnalong(int n)
- n is from 0 to 4 to get values 1 to 5
getDigitalValue
public int getDigitalValue()
getSequence
public int getSequence()
formatReportData
public byte[] formatReportData()
- Description copied from class:
APRSData
- This method must be implemented by the various packet types to construct
the APRS packet data that follows the PATH in a UI frame. Thus, if a
status packet was to be sent out, this method should return something such as
">My status".getBytes()
.
- Specified by:
formatReportData
in class APRSData
processData
public void processData(wonderly.jeaprs.aprs.packet.APRSPacket pkt,
wonderly.jeaprs.aprs.packet.APRSEventListener obj)
- Description copied from class:
APRSData
- This method needs to be called for any APRS packet that could produce
multiple APRS data objects.
- Specified by:
processData
in interface APRSEventDataProcessor
- Overrides:
processData
in class APRSData
- See Also:
APRSPosition.processData(APRSPacket,APRSEventListener)