|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ka2ddo.opentrac.RadioCapability
public class RadioCapability
One RadioCapability array element for the OpenTracRadioCapabilities message element.
OpenTracRadioCapabilities,
Serialized Form| Field Summary | |
|---|---|
int |
bandwidth
Modulation bandwidth in Hertz. |
byte |
ctcss
CTCSS subtone in use, as index through CTCSS codes. |
byte |
detail
Further details about the information, in index through FCC definition letters. |
static java.lang.String |
DETAIL_TYPES
Detail type codes in numeric index order. |
int |
frequency
Radio frequency in 10s of kiloHertz. |
byte |
function
Radio function, as index through function names. |
byte |
information
Information type, in index through FCC definition letters. |
static java.lang.String |
INFORMATION_TYPES
Information content type codes in numeric index order. |
byte |
modulation
Modulation scheme, in index through FCC definition letters. |
static java.lang.String |
MODULATION_TYPES
Modulation type codes in numeric index order. |
byte |
multiplex
Multiplexing scheme, in index through FCC definition letters. |
static java.lang.String |
MULTIPLEX_TYPES
Multiplexing codes in numeric index order. |
byte |
signal
Signal content type, in index through FCC definition numbers. |
static java.lang.String |
SIGNAL_TYPES
Signal type codes in numeric index order. |
static int |
SIZE
Number of bytes to encode one RadioCapability structure. |
| Constructor Summary | |
|---|---|
RadioCapability()
Create an uninitialized RadioCapability element. |
|
| Method Summary | |
|---|---|
int |
computeBody(byte[] buf,
int offset)
Append this element to a message buffer |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
valueString()
Get the human-readable String of this element's value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SIZE
public int frequency
public byte signal
SIGNAL_TYPESpublic byte modulation
MODULATION_TYPESpublic byte information
INFORMATION_TYPESpublic byte detail
DETAIL_TYPESpublic byte multiplex
MULTIPLEX_TYPESpublic byte function
FUNCTION_TYPESpublic byte ctcss
XmitEncoding.CTCSS_FREQSpublic int bandwidth
public static final java.lang.String MODULATION_TYPES
public static final java.lang.String SIGNAL_TYPES
public static final java.lang.String INFORMATION_TYPES
public static final java.lang.String DETAIL_TYPES
public static final java.lang.String MULTIPLEX_TYPES
| Constructor Detail |
|---|
public RadioCapability()
| Method Detail |
|---|
public int computeBody(byte[] buf,
int offset)
buf - byte array to add the element tooffset - starting index to store the element
public java.lang.String valueString()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.hashCode(),
HashMappublic int hashCode()
hashCode in class java.lang.Objectequals(Object)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||