Questions tagged [smartcard-reader]

A smartcard reader is a peripheral device that can be connected to computer or an embedded system (or any similar device) in order to empower that device with the capability to communicate with smartcards.

A smartcard reader is a device that enables another device with comutational capabilities to communicate with smartcards () or chip cards in general. Smartcard readers typically support the protocols defined in the ISO/IEC 7816 series of standards. Besides that, smartcard readers may also support other protocols for communication with chip cards and contactless tokens.

While the term "smartcard reader" contains the word "reader", a smartcard reader is not limited to reading data from a smartcard. Instead it can also write data to a card and can even exchange commands with a smartcard chip that are not directly related to reading or writing data but that trigger the processing of algorithms (e.g. cryptographic functions) on the chip.

392 questions
2
votes
1 answer

ACR122U idle/decection LED state

Is there any APDU command that could control LED state of PRESENT/ABSENT reader states? (eventually for any other state) For this purpose there are only buzzer linked commands in the API. Thanks.
gnivirht
  • 315
  • 2
  • 9
2
votes
1 answer

ACR122U LED controlling

Does anybody have any clue how to control the bi-color LED of ACR122U via the method Reader.control() on Android? (library acssmc-1.1.3). I am reading the API and have no idea what the command description means: Example: byte[] command = {(byte)…
gnivirht
  • 315
  • 2
  • 9
2
votes
1 answer

Stop Screensaver programmatically

How can I stop the screensaver while it's running? without moving the mouse or pressing a key on the keyboard. My applications input is from a card reader, if the screen saver is running my application is still working fine but the screen saver…
crimson589
  • 1,238
  • 1
  • 20
  • 36
2
votes
2 answers

Determine Card Number from ATR in Swift

I am using an ACS card reader. I have a contactless VISA card. By reading the card I get the following hex ATR information: 3B 6E 00 00 80 31 80 66 B1 A3 01 01 21 0A 83 00 90 00 From the above ATR, how I can detect the card number and type?
Muzahid
  • 5,072
  • 2
  • 24
  • 42
2
votes
1 answer

How to change 2-step card response into 1-step?

I'm developing a program in Java Card. sometimes when I send a command to card, it responses as "0X61 0Xxx" which means there exist a response with 0Xxx length and I should answer to get it. My question is, how can I avoid this kind of responses…
MJay
  • 987
  • 1
  • 13
  • 36
2
votes
0 answers

Programming Nxp NTag 213 using a smart card reader

I would like to communicate with an NTag213 smarttag using an SCL010 smartcard reader. I looked into the SCL010 manual and was able to read and write as a type 2 NFC tag as in case of Mifare tags but I have no knowledge of how to execute FAST_READ,…
Britto
  • 501
  • 1
  • 9
  • 22
2
votes
0 answers

how to use libusb bulk transfer for read smart card reader firmware

I'm really confused to get a firmware form my smart card reader. My smart card reader is ACR122U. This is my program in QT to read my smart card reader firmware. #define BULK_EP_OUT 0x02 #define BULK_EP_IN 0x82 QByteArray readFirmware() { …
SkyFrotza
  • 97
  • 11
2
votes
0 answers

c_initialize - this object is not connected to a module

I am trying to use a smartcard. I am using bunch of libraries. When the smartcard library tries to create an instance it gives me this error : "c_initialize - this object is not connected to a module". I used both winform and web form applications…
mcansener
  • 21
  • 4
2
votes
2 answers

UPDATE BINARY and read back the written block

I'm sending an UPDATE BINARY command to write to the memory of a card and after that I want to check if the block was correctly written. So, I'm sending a READ BINARY command and comparing the values. (C - Command, R - Response) C :…
2
votes
1 answer

How to handle S-block received by reader?

I use MFRC522 as the reader, while Sony C4 is executing Google HCE sample. The reader is sending frame 1: 02 00 A4 04 00 07 F0 01 02 03 04 05 06 crc1 crc2 Then the reader receives frame 2: f2 08 50 dd I think it may be an S-block or WTX. However…
2
votes
2 answers

Selecting DF (Dedicated File) in Smart Card, Return Error 6981

I have written a program to communicate with a smart card (Gemalto Company MPCOS applet). I could successfully connect to card and transmit commands and fetch data. However I have a problem: When I used 00 A4 01 00 02 02 00 command to select…
Hosein Aqajani
  • 1,553
  • 4
  • 26
  • 46
2
votes
0 answers

Weird behavior of smart card reader

I have a CRT-603-CZ1 smart card reader and I want to read 16 bytes of block 4 of a classic 1k Mifare contactless card. The authentication keys are the defualt values (i.e 0xFFFFFFFFFFFF). So I must send 3 commands to the reader as below : Load Key…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
2
votes
0 answers

ACR 122U connected with android disconnects immediately while touched tags

I am using ACR 122U card reader connected with android phone via OTG cable. I tested given code by ACS (http://www.acs.com.hk/download-driver-unified/5102/ACS-LIB-Android-112-A.zip). The reader connects with phone successfully. But when tags are…
2
votes
2 answers

Detect a real Mifare classic card from a simulated one

As you may know, Mifare Classic cards hacked about 7 years ago. So now anybody can hack a Mifare card to extract its authentication keys and read its content. And after that he/she can simulate that card on its mobile handset, for example, and use…
Ebrahim Ghasemi
  • 5,850
  • 10
  • 52
  • 113
2
votes
1 answer

ISO/IEC 7816 commands over CCID

I'm currently discovering the smart card world and there are some things that I don't understand. I'm developing a driver that talks to my smart card reader (USB) using the CCID protocol (I succeeded in having basic communications). But then if I…
b3nj1
  • 667
  • 1
  • 6
  • 17