Package org.ka2ddo.aprs
Enum Class DataExtensionEnum
- All Implemented Interfaces:
Serializable
,Comparable<DataExtensionEnum>
,Constable
,EnumWithImageName
This defines hashmap keys for various optional data extensions supported by APRS
messages. Note these are separate from WeatherEnum keys (even if they have the
same ordinal value).
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionColor code (usually an Integer) for APRS area "symbols" (APRS protocol specification chapter 7).Latitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7).Longitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7).Shape code character for APRS area "symbols" (APRS protocol specification chapter 7).Bearing for direction-finding.Compression type code for compressed position messages (APRS protocol specification chapter 9).Four-digit Direction-Finding Signal.Text abbreviations for digipeater aliases to be reported in station beacon message.Flow rate (as reported by a river gauge) in cubic feet per second.Frequency for a repeater or monitoring station in MHz (Double).Last GPS sentence type used to provide position information.Indoor relative humidity in percent.The current indoor temperature in degrees Fahrenheit (as reported by Peet Bros Ultimeter weather stations).Width of APRS area "line" (APRS protocol specification chapter 7).Three digits of Number/Range/Quality for direction finding.NWSMultiline object extracted from a MessageMessage.Four-digit PHG string (APRS protocol specification chapter 7).Four-digit range in statute miles (APRS protocol specification chapter 7), stored as an Integer.Repeater offset in 10s of kHz, signed for the shift direction (0 means simplex).Text string for display on an APRS signpost symbol (APRS protocol specification chapter 11).Base91 Telemetry data extracted from a PositionMessage's comment, per the proposed extension documented in http://he.fi/doc/aprs-base91-comment-telemetry.txt.Sub-audible tone encoding. -
Method Summary
Modifier and TypeMethodDescriptionReturn the relative path name of the image file for this enum value.boolean
Indicate if enum-indicated data could ever be in a standardized part of an APRS message.static DataExtensionEnum
Returns the enum constant of this class with the specified name.static DataExtensionEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PHG
Four-digit PHG string (APRS protocol specification chapter 7). -
RNG
Four-digit range in statute miles (APRS protocol specification chapter 7), stored as an Integer. -
DFS
Four-digit Direction-Finding Signal. -
BEARING
Bearing for direction-finding. -
NRQ
Three digits of Number/Range/Quality for direction finding. -
COMPRESSCODE
Compression type code for compressed position messages (APRS protocol specification chapter 9). -
AREA_SHAPE
Shape code character for APRS area "symbols" (APRS protocol specification chapter 7). -
AREA_LAT_OFFSET
Latitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7). -
AREA_LON_OFFSET
Longitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7). -
AREA_COLOR
Color code (usually an Integer) for APRS area "symbols" (APRS protocol specification chapter 7). -
LINE_WIDTH
Width of APRS area "line" (APRS protocol specification chapter 7). -
SIGNPOST
Text string for display on an APRS signpost symbol (APRS protocol specification chapter 11). -
NWS_MULTILINE
NWSMultiline object extracted from a MessageMessage.- See Also:
-
TELEMETRY
Base91 Telemetry data extracted from a PositionMessage's comment, per the proposed extension documented in http://he.fi/doc/aprs-base91-comment-telemetry.txt. Stored as a TelemetryMessage object attached to the original PositionMessage. -
FREQUENCY
Frequency for a repeater or monitoring station in MHz (Double). -
TONE
Sub-audible tone encoding. (XmitEncoding)- See Also:
-
SHIFT
Repeater offset in 10s of kHz, signed for the shift direction (0 means simplex). (Integer) -
DIGIPEATER_ALIASES
Text abbreviations for digipeater aliases to be reported in station beacon message. (String) -
GPS_SENTENCE_TYPE
Last GPS sentence type used to provide position information. -
INDOOR_TEMPERATURE
The current indoor temperature in degrees Fahrenheit (as reported by Peet Bros Ultimeter weather stations).- See Also:
-
INDOOR_HUMIDITY
Indoor relative humidity in percent.- See Also:
-
FLOW_RATE
Flow rate (as reported by a river gauge) in cubic feet per second.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isInMessage
public boolean isInMessage()Indicate if enum-indicated data could ever be in a standardized part of an APRS message.- Returns:
- boolean true if this data type could appear in an APRS message
-
getImagePath
Return the relative path name of the image file for this enum value.- Specified by:
getImagePath
in interfaceEnumWithImageName
- Returns:
- path name String, or a two-character APRS symbol table ID and code
-