Compare commits

...

2 Commits

Author SHA1 Message Date
943f922668 Reset command chaining + extended length to 0x80
Turns out that this does not work on the omni-ring, despite documention saying it should
2023-10-04 16:30:40 -05:00
52c4efd5f5 Hide venv and compiled python 2023-10-04 16:29:27 -05:00
2 changed files with 5 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
*.jar
*.cap
*/.venv/*
*.pyc

View File

@ -150,9 +150,9 @@ public final class Constants {
(byte)0xC0, /* 1st byte: "methods supported" see ISO 7816-4 */
(byte)0x01, /* 2nd byte: "data coding byte" idem */
/* 3rd byte: command chaining + extended length; Set to 0x80 if
extended length is not supported by card or reader */
(byte)0xC0,
/* 3rd byte: command chaining + extended length; Set to 0xC0 if
extended length is supported by card and reader */
(byte)0x80,
(byte)0x05, /* status indicator byte : operational state */
(byte)0x90, /* SW1 */