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 byteFREQFINDER_SCAN_MODE_FREQpublic final static byteFREQFINDER_SCAN_MODE_BANDpublic byteversionTagpublic longstartTimepublic longcurrentTimepublic intfrequencypublic Array<int>multFreqspublic intdetectedFreqpublic intdataratepublic intdeviationpublic intfilterbwpublic intnumPagesInpublic intlastSectorNumPagesInpublic intcaptureReadpublic intnumCapturepublic intcurrentSectorpublic intlastSectorUsedpublic intsectorTimeoutpublic bytepowerAmppublic bytemodulationpublic bytefreqIndexpublic bytescanModepublic intrxRssiThresholdpublic booleanrxOngoingpublic booleantxOngoingpublic booleanrxCaptureOngoingpublic intfrequencyBandspublic booleanrxRleEnabledpublic booleanadvEnabledpublic booleanmAsyncModepublic booleanisWellInitialized
-
Constructor Summary
Constructors Constructor Description MarauderReadStatusInfo()MarauderReadStatusInfo(Array<byte> characteristicValue)
-
Method Summary
Modifier and Type Method Description booleanisWellInitialized()booleaninit(Array<byte> characteristicValue)bytegetVersionTag()longgetStartTime()voidsetStartTime(long startTime)longgetCurrentTime()voidsetCurrentTime(long currentTime)intgetFrequency()voidsetFrequency(int frequency)Array<int>getMultFreqs()voidsetMultFreqs(Array<int> multFreqs)intgetDetectedFreq()voidsetDetectedFreq(int detectedFreq)intgetFrequencyBands()voidsetFrequencyBands(int frequencyBands)intgetDatarate()voidsetDatarate(int datarate)intgetDeviation()voidsetDeviation(int deviation)intgetFilterbw()voidsetFilterbw(int filterbw)intgetNumPagesIn()voidsetNumPagesIn(int numPagesIn)intgetLastSectorNumPagesIn()voidsetLastSectorNumPagesIn(int lastSectorNumPagesIn)intgetCaptureRead()voidsetCaptureRead(int captureRead)intgetNumCapture()voidsetNumCapture(int numCapture)intgetCurrentSector()voidsetCurrentSector(int currentSector)intgetLastSectorUsed()voidsetLastSectorUsed(int lastSectorUsed)intgetSectorTimeout()voidsetSectorTimeout(int sectorTimeout)bytegetPowerAmp()voidsetPowerAmp(byte power_amp)bytegetModulation()voidsetModulation(byte modulation)bytegetFreqIndex()voidsetFreqIndex(byte freqIndex)bytegetScanMode()voidsetScanMode(byte scanMode)voidsetRxRssiThreshold(int rxRssiThreshold)intgetRxRssiThreshold()booleanisRxOngoing()voidsetRxOngoing(boolean rxOngoing)booleanisTxOngoing()voidsetTxOngoing(boolean txOngoing)booleanisRxCaptureOngoing()voidsetRxCaptureOngoing(boolean rxCaptureOngoing)booleanisRxRleEnabled()voidsetRxRleEnabled(boolean rxRleEnabled)booleanisAdvEnabled()voidsetAdvEnabled(boolean advEnabled)booleanisAsyncMode()voidsetAsyncMode(boolean asyncModeEnabled)StringtoString()-
-
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)
-
-
-
-