pmeerw's blog

07 Jul 2013

Sun, 07 Jul 2013

NFC experiment

Hooked up an Adafruit PN532 breakout via FTDI serial cable.

Of course it did not work. Some patches later:

pmeerw@sirene:~/src/nfc/libnfc$ utils/nfc-scan-device -v
nfc-scan-device uses libnfc libnfc-1.7.0-rc7-45-gede5ebd
1 NFC device(s) found:
- pn532_uart:/dev/ttyUSB1:
    pn532_uart:/dev/ttyUSB1
chip: PN532 v1.6
initator mode modulations: ISO/IEC 14443A (106 kbps), FeliCa (424 kbps, 212 kbps), ISO/IEC 14443-4B (106 kbps), Innovision Jewel (106 kbps), D.E.P. (424 kbps, 212 kbps, 106 kbps)
target mode modulations: ISO/IEC 14443A (106 kbps), FeliCa (424 kbps, 212 kbps), D.E.P. (424 kbps, 212 kbps, 106 kbps)
pmeerw@sirene:~/src/nfc/libnfc$ examples/nfc-poll -v
nfc-poll uses libnfc libnfc-1.7.0-rc7-45-gede5ebd
NFC reader: pn532_uart:/dev/ttyUSB1 opened
NFC device will poll during 30000 ms (20 pollings of 300 ms for 5 modulations)
ISO/IEC 14443A (106 kbps) target:
    ATQA (SENS_RES): 00  04  
* UID size: single
* bit frame anticollision supported
       UID (NFCID1): xx  xx  xx  xx  
      SAK (SEL_RES): 08  
* Not compliant with ISO/IEC 14443-4
* Not compliant with ISO/IEC 18092
                       
Fingerprinting based on MIFARE type Identification Procedure:
* MIFARE Classic 1K
* MIFARE Plus (4 Byte UID or 4 Byte RID) 2K, Security level 1
* SmartMX with MIFARE 1K emulation
Other possible matches based on ATQA & SAK values:

Make sure to edit /usr/local/etc/nfs/libnfc.conf:

device.name = "microBuilder.eu"
device.connstring = "pn532_uart:/dev/ttyUSB1"

posted at: 00:18 | path: /projects | permanent link

Made with PyBlosxom