Notification message for received frame.
| Modifiers | Name | Description |
|---|---|---|
protected int |
bits |
|
protected byte[] |
bytes |
|
protected float |
cfo |
|
protected java.lang.Integer |
errors |
|
protected double[] |
location |
|
protected float[] |
metrics |
|
protected float |
rssi |
|
protected java.lang.Long |
rxStartTime |
|
protected java.lang.String |
schemeCode |
|
protected java.lang.Long |
txStartTime |
|
protected int |
type |
| Type | Name and description |
|---|---|
int |
bits |
byte[] |
bytes |
float |
cfo |
java.lang.Integer |
errors |
double[] |
location |
float[] |
metrics |
float |
rssi |
java.lang.Long |
rxStartTime |
java.lang.String |
schemeCode |
java.lang.Long |
txStartTime |
int |
type |
| Constructor and description |
|---|
RxFrameNtf
() |
RxFrameNtf
(org.arl.fjage.AgentID recipient) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
getBits()Gets the number of bits in the data frame. |
|
byte[] |
getBytes()Gets the raw bytes of the received frame. |
|
float |
getCfo()Gets the carrier frequency offset. |
|
java.lang.Integer |
getErrors()Gets the number of erroneous bits corrected in the data frame. |
|
double[] |
getLocation()Gets the location where this frame was received. |
|
float[] |
getMetrics()Gets the bit metrics. |
|
float |
getRssi()Gets the received signal strength. |
|
java.lang.Long |
getRxStartTime()Returns timestamp in us at which frame was received (indicates the start of reception). |
|
java.lang.String |
getSchemeCode()Gets the scheme code used for this frame. |
|
java.lang.Long |
getTxStartTime()Returns the frame transmission timestamp (indicates the start of transmission). |
|
int |
getType()Gets the channel type Physical.DATA or Physical.CONTROL. |
|
void |
setBits(int bits)Sets the number of bits in the data frame. |
|
void |
setBytes(byte[] bytes)Sets the raw bytes of the received frame. |
|
void |
setCfo(float cfo)Sets the carrier frequency offset. |
|
void |
setErrors(java.lang.Integer bits)Sets the number of erroneous bits corrected in the data frame. |
|
void |
setLocation(double[] location)Sets the location where this frame was received. |
|
void |
setMetrics(float[] metrics)Sets the bit metrics. |
|
void |
setRssi(float rssi)Sets the received signal strength. |
|
void |
setRxStartTime(java.lang.Long time)Sets the reception timestamp in us (start of reception). |
|
void |
setSchemeCode(java.lang.String schemeCode)Sets the scheme code used for this frame. |
|
void |
setTxStartTime(java.lang.Long time)Sets the transmission timestamp (start of transmission). |
|
void |
setType(int type)Sets the channel type. |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class DatagramNtf |
getData, getFrom, getPriority, getProtocol, getTo, getTtl, setData, setFrom, setPriority, setProtocol, setTo, setTtl, toString |
Gets the number of bits in the data frame.
Gets the raw bytes of the received frame.
Gets the carrier frequency offset.
Gets the number of erroneous bits corrected in the data frame.
Gets the location where this frame was received.
Gets the bit metrics. A bit metric is a float value representing the demodulated bit. Nominal metric values are centered around -1 for bit 0 and +1 for bit 1. Metrics are typically only populated for test frames for diagnostic purposes.
Gets the received signal strength.
Returns timestamp in us at which frame was received (indicates the start of reception).
Gets the scheme code used for this frame.
Returns the frame transmission timestamp (indicates the start of transmission).
Gets the channel type Physical.DATA or Physical.CONTROL.
Sets the number of bits in the data frame.
bits - number of bitsSets the raw bytes of the received frame.
bytes - raw bytes, or null if unavailableSets the carrier frequency offset.
cfo - carrier frequency offsetSets the number of erroneous bits corrected in the data frame.
bits - number of erroneous bitsSets the location where this frame was received.
location - coordinates (x, y) or (x, y, z), or null if unavailableSets the bit metrics. A bit metric is a float value representing the demodulated bit. Nominal metric values are centered around -1 for bit 0 and +1 for bit 1.
metrics, - or null if unavailableSets the received signal strength.
rssi - RSSI in dBSets the reception timestamp in us (start of reception).
time - reception timestamp (us), null if unspecified.Sets the scheme code used for this frame.
schemeCode - scheme code, or null if unavailableSets the transmission timestamp (start of transmission).
time - timestamp in us, null if unspecified.Sets the channel type.
type - channel typeGroovy Documentation