summaryrefslogtreecommitdiff
path: root/openct-escape.c
diff options
context:
space:
mode:
Diffstat (limited to 'openct-escape.c')
-rw-r--r--openct-escape.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openct-escape.c b/openct-escape.c
index 92a8f94..c180fed 100644
--- a/openct-escape.c
+++ b/openct-escape.c
@@ -92,8 +92,8 @@ static int init()
sleep(2);
printf("opening layer2 handle\n");
- l2h = rfid_layer2_init(rh, RFID_LAYER2_ISO14443A);
- //l2h = rfid_layer2_init(rh, RFID_LAYER2_ISO14443B);
+ //l2h = rfid_layer2_init(rh, RFID_LAYER2_ISO14443A);
+ l2h = rfid_layer2_init(rh, RFID_LAYER2_ISO14443B);
if (!l2h) {
fprintf(stderr, "error during iso14443a_init\n");
return -1;
@@ -170,7 +170,7 @@ int
iso7816_select_application(void)
{
char cmd[] = { 0x00, 0xa4, 0x04, 0x0c, 0x07,
- 0x0a, 0x00, 0x00, 0x02, 0x47, 0x10, 0x01 };
+ 0xa0, 0x00, 0x00, 0x02, 0x47, 0x10, 0x01 };
char resp[7];
unsigned int rlen = sizeof(resp);
personal git repositories of Harald Welte. Your mileage may vary