Package org.ka2ddo.opentrac
Class RadioCapability
java.lang.Object
org.ka2ddo.opentrac.RadioCapability
- All Implemented Interfaces:
Serializable
One RadioCapability array element for the OpenTracRadioCapabilities message element.
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
Modulation bandwidth in Hertz.byte
CTCSS subtone in use, as index through CTCSS codes.byte
Further details about the information, in index through FCC definition letters.static final String
Detail type codes in numeric index order.int
Radio frequency in 10s of kiloHertz.byte
Radio function, as index through function names.byte
Information type, in index through FCC definition letters.static final String
Information content type codes in numeric index order.byte
Modulation scheme, in index through FCC definition letters.static final String
Modulation type codes in numeric index order.byte
Multiplexing scheme, in index through FCC definition letters.static final String
Multiplexing codes in numeric index order.byte
Signal content type, in index through FCC definition numbers.static final String
Signal type codes in numeric index order.static final int
Number of bytes to encode one RadioCapability structure. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
computeBody
(byte[] buf, int offset) Append this element to a message bufferboolean
Indicates whether some other object is "equal to" this one.int
hashCode()
Returns a hash code value for the object.Get the human-readable String of this element's value.
-
Field Details
-
SIZE
public static final int SIZENumber of bytes to encode one RadioCapability structure.- See Also:
-
frequency
public int frequencyRadio frequency in 10s of kiloHertz. -
signal
public byte signalSignal content type, in index through FCC definition numbers.- See Also:
-
modulation
public byte modulationModulation scheme, in index through FCC definition letters.- See Also:
-
information
public byte informationInformation type, in index through FCC definition letters.- See Also:
-
detail
public byte detailFurther details about the information, in index through FCC definition letters.- See Also:
-
multiplex
public byte multiplexMultiplexing scheme, in index through FCC definition letters.- See Also:
-
function
public byte functionRadio function, as index through function names.- See Also:
-
FUNCTION_TYPES
-
ctcss
public byte ctcssCTCSS subtone in use, as index through CTCSS codes.- See Also:
-
bandwidth
public int bandwidthModulation bandwidth in Hertz. -
MODULATION_TYPES
Modulation type codes in numeric index order.- See Also:
-
SIGNAL_TYPES
Signal type codes in numeric index order.- See Also:
-
INFORMATION_TYPES
Information content type codes in numeric index order.- See Also:
-
DETAIL_TYPES
Detail type codes in numeric index order.- See Also:
-
MULTIPLEX_TYPES
Multiplexing codes in numeric index order.- See Also:
-
-
Constructor Details
-
RadioCapability
public RadioCapability()Create an uninitialized RadioCapability element.
-
-
Method Details
-
computeBody
public int computeBody(byte[] buf, int offset) Append this element to a message buffer- Parameters:
buf
- byte array to add the element tooffset
- starting index to store the element- Returns:
- index after the end of the stored element
-
valueString
Get the human-readable String of this element's value.- Returns:
- String
-
equals
Indicates whether some other object is "equal to" this one. -
hashCode
public int hashCode()Returns a hash code value for the object.
-