Class BruteForceStartParameters
-
- All Implemented Interfaces:
public class BruteForceStartParameters extends BruteForceSetupParameters
Wrapper class for parameters of GollumDongle.rfBruteForceAttackStart()
-
-
Field Summary
Fields Modifier and Type Field Description public final int
codeLength
public final int
startValue
public final int
stopValue
public final int
repeat
public final int
syncWordSize
public final String
syncWord
-
Constructor Summary
Constructors Constructor Description BruteForceStartParameters(int codeLength, int startValue, int stopValue, int repeat, boolean littleEndian, int delayBtwAttemptsMs, byte encSymbolZero, byte encSymbolOne, byte encSymbolTwo, byte encSymbolThree, int syncWordSize, String syncWord)
-
Method Summary
Modifier and Type Method Description int
getCodeLength()
int
getStartValue()
int
getStopValue()
int
getRepeat()
int
getSyncWordSize()
String
getSyncWord()
String
toString()
boolean
isLittleEndian()
boolean
isValid()
Check parameters validity -
Methods inherited from class com.comthings.gollum.api.gollumandroidlib.parameters.BruteForceSetupParameters
getDelayBtwAttemptsMs, getEncSymbolOne, getEncSymbolThree, getEncSymbolTwo, getEncSymbolZero, getSymbolEncodingBase, setDelayBtwAttemptsMs, setEncSymbolOne, setEncSymbolThree, setEncSymbolTwo, setEncSymbolZero
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BruteForceStartParameters
BruteForceStartParameters(int codeLength, int startValue, int stopValue, int repeat, boolean littleEndian, int delayBtwAttemptsMs, byte encSymbolZero, byte encSymbolOne, byte encSymbolTwo, byte encSymbolThree, int syncWordSize, String syncWord)
- Parameters:
codeLength
- Number of Symbols in CodeWord.startValue
- The start value of Brute Force from where you want to begin.stopValue
- The stop value of Brute Force at which you want to stop.repeat
- Frame Repetition.littleEndian
- Endianess.delayBtwAttemptsMs
- Delay between each frame to send.encSymbolZero
- How to encode symbol '0'encSymbolOne
- How to encode symbol '1'encSymbolTwo
- How to encode symbol '2'encSymbolThree
- How to encode symbol '3'syncWordSize
- Synchronisation word size, in bytes.syncWord
- Synchronisation word, in hexadecimal.
-
-
Method Detail
-
getCodeLength
int getCodeLength()
-
getStartValue
int getStartValue()
-
getStopValue
int getStopValue()
-
getRepeat
int getRepeat()
-
getSyncWordSize
int getSyncWordSize()
-
getSyncWord
String getSyncWord()
-
isLittleEndian
boolean isLittleEndian()
-
isValid
boolean isValid()
Check parameters validity
- Returns:
true if object parameters are valid, false if invalid
-
-
-
-