lReturn = SCardConnect(hResManager,szAvailRdr,SCARD_SHARE_DIRECT, NULL, &hCardHandle, NULL); where szAvailRdr refers to the reader name (smartcard readername) and hCardHandle is a handle obtained before using scardconnect.
이 기사에서는 DS9908R/DS9808R(RFID)이 EPC Class 1 Gen 2를 읽거나 쓸 수 있다고 명시하고 있습니다. EPC Gen2 V2; ISO-18000-63 RFID 태그. 기본적으로 HID 모드에서 EPC 메모리 뱅크 데이터를 읽을 수 있습니다. 그러나 HID 모드에서는 TID/USER/RESERVED 메모리 뱅크 데이터를 읽을 수 없습니다.
USB 타입의 SC point 사 ACR1252U 라는 리더이고, 리눅스에서 꽂으면 다음과 같이 메시지가 나온다.
$ dmesg [197861.911706] usb 1-2: new full-speed USB device number 13 using xhci_hcd [197862.039152] usb 1-2: not running at top speed; connect to a high speed hub [197862.040341] usb 1-2: New USB device found, idVendor=072f, idProduct=223b, bcdDevice= 1.11 [197862.040359] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [197862.040366] usb 1-2: Product: ACR1252 Dual Reader [197862.040371] usb 1-2: Manufacturer: ACS
$ lsusb -t -v /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M ID 1d6b:0002 Linux Foundation 2.0 root hub |__ Port 1: Dev 2, If 0, Class=, Driver=, 12M ID 2109:0103 VIA Labs, Inc. |__ Port 2: Dev 15, If 0, Class=Chip/SmartCard, Driver=usbfs, 12M ID 072f:223b Advanced Card Systems, Ltd |__ Port 2: Dev 15, If 1, Class=Chip/SmartCard, Driver=usbfs, 12M ID 072f:223b Advanced Card Systems, Ltd
별다른 상세 정보가 보이진 않는다. 특이(?)한 것 가져가 대면 뜨고, 떼면 removed 라고 인식된다는 점
$ pcsc_scan Using reader plug'n play mechanism Scanning present readers... Waiting for the first reader... found one Scanning present readers... 0: ACS ACR1252 Dual Reader [ACR1252 Dual Reader PICC] 00 00
Possibly identified card (using /usr/share/pcsc/smartcard_list.txt): 3B 81 80 01 80 80 RFID - ISO 14443 Type A - NXP DESFire or DESFire EV1 or EV2 "Reiner LoginCard" (or "OWOK", how they name it) - they have been distributed by a german computer magazine ("Computer BILD") https://cardlogin.reiner-sct.com/ Belgium A-kaart (Antwerp citycard) Oyster card - Transport for London (second-gen "D") https://en.wikipedia.org/wiki/Oyster_card Kaba Legic Advant 4k Sydney Opal card public transport ticket (Transport) https://www.opal.com.au TH Köln (University of Applied Sciences Cologne) - Student Identity Card https://www.th-koeln.de/en/academics/multica_5893.php German red cross blood donation service http://www.blutspende-nordost.de/ Greater Toronto/Hamilton/Ottawa PRESTO contactless fare card http://en.wikipedia.org/wiki/Presto_card Electic vehicle charging card of the EMSP EnBW Energie Baden-Württemberg AG, Tarif ADAC e-Charge, Germany
카드 리더에 의해서 카드의 칩이 전기적으로 리셋된 이후에 보내지는 메시지라 이름이 그 따구인 듯.
An Answer To Reset (ATR) is a message output by a contact Smart Card conforming to ISO/IEC 7816 standards, following electrical reset of the card's chip by a card reader. The ATR conveys information about the communication parameters proposed by the card, and