Notification message for received raw data frame from C PHY.
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getBits() Gets the number of bits in the data frame. |
|
float |
getCfo() Gets the carrier frequency offset. |
|
byte[] |
getData() Gets the data as byte array. |
|
int |
getErrors() Gets the number of erroneous bits corrected in the data frame. |
|
float[] |
getLlr() Gets the log likelihood ratios (LLR). |
|
float |
getRssi() Gets the received signal strength. |
|
long |
getRxTime() Gets the time of reception. |
|
int |
getScheme() Gets the scheme. |
|
boolean |
isTestFrame() Checks if the frame is a test frame. |
|
void |
setBits(int bits) Sets the number of bits in the data frame. |
|
void |
setCfo(float cfo) Sets the carrier frequency offset. |
|
void |
setData(byte[] data) Sets the data as byte array. |
|
void |
setErrors(int bits) Sets the number of erroneous bits corrected in the data frame. |
|
void |
setLlr(float[] llr) Sets the log likelihood ratios (LLR). |
|
void |
setRssi(float rssi) Sets the received signal strength. |
|
void |
setRxTime(long time) Sets the time of reception. |
|
void |
setScheme(int scheme) Sets the scheme. |
|
void |
setTestFrame(boolean b) Sets the test frame flag for the frame. |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class Message |
setPerformative, toString, getSender, setMessageID, getSentAt, setRecipient, getInReplyTo, setSentAt, setSender, getPerformative, getRecipient, getMessageID, setInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Gets the number of bits in the data frame.
Gets the carrier frequency offset.
Gets the data as byte array.
Gets the number of erroneous bits corrected in the data frame.
Gets the log likelihood ratios (LLR).
Gets the received signal strength.
Gets the time of reception.
Gets the scheme.
Checks if the frame is a test frame.
Sets the number of bits in the data frame.
bits
- number of bitsSets the carrier frequency offset.
cfo
- carrier frequency offsetSets the data as byte array.
data
- in byte arraySets the number of erroneous bits corrected in the data frame.
bits
- number of erroneous bitsSets the log likelihood ratios (LLR).
llr
- LLR, or null if unavailableSets the received signal strength.
rssi
- RSSI in dBSets the time of reception.
time
- time of reception in microsecondsSets the scheme.
scheme
- scheme numberSets the test frame flag for the frame.
b
- true if test frame, false otherwiseCopyright 2013-21, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd