P2P with PN532 and FTDI-cable

Breakout boards, sensors, Drawdio, Game of Life, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

P2P with PN532 and FTDI-cable

Postby MrBucket » Tue Apr 10, 2012 9:25 am

Hi

I'm doing my master thesis and I'm trying to get an active p2p session going between a PN532 breakout board and an Galaxy Nexus.
The phone has Android 4 and the PN532 is connected to my laptop via a FTDI-cable (with UART selected).

I have tried with libnfc, libnfc-llcp and nfcpy but none seems to work.
nfcpy can't even find the reader.

When I run nfc-dep-initiator and nfc-dep-target on two PN532 boards the data is exchanged but the initiator prints "nfc_initiator_deselect_target: RF Transmission Error" at the end.

Is there something I missed, something wrong with my setup or is it at all possible?

ps. sorry for the vauge question. if you need anymore details just ask. ds.

best regards
//MrBucket
MrBucket
 
Posts: 2
Joined: Tue Apr 10, 2012 8:50 am

Re: P2P with PN532 and FTDI-cable

Postby adafruit » Tue Apr 10, 2012 9:41 am

we've never tried p2p - but you can check with libnfc if you can read a card. which PN532 breakout board are you using?
User avatar
adafruit
 
Posts: 10551
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: P2P with PN532 and FTDI-cable

Postby MrBucket » Wed Apr 11, 2012 2:45 am

I am using this breakout board
https://www.adafruit.com/products/364

And I can use libnfc to read a card.

~$ nfc-poll
nfc-poll uses libnfc 1.5.1 (r1318)
NFC reader: pn532_uart:/dev/ttyUSB0 - PN532 v1.6 (0x07) 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): 03 44
UID (NFCID1): 04 51 58 91 d1 1d 80
SAK (SEL_RES): 20
ATS: 75 77 81 02 80
MrBucket
 
Posts: 2
Joined: Tue Apr 10, 2012 8:50 am

Re: P2P with PN532 and FTDI-cable

Postby adafruit » Wed Apr 11, 2012 1:47 pm

if you can read a card, the chip and breakout is working perfectly so it is something else, software related, that is not working the way you expect.
User avatar
adafruit
 
Posts: 10551
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Re: P2P with PN532 and FTDI-cable

Postby gflarity » Mon Dec 03, 2012 2:41 pm

I've been able to get PN532 breakout working with the nfcpy 'snep-test-server.py' example. But before nfcpy will work, I need to run a libnfc example like 'nfc-list' once first. Obviously some sort of init string isn't being sent by nfcpy. Looking into it.
gflarity
 
Posts: 4
Joined: Tue Aug 07, 2012 10:12 am


Return to Other Adafruit products

Who is online

Users browsing this forum: No registered users and 6 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]