Baseband reception/recording notification. This notification is sent by an agent that supports baseband reception or recording (Services.BASEBAND service). For a recording, the preamble id is set to 0.
Fields inherited from class | Fields |
---|---|
class BasebandSignal |
channels, fs, preamble, signal |
Constructor and description |
---|
RxBasebandSignalNtf
() |
RxBasebandSignalNtf
(AgentID recipient) |
RxBasebandSignalNtf
(Message inReplyTo) |
Type Params | Return Type | Name and description |
---|---|---|
|
Integer |
getAdc() Gets the source ADC. |
|
double[] |
getLocation() Gets the location where this frame was received. |
|
Float |
getRssi() Gets the received signal strength. |
|
Long |
getRxTime() Gets the time at which the signal was received. |
|
void |
setAdc(int adc) Sets the source ADC number. |
|
void |
setAdc(Integer adc) Sets the source ADC number. |
|
void |
setLocation(double[] location) Sets the location where this frame was received. |
|
void |
setRssi(Float rssi) Sets the received signal strength. |
|
void |
setRssi(float rssi) Sets the received signal strength. |
|
void |
setRxTime(Long time) Sets reception timestamp. |
|
void |
setRxTime(long time) Sets reception timestamp. |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class BasebandSignal |
getCarrierFrequency, getChannels, getFc, getFs, getPreamble, getPreambleID, getSamplingRate, getSignal, getSignal, getSignalAsBase64, getSignalLength, isComplex, setCarrierFrequency, setChannels, setFc, setFs, setPreamble, setPreambleID, setSamplingRate, setSignal, setSignalFromBase64, toString |
class Message |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Gets the source ADC.
Gets the location where this frame was received.
Gets the received signal strength.
Gets the time at which the signal was received.
Sets the source ADC number.
adc
- source ADC number, null if unknownSets the source ADC number.
adc
- source ADC number, null if unknownSets 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 received signal strength.
rssi
- RSSI in dBSets reception timestamp.
time
- reception time in us, null if unspecifiedSets reception timestamp.
time
- reception time in us, null if unspecifiedCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd