What is Mifare native mode? - nfc

What is Mifare native mode? And what is the difference in interaction with card between native mode commands and APDU commands from ISO/IEC 7816-4 (or ISO 14443-4)?

The answer is almost contained in the second part of your question: Mifare native mode uses lower level commands than ISO 14443-4, so there are no APDUs to send. To access Mifare native mode, you will need hardware and software made or licensed by Mifare's owning company NXP.
For example, only mobile phones using NXP chips can use Mifare native mode to interact for example with Mifare Classic cards.

Related

Android Things and NFC

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.

Is it possible to emulate a felica card with an Android device?

According to Android documentation:
Android (4.4 and above) supports emulating cards that are based on the NFC-Forum ISO-DEP specification (based on ISO/IEC 14443-4) and process Application Protocol Data Units (APDUs) as defined in the ISO/IEC 7816-4 specification
On the other hand, Falica cards are compliant with JIS: X6319-4 as per Felica's wiki entry.
So, presumably it is not possible to use an Android device for emulation of Felica cards. Is that accurate?
That is correct. But, there are currently patches from Sony on AOSP under review that would allow card emulation of Felica cards. See for example https://android-review.googlesource.com/#/c/128491/
Suica card is emulated with Suica Mobile app, so it is possible

windows mobile nfc secure element

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

Functionatlity of Open NFC Framework

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

What do you need to program a NXP SmartMX contactless MCU?

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.

Resources