Time to play a bit with the rfid reader, ... / 2010-12-27

2010-12-27 Time to play a bit with the rfid reader, ... 9 years ago
Time to play a bit with the rfid reader, and trying the RFID IO tools by Adam Laurie.

Sofar the touchatag tags give an error from the tools:

koos@machiavelli:~/src/RFIDIOt-1.0a$ ./cardselect.py
cardselect v0.1l (using RFIDIOt v1.0a)
  Reader: PCSC ACS ACR122U 00 00

    PCSC Communications Error
Exception AttributeError: AttributeError("'NoneType' object has no attribute 'disconnect'",) in <bound method PCSCCardConnection.__del__ of <smartcard.pcsc.PCSCCardConnection.PCSCCardConnection instance at 0x95bb92c>> ignored
Where nfc-list sees these correct:
$ nfc-list
nfc-list use libnfc 1.4.0 (r833)
Connected to NFC device: ACS ACR122U 00 00 / ACR122U102 - PN532 v1.4 (0x07)
2 ISO14443A passive target(s) was found:
    ATQA (SENS_RES): 00  44  
       UID (NFCID1): 04  b7  cc  19  3e  25  80  
      SAK (SEL_RES): 00  

    ATQA (SENS_RES): 00  44  
       UID (NFCID1): 04  d8  10  19  3e  25  84  
      SAK (SEL_RES): 00  

But the cardselect error is the same when there is no tag at all. Time to try it with a card which is a bit more than just a UID. No dice, looks like some problem with the setup.

The tool lsnfc (part of nfc-utils) from nfc-tools does work:

koos@machiavelli:~/src/nfcutils-0.3.0$ ./src/lsnfc 
device = ACS ACR122U 00 00 / ACR122U102 - PN532 v1.4 (0x07)
UID=04b7cc193e2580
* NXP MIFARE UltraLight
UID=04d810193e2584
* NXP MIFARE UltraLight
2 tag(s) on device.
Two touchatag tags, indeed.

Tags: ,

, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred.

PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers pgp key statistics for 0x5BA9368BE6F334E4 Koos van den Hout
RSS
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated in 0.004640 seconds.