Class MarauderReadStatusInfo
-
- All Implemented Interfaces:
-
java.io.Serializable
public class MarauderReadStatusInfo implements Serializable
This class should mirror the struct ble_gollum_autonomous_rx_t of Gollum BLE Example value: (0x) 05-00-00-00-22-1E-84-3C-6C-01-00-00-72-E7-83-3C-6C-01-00-00-17-00-DD-19-00-00-00-00-30-75-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-03-00-00-00-00-30-00-00-00-00-00-00
-
-
Field Summary
Fields Modifier and Type Field Description public final static byte
FREQFINDER_SCAN_MODE_FREQ
public final static byte
FREQFINDER_SCAN_MODE_BAND
public byte
versionTag
public long
startTime
public long
currentTime
public int
frequency
public Array<int>
multFreqs
public int
detectedFreq
public int
datarate
public int
deviation
public int
filterbw
public int
numPagesIn
public int
lastSectorNumPagesIn
public int
captureRead
public int
numCapture
public int
currentSector
public int
lastSectorUsed
public int
sectorTimeout
public byte
powerAmp
public byte
modulation
public byte
freqIndex
public byte
scanMode
public int
rxRssiThreshold
public boolean
rxOngoing
public boolean
txOngoing
public boolean
rxCaptureOngoing
public int
frequencyBands
public boolean
rxRleEnabled
public boolean
advEnabled
public boolean
mAsyncMode
public boolean
isWellInitialized
-
Constructor Summary
Constructors Constructor Description MarauderReadStatusInfo()
MarauderReadStatusInfo(Array<byte> characteristicValue)
-
Method Summary
Modifier and Type Method Description boolean
isWellInitialized()
boolean
init(Array<byte> characteristicValue)
byte
getVersionTag()
long
getStartTime()
void
setStartTime(long startTime)
long
getCurrentTime()
void
setCurrentTime(long currentTime)
int
getFrequency()
void
setFrequency(int frequency)
Array<int>
getMultFreqs()
void
setMultFreqs(Array<int> multFreqs)
int
getDetectedFreq()
void
setDetectedFreq(int detectedFreq)
int
getFrequencyBands()
void
setFrequencyBands(int frequencyBands)
int
getDatarate()
void
setDatarate(int datarate)
int
getDeviation()
void
setDeviation(int deviation)
int
getFilterbw()
void
setFilterbw(int filterbw)
int
getNumPagesIn()
void
setNumPagesIn(int numPagesIn)
int
getLastSectorNumPagesIn()
void
setLastSectorNumPagesIn(int lastSectorNumPagesIn)
int
getCaptureRead()
void
setCaptureRead(int captureRead)
int
getNumCapture()
void
setNumCapture(int numCapture)
int
getCurrentSector()
void
setCurrentSector(int currentSector)
int
getLastSectorUsed()
void
setLastSectorUsed(int lastSectorUsed)
int
getSectorTimeout()
void
setSectorTimeout(int sectorTimeout)
byte
getPowerAmp()
void
setPowerAmp(byte power_amp)
byte
getModulation()
void
setModulation(byte modulation)
byte
getFreqIndex()
void
setFreqIndex(byte freqIndex)
byte
getScanMode()
void
setScanMode(byte scanMode)
void
setRxRssiThreshold(int rxRssiThreshold)
int
getRxRssiThreshold()
boolean
isRxOngoing()
void
setRxOngoing(boolean rxOngoing)
boolean
isTxOngoing()
void
setTxOngoing(boolean txOngoing)
boolean
isRxCaptureOngoing()
void
setRxCaptureOngoing(boolean rxCaptureOngoing)
boolean
isRxRleEnabled()
void
setRxRleEnabled(boolean rxRleEnabled)
boolean
isAdvEnabled()
void
setAdvEnabled(boolean advEnabled)
boolean
isAsyncMode()
void
setAsyncMode(boolean asyncModeEnabled)
String
toString()
-
-
Constructor Detail
-
MarauderReadStatusInfo
MarauderReadStatusInfo()
-
MarauderReadStatusInfo
MarauderReadStatusInfo(Array<byte> characteristicValue)
- Parameters:
characteristicValue
- value of the characteristic, including the command byte
-
-
Method Detail
-
isWellInitialized
boolean isWellInitialized()
-
getVersionTag
byte getVersionTag()
-
getStartTime
long getStartTime()
-
setStartTime
void setStartTime(long startTime)
-
getCurrentTime
long getCurrentTime()
-
setCurrentTime
void setCurrentTime(long currentTime)
-
getFrequency
int getFrequency()
-
setFrequency
void setFrequency(int frequency)
-
getMultFreqs
Array<int> getMultFreqs()
-
setMultFreqs
void setMultFreqs(Array<int> multFreqs)
-
getDetectedFreq
int getDetectedFreq()
-
setDetectedFreq
void setDetectedFreq(int detectedFreq)
-
getFrequencyBands
int getFrequencyBands()
-
setFrequencyBands
void setFrequencyBands(int frequencyBands)
-
getDatarate
int getDatarate()
-
setDatarate
void setDatarate(int datarate)
-
getDeviation
int getDeviation()
-
setDeviation
void setDeviation(int deviation)
-
getFilterbw
int getFilterbw()
-
setFilterbw
void setFilterbw(int filterbw)
-
getNumPagesIn
int getNumPagesIn()
-
setNumPagesIn
void setNumPagesIn(int numPagesIn)
-
getLastSectorNumPagesIn
int getLastSectorNumPagesIn()
-
setLastSectorNumPagesIn
void setLastSectorNumPagesIn(int lastSectorNumPagesIn)
-
getCaptureRead
int getCaptureRead()
-
setCaptureRead
void setCaptureRead(int captureRead)
-
getNumCapture
int getNumCapture()
-
setNumCapture
void setNumCapture(int numCapture)
-
getCurrentSector
int getCurrentSector()
-
setCurrentSector
void setCurrentSector(int currentSector)
-
getLastSectorUsed
int getLastSectorUsed()
-
setLastSectorUsed
void setLastSectorUsed(int lastSectorUsed)
-
getSectorTimeout
int getSectorTimeout()
-
setSectorTimeout
void setSectorTimeout(int sectorTimeout)
-
getPowerAmp
byte getPowerAmp()
-
setPowerAmp
void setPowerAmp(byte power_amp)
-
getModulation
byte getModulation()
-
setModulation
void setModulation(byte modulation)
-
getFreqIndex
byte getFreqIndex()
-
setFreqIndex
void setFreqIndex(byte freqIndex)
-
getScanMode
byte getScanMode()
-
setScanMode
void setScanMode(byte scanMode)
-
setRxRssiThreshold
void setRxRssiThreshold(int rxRssiThreshold)
-
getRxRssiThreshold
int getRxRssiThreshold()
-
isRxOngoing
boolean isRxOngoing()
-
setRxOngoing
void setRxOngoing(boolean rxOngoing)
-
isTxOngoing
boolean isTxOngoing()
-
setTxOngoing
void setTxOngoing(boolean txOngoing)
-
isRxCaptureOngoing
boolean isRxCaptureOngoing()
-
setRxCaptureOngoing
void setRxCaptureOngoing(boolean rxCaptureOngoing)
-
isRxRleEnabled
boolean isRxRleEnabled()
-
setRxRleEnabled
void setRxRleEnabled(boolean rxRleEnabled)
-
isAdvEnabled
boolean isAdvEnabled()
-
setAdvEnabled
void setAdvEnabled(boolean advEnabled)
-
isAsyncMode
boolean isAsyncMode()
-
setAsyncMode
void setAsyncMode(boolean asyncModeEnabled)
-
-
-
-