- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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..
- Tags:
- Intel® Quark™
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ChiChi,
Do you have updates about this?
Regards,
Leonardo R.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page