mirror of
https://github.com/status-im/status-keycard.git
synced 2025-02-23 02:28:12 +00:00
bump pairing slot count to 100
This commit is contained in:
parent
146c049b45
commit
793c8eedc9
@ -40,7 +40,7 @@ public class KeycardApplet extends Applet {
|
||||
static final byte PIN_LENGTH = 6;
|
||||
static final byte DEFAULT_PIN_MAX_RETRIES = 3;
|
||||
static final byte KEY_PATH_MAX_DEPTH = 10;
|
||||
static final byte PAIRING_MAX_CLIENT_COUNT = 5;
|
||||
static final byte PAIRING_MAX_CLIENT_COUNT = 100;
|
||||
static final byte UID_LENGTH = 16;
|
||||
static final byte MAX_DATA_LENGTH = 127;
|
||||
|
||||
|
@ -489,7 +489,7 @@ public class KeycardTest {
|
||||
}
|
||||
|
||||
// Wrong P1
|
||||
response = cmdSet.unpair((byte) 5);
|
||||
response = cmdSet.unpair(KeycardApplet.PAIRING_MAX_CLIENT_COUNT);
|
||||
assertEquals(0x6A86, response.getSw());
|
||||
|
||||
// Unpair spare keyset
|
||||
|
Loading…
x
Reference in New Issue
Block a user