public class RfSetupParameters
extends java.lang.Object
GollumDongle.rfBruteForceAttackSetup(int, RfSetupParameters, BruteForceSetupParameters, GollumCallbackGetInteger)
,
GollumDongle.rfBruteForceAttackSetupLongSymbol(int, RfSetupParameters, BruteForceSetupLongSymbolParameters, GollumCallbackGetInteger)
,
GollumDongle.rfBruteForceAttackStart(int, RfSetupParameters, BruteForceStartParameters, GollumCallbackGetInteger)
Constructor and Description |
---|
RfSetupParameters(int frequency,
int dataRate,
int modulation,
int deviation,
int channelBandwidth,
int frameLength) |
Modifier and Type | Method and Description |
---|---|
int |
getChannelBandwidth() |
int |
getDataRate() |
int |
getDeviation() |
int |
getFrameLength() |
int |
getFrequency() |
int |
getModulation() |
java.lang.String |
toString() |
public RfSetupParameters(int frequency, int dataRate, int modulation, int deviation, int channelBandwidth, int frameLength)
frequency
- The frequency to use in HzdataRate
- Target data rate, in bits/s.modulation
- The modulation value to use. Cf. com.comthings.gollum.api.gollumandroidlib.common.Common#getModulationValue(String) for possible values.deviation
- Channel deviation, in Hz. Only used for 2-FSK/GFSK/MSK.channelBandwidth
- Receiver Channel Filter Bandwidth, in Hz.frameLength
- Size (in bytes) of the packet that the CC1111 transceiver needs to capture before sending it to Android.Common.getModulationValue(String)
public java.lang.String toString()
toString
in class java.lang.Object
public int getFrequency()
public int getDataRate()
public int getModulation()
public int getDeviation()
public int getChannelBandwidth()
public int getFrameLength()