public abstract class TNCConnector extends TransmittingPortConnector
Connector.PortStatscurrentCfg, portConfigCAP_FULL_DUPLEX, CAP_GPS_DATA, CAP_HF, CAP_IGATE, CAP_OPENTRAC, CAP_RCV_PACKET_DATA, CAP_RF, CAP_WAYPOINT_SENDER, CAP_WEATHER, CAP_XMT_PACKET_DATA, stats| Constructor and Description |
|---|
TNCConnector() |
| Modifier and Type | Method and Description |
|---|---|
static AX25Frame |
convertTNC2FormatToAX25Frame(int bufLen,
byte[] buf)
Convert a String of a TNC2 format APRS packet into an AX25Frame object.
|
int |
getBitRate()
Get the bit transmission rate on this port.
|
java.lang.String |
getCallsign()
Get the string representation AX.25 callsign associated with this TNC port.
|
AX25Callsign |
getPortAddress()
Get the AX.25 callsign associated with this TNC port.
|
void |
setPortAddress(AX25Callsign portAddress)
Set the AX.25 callsign associated with this TNC port.
|
sendFrameaddFrameListener, addPortEventListener, configure, createPort, fireConsumeFrame, fireConsumeFrame, fireFailed, fireReceiving, fireTransmitting, getPortConnectorClass, portConnectorClasses, portTypeNames, registerPortConnectorType, removeFrameListener, removePortEventListener, setPortConfigclose, finalize, getCapabilities, getStats, hasCapability, isOpenpublic static AX25Frame convertTNC2FormatToAX25Frame(int bufLen, byte[] buf)
bufLen - the number of bytes to use in the bufferbuf - the byte array containing the TNC2 format messagepublic AX25Callsign getPortAddress()
public void setPortAddress(AX25Callsign portAddress)
portAddress - AX25Callsign for this port (may be null if port is not configured)public java.lang.String getCallsign()
getCallsign in class Connectorpublic int getBitRate()