Reputation: 758
I am trying to emulate Android NFC using my Nexus 4 device as part of a Host Card Emulation demo. I want to know if all of the NFC Tags are supported by HCE or just specific tags?
Is ISO-DEP just an example, or is it the only one that works?
Upvotes: 1
Views: 2455
Reputation: 52956
Reading the documentation usually helps:
Specifically, Android 4.4 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. Android mandates emulating ISO-DEP only on top of the Nfc-A (ISO/IEC 14443-3 Type A) technology. Support for Nfc-B (ISO/IEC 14443-4 Type B) technology is optional. The layering of all these specifications is shown in the figure 3.
Upvotes: 3
Reputation: 1655
If a tag supports ISO-DEP/7816-4, then you can use HCE. If a tag supports NfcA or NfcB only, it won't work. Check the TagTechnology support list.
Contactless credit card uses ISO-DEP/7816-4.
NFC Type 4 Mifare DesFire also uses ISO-DEP/7816-4. You can use HCE to talk to it. However, using NDEF is much more practical. ISO-DEP simply wraps low level Mifare command; much more harder to use.
Upvotes: 0