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

2010-12-27 Time to play a bit with the rfid reader, ...
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)
* NXP MIFARE UltraLight
* NXP MIFARE UltraLight
2 tag(s) on device.
Two touchatag tags, indeed.

Tags: ,

IPv6 check

Running test...
, 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

Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.57 2022/02/15 21:48:18 koos Exp $ in 0.007312 seconds.