Class BruteForceSetupLongSymbolParameters
-
- All Implemented Interfaces:
public class BruteForceSetupLongSymbolParameters
Wrapper class for parameters of GollumDongle.BruteForceSetupParameters()
-
-
Constructor Summary
Constructors Constructor Description BruteForceSetupLongSymbolParameters(int delayBtwAttemptsMs, int symbolLength, String encSymbolZero, String encSymbolOne, String encSymbolTwo, String encSymbolThree)
BruteForceSetupLongSymbolParameters(int delayBtwAttemptsMs, int symbolLength, Array<byte> encSymbolZero, Array<byte> encSymbolOne, Array<byte> encSymbolTwo, Array<byte> encSymbolThree)
-
Method Summary
Modifier and Type Method Description String
toString()
int
getDelayBtwAttemptsMs()
void
setDelayBtwAttemptsMs(int delayBtwAttemptsMs)
int
getSymbolLength()
void
setSymbolLength(int symbolLength)
Array<byte>
getEncSymbolZero()
void
setEncSymbolZero(Array<byte> encSymbolZero)
Array<byte>
getEncSymbolOne()
void
setEncSymbolOne(Array<byte> encSymbolOne)
Array<byte>
getEncSymbolTwo()
void
setEncSymbolTwo(Array<byte> encSymbolTwo)
Array<byte>
getEncSymbolThree()
void
setEncSymbolThree(Array<byte> encSymbolThree)
boolean
isValid()
Check parameters validity -
-
Constructor Detail
-
BruteForceSetupLongSymbolParameters
BruteForceSetupLongSymbolParameters(int delayBtwAttemptsMs, int symbolLength, String encSymbolZero, String encSymbolOne, String encSymbolTwo, String encSymbolThree)
- Parameters:
delayBtwAttemptsMs
- Delay between each frame to send.symbolLength
- Length of a symbol.encSymbolZero
- How to encode symbol '0'encSymbolOne
- How to encode symbol '1'encSymbolTwo
- How to encode symbol '2'encSymbolThree
- How to encode symbol '3'
-
BruteForceSetupLongSymbolParameters
BruteForceSetupLongSymbolParameters(int delayBtwAttemptsMs, int symbolLength, Array<byte> encSymbolZero, Array<byte> encSymbolOne, Array<byte> encSymbolTwo, Array<byte> encSymbolThree)
- Parameters:
delayBtwAttemptsMs
- Delay between each frame to send.symbolLength
- Length of a symbol.encSymbolZero
- How to encode symbol '0'encSymbolOne
- How to encode symbol '1'encSymbolTwo
- How to encode symbol '2'encSymbolThree
- How to encode symbol '3'
-
-
Method Detail
-
getDelayBtwAttemptsMs
int getDelayBtwAttemptsMs()
-
setDelayBtwAttemptsMs
void setDelayBtwAttemptsMs(int delayBtwAttemptsMs)
-
getSymbolLength
int getSymbolLength()
-
setSymbolLength
void setSymbolLength(int symbolLength)
-
getEncSymbolZero
Array<byte> getEncSymbolZero()
-
setEncSymbolZero
void setEncSymbolZero(Array<byte> encSymbolZero)
-
getEncSymbolOne
Array<byte> getEncSymbolOne()
-
setEncSymbolOne
void setEncSymbolOne(Array<byte> encSymbolOne)
-
getEncSymbolTwo
Array<byte> getEncSymbolTwo()
-
setEncSymbolTwo
void setEncSymbolTwo(Array<byte> encSymbolTwo)
-
getEncSymbolThree
Array<byte> getEncSymbolThree()
-
setEncSymbolThree
void setEncSymbolThree(Array<byte> encSymbolThree)
-
isValid
boolean isValid()
Check parameters validity
- Returns:
true if object parameters are valid, false if invalid
-
-
-
-