I have fundamental question about what Open NFC framework is for. I want to write a program that will run on a PC to communicate with a NFC card reader connected to the PC through USB. The program will write to and read from NFC tags by commanding the NFC card reader.
Is Open NFC framework suited for this purpose? Or is it for developing programs that will run on NFC tags?
Aritra
OpenNFC is a software stack implementing NFC functionalities.
It is hardware independent, so in theory you could use it with an USB connected reader. The problem is, the only available HALs (Hardware Abstraction Layers) for OpenNFC are for an NFC simulator and Inside Secure hardware. Until we get some HALs for most common hardware, I'd say you should take look at http://www.libnfc.org/documentation/introduction
There are many NFC readers on the market, that are being sold with their own SDKs. With such SDKs you are 100% sure the code is compatible with the particular NFC reader.
BR
STeN
Related
I'm running Android Things on a Raspberry Pi 3 Model B. I want to read NFC Tags, is it possible to do this? I've got like zero hardware knowledge about this stuff. All I know is how to write the necessary code.
A Raspberry Pi (or the other Dev kit) does not have NFC hardware. If you want to read NFC tags you need to get some hardware.
In addition to that, there is not user space driver for NFC, so you'd need to read it using a driver.
I only know of 2 chips that are sort of supported, both drivers are very limited. In fact, the simplest way to get them to work is to plug then into an Arduino and then communicate with the Arduino either using UART or I2C.
The best supported chip is RC-522. It reads mifare, but not sure how many other formats. You have a driver ported from arduino here: http://github.com/Galarzaa90/android-things-rc522
One of the important limitations is that it does not support card emulation.
I've had success with the ACR122U running over USB. It supports Mifare.
We want to write an Android App for the Sony SmartWatch 2 which uses the device's NFC functionality to read and write NFC tags (such as Mifare or DESfire cards). NFC functionality is heavily promoted for the SmartWatch 2, however, I couldn't find any information on an open NFC API so far.
My questions: Is there an open NFC API for the SmartWatch 2? If so, are there any restrictions on the mode of communication (Reader/Writer mode vs. P2P)? Where can I find related documentation?
Thanks,
Markus
The NFC in the SW2 is only used for pairing it to a phone. Sony does not support any API to read tags or transfer data using the NFC in the watch.
I am new to windows mobile development.i want to developed application which can read secure element in mifare desfire card.i want to know in windows platform is support for desfire nfc t card.if not give some description what are the best standardized nfc format in windows platform.
Thanks
SSv
You are confusing the NFC related question by mentioning Secure Element.
WP8 only supports NDEF formatted cards. Here's a sample
http://www.developer.nokia.com/Community/Wiki/WP8_NFC_Tutorial:_Voice_Messages_on_NFC_Tags
I'm developing an authentication system with NFC technology with strong cryptographic functions.
There are two solutions from NXP: Mifare DESFire EV1, which is a chip with memory areas and 3DES and AES128 crypt functions, and SmartMX2,which is a complete MCU that needs an OS and software to run.
To choose between the two, I have to know how to program those tags. For what I've understood, the DESFire needs a USB reader/writer and the interface software, like this --> http://www.mpsys.de/chipmanrfid_en.html
What equipment is needed to install the OS on a SmartMX card, and then debug? Is it possible to do it only via NFC interface?
Thanks for your attention,
gfunky
SmartMX cards always come with the Card OS installed. The Card OS is actually fixed in the ROM mask of the chip. An example of such a Card OS is NXP JCOP; an implementation of JavaCard.
Developing JavaCard applets for JCOP is usually done in Eclipse. NXP offers JCOP development tools to customers that consist of a plug-in for Eclipse. Debugging is not possible on the card itself (also for security reasons), but is done in a simulator that runs on the PC.
DESFire is a chip with fixed functionality. It has its own command set to do things like creating files, reading and writing data and performing authentication. In principle, this can be done using any software that allows sending commands through a contactless card reader. But specialized software that has built-in support for DESFire will be very convenient and likely speed up your development a lot.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to Connect External NFC Card Reader to Tablet(Android 2.3.3)
This is may be the duplication of this
How to Connect External NFC Card Reader to Tablet
I want to connect the nfc USB reader of http://www.sensorid.it/en/products/stickid.html
with a tablet running android OS 3.2. I need to read the nfc tags using my app and above mention NFC reader.
I am not able to conclude any thing so far. Is this possible or not?
If yes, what should be the starting point for me?
Thanks
After some research..my conclusion is that we can not talk with NFC reader without the help of manufacturers, as they knows how to communicate with it..what protocol they use.
So the solution of my problem is to USE a NFC reader which is HID compatible.
Like one I found at http://www.rsdm-systems.de/products/de/RFID-Systeme-LF-HF/RFID-Sticks/RFID-Stick-Mifare-Classic-USB.html
This solved my problem.
You mostly will not be able to use it directly.
3.2 supports host functionality, so it will recognize a USB device.
I doubt if your reader will be able to talk directly to the OS as there are in between layers which it has to go through before it can be read and converted into OS understandable values.
You should talk to the manufacturers to see if they have found a way. Then yyou should go ahead and buy it.