Enum Class DataExtensionEnum

java.lang.Object
java.lang.Enum<DataExtensionEnum>
org.ka2ddo.aprs.DataExtensionEnum
All Implemented Interfaces:
Serializable, Comparable<DataExtensionEnum>, Constable, EnumWithImageName

public enum DataExtensionEnum extends Enum<DataExtensionEnum> implements 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 Constants
    Enum Constant
    Description
    Color 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).
    2nd RF frequency from a packet, typically from an ObjectReport where the frequency appears in both the Object name and as the first part of the free-text comment.
    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 Type
    Method
    Description
    Return 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.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PHG

      public static final DataExtensionEnum PHG
      Four-digit PHG string (APRS protocol specification chapter 7).
    • RNG

      public static final DataExtensionEnum RNG
      Four-digit range in statute miles (APRS protocol specification chapter 7), stored as an Integer.
    • DFS

      public static final DataExtensionEnum DFS
      Four-digit Direction-Finding Signal.
    • BEARING

      public static final DataExtensionEnum BEARING
      Bearing for direction-finding.
    • NRQ

      public static final DataExtensionEnum NRQ
      Three digits of Number/Range/Quality for direction finding.
    • COMPRESSCODE

      public static final DataExtensionEnum COMPRESSCODE
      Compression type code for compressed position messages (APRS protocol specification chapter 9).
    • AREA_SHAPE

      public static final DataExtensionEnum AREA_SHAPE
      Shape code character for APRS area "symbols" (APRS protocol specification chapter 7).
    • AREA_LAT_OFFSET

      public static final DataExtensionEnum AREA_LAT_OFFSET
      Latitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7).
    • AREA_LON_OFFSET

      public static final DataExtensionEnum AREA_LON_OFFSET
      Longitude offset (usually a Double) for APRS area "symbols" (APRS protocol specification chapter 7).
    • AREA_COLOR

      public static final DataExtensionEnum AREA_COLOR
      Color code (usually an Integer) for APRS area "symbols" (APRS protocol specification chapter 7).
    • LINE_WIDTH

      public static final DataExtensionEnum LINE_WIDTH
      Width of APRS area "line" (APRS protocol specification chapter 7).
    • SIGNPOST

      public static final DataExtensionEnum SIGNPOST
      Text string for display on an APRS signpost symbol (APRS protocol specification chapter 11).
    • NWS_MULTILINE

      public static final DataExtensionEnum NWS_MULTILINE
      NWSMultiline object extracted from a MessageMessage.
      See Also:
    • TELEMETRY

      public static final DataExtensionEnum 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.
      See Also:
    • FREQUENCY

      public static final DataExtensionEnum FREQUENCY
      Frequency for a repeater or monitoring station in MHz (Double).
      See Also:
    • TONE

      public static final DataExtensionEnum TONE
      Sub-audible tone encoding. (XmitEncoding)
      See Also:
    • SHIFT

      public static final DataExtensionEnum SHIFT
      Repeater offset in 10s of kHz, signed for the shift direction (0 means simplex). (Integer)
    • DIGIPEATER_ALIASES

      public static final DataExtensionEnum DIGIPEATER_ALIASES
      Text abbreviations for digipeater aliases to be reported in station beacon message. (String)
    • GPS_SENTENCE_TYPE

      public static final DataExtensionEnum GPS_SENTENCE_TYPE
      Last GPS sentence type used to provide position information.
      See Also:
    • INDOOR_TEMPERATURE

      public static final DataExtensionEnum INDOOR_TEMPERATURE
      The current indoor temperature in degrees Fahrenheit (as reported by Peet Bros Ultimeter weather stations).
      See Also:
    • INDOOR_HUMIDITY

      public static final DataExtensionEnum INDOOR_HUMIDITY
      Indoor relative humidity in percent.
      See Also:
    • FLOW_RATE

      public static final DataExtensionEnum FLOW_RATE
      Flow rate (as reported by a river gauge) in cubic feet per second.
    • FREQUENCY2

      public static final DataExtensionEnum FREQUENCY2
      2nd RF frequency from a packet, typically from an ObjectReport where the frequency appears in both the Object name and as the first part of the free-text comment. In such a case, this should be the value from the Object name.
      See Also:
  • Method Details

    • values

      public static DataExtensionEnum[] 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

      public static DataExtensionEnum valueOf(String name)
      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 name
      NullPointerException - 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

      public String getImagePath()
      Return the relative path name of the image file for this enum value.
      Specified by:
      getImagePath in interface EnumWithImageName
      Returns:
      path name String, or a two-character APRS symbol table ID and code