Class YaesuConnector

All Implemented Interfaces:
jssc.SerialPortEventListener

public class YaesuConnector extends TNCConnector implements jssc.SerialPortEventListener
This class implements a receive-only port for listening to the non-standard command-mode style APRS packet output of the Yaesu FTM-400DR and related radios, and to Kantronics TNCs in command mode.

The expected packet format is in two lines. Line 1 contains the AX.25 frame header information in the format:

src>dest,digi [MM/dd/yy HH:mm:ss] <UI>:

where the ",digi" part is optional (if the packet wasn't specified for digipeating). The Kantronics variation is the format:

src>dest,digi: <UI>:

where no date is provided, and an extra colon character is immediately after the last digipeater (much like the APRS-IS/TNC2 format, if there wasn't an encoding of the frame type and a line break stuck in between the header and the body).

The second line is the body of the packet in plain text (should be ASCII, but this class supports UTF-8 just in case). For APRS packets, this should just be a printable packet.

Author:
Andrew Pavlin, KA2DDO
  • Field Details

    • TYPE_NAME

      public static final String TYPE_NAME
      The PortConnector type name for YaesuConnector.
      See Also:
    • CONFIG_GUI

      public static final String CONFIG_GUI
      The fully-qualified platform-wildcarded class name for the configuration editor for YaesuConnector.
      See Also:
    • BLANK_FIELDS

      public static final Set<PortConfig.Fields> BLANK_FIELDS
      Set of PortConfig field identifiers for fields that should not be copied from another system and should therefore be blanked out when copying configuration files.
    • REQ_FIELDS

      public static final Map<PortConfig.Fields,PortConfig.RequireHints> REQ_FIELDS
      List of PortConfig field identifiers that are mandated for this port type to work, and the ResourceBundle key to prompt for a value if missing.
  • Constructor Details

    • YaesuConnector

      public YaesuConnector()
  • Method Details