Notification message for reception of corrupted or bad physical frame.
Constructor and description |
---|
BadFrameNtf
() |
Type Params | Return Type | Name and description |
---|---|---|
|
byte[] |
getData() Gets the data as byte array. |
|
float[] |
getLlr() Gets the log likelihood ratios (LLR). |
|
double[] |
getLocation() Gets the location where this frame was received. |
|
float |
getRssi() Gets the received signal strength. |
|
long |
getRxTime() Gets the reception timestamp of frame in us. |
|
int |
getType() Gets the type of channel. |
|
void |
setData(byte[] data) Sets the data as byte array. |
|
void |
setLlr(float[] llr) Sets the log likelihood ratios (LLR). |
|
void |
setLocation(double[] location) Sets the location where this frame was received. |
|
void |
setRssi(float rssi) Sets the received signal strength. |
|
void |
setRxTime(long time) Sets the reception timestamp of frame. |
|
void |
setType(int type) Sets the channel type. |
|
String |
toString() Gets a string representation of the bad frame. |
Methods inherited from class | Name |
---|---|
class Message |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Gets the data as byte array.
Gets the log likelihood ratios (LLR).
Gets the location where this frame was received.
Gets the received signal strength.
Gets the reception timestamp of frame in us.
Gets the type of channel.
Sets the data as byte array.
data
- in byte arraySets the log likelihood ratios (LLR).
llr
- LLR, or null if unavailableSets the location where this frame was received.
location
- coordinates (x, y) or (x, y, z), or null if unavailableSets the received signal strength.
rssi
- RSSI in dBSets the reception timestamp of frame.
time
- reception timestamp in usSets the channel type.
type
- of channel (Physical.DATA or Physical.CONTROL)Copyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd