Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9877 Discussions

Interaction with PN532 adrafruit nfc reader

CChir1
Novice
1,086 Views

My Nfc reader is connected to my galileo gen-2 board when running my python script i am getting these errors .

Traceback (most recent call last):

File "", line 1, in

File "/usr/lib/python2.7/site-packages/nfc/clf/__init__.py", line 74, in __init__

raise IOError(errno.ENODEV, os.strerror(errno.ENODEV))

IOError: [Errno 19] No such device

Traceback (most recent call last):

File "", line 1, in

NameError: name 'clf' is not defined

>>> tag.send_apdu(cla, ins, p1, p2, data, check_status=False)

Traceback (most recent call last):

File "", line 1, in

NameError: name 'tag' is not defined

>>>

due to above first two errors their are other errors coming..

0 Kudos
2 Replies
idata
Community Manager
194 Views

Hello ChiChi,

 

 

Thanks for reaching out.

 

 

I'm not sure why you are having those errors, but I have found that UPM has an example for this sensor, so the best recommendation that I can give you is to test it. Please follow the next steps:

 

 

1. In case you need to install UPM, use the following commands:

 

 

echo "src mraa-upm http://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586" > /etc/opkg/mraa-upm.conf opkg update opkg install mraa opkg install upm

 

 

2. Once you have installed UPM, use the next example: https://github.com/intel-iot-devkit/upm/blob/master/examples/python/pn532.py

 

 

Try to use the example as a reference for your own code. We don't have this sensor to test it, so please let us know if it works.

 

 

I hope you find this useful.

 

 

Regards,

 

Leonardo R.
idata
Community Manager
194 Views

Hello ChiChi,

 

 

Do you have updates about this?

 

 

Regards,

 

Leonardo R.
Reply