03-16-2012 10:12 AM
The question is extremely simple:
Is it possible to emulate Mifare (Classic 1k/UltraLight) card?
BB 9930 , API 7.0
An external reader detects my device as Mifare card.
Solved! Go to Solution.
03-19-2012 06:09 AM
Thank you for your quick response, paulkayuk! Let's concentrate on Mifare Ultralight. Do you have any idea(example) how to do this?
I've tried Virtual Target Emulation sample, but the automatically generated UID is 4 bytes one, and the Mifare UL's UID is 7 bytes one. As far as I know, I can't handle how the serial number is generated. Is it true?
03-19-2012 07:14 AM
I was working on Tag Emulation yesterday, based on the Virtual target Emulation sample, and took a look at the various constructors for VirtualNDEFTag, and used the message + callback constructor as in the sample. I couldn't see an obvious use (yet) for the constructors which also specify TechnologyType and UID. No doubt down-the-road I will find a necessary use case, but with the simpler constructor my virtual tags are being recognised by other BlackBerries, Android, and an ACR122 USB reader, and that satisfied my immediate requirement.
03-23-2012 11:02 AM - edited 03-23-2012 11:20 AM
I don't think emulating a type 2 tag is possible from the APIs if we're strict about what we mean here. Type 2 tags work at ISO14443-3 whereas the API Virtualxxxxxx classes/interfaces work at layer 4 and are really designed for type 4 emulation. You can certainly emulate a generic tag which serves an NDEF message of course.