Hi everybody,
I've spent some days working with a 6131 NFC device. The only thing I need is to write some data inside MiFare4k through a MIDlet, and use an external reader to access to that data. But it is not so easy as I thought:
1. The MIDlets developed by nokia work correctly for the emulator (Nokia 6131 NFC SDK 1.1) but crash inside the real device. There are several classes that are not found.
2. If instead of create a com.nokia.nfc.nxp.mfstd.MFStandardConnection connection, I use a com.philips.rf.MifareStdConnection it does not work neither in the emulator nor the device. The class is not found.
3. Using the emulator to test the MIDlets but instead of using a simulated MiFare card I use the real device card (with a compatible reader), it fails because of a 'Authentication failure' error.
4. The examples execute properly if I use the device emulator and a simulated card.
Due to the posts I have read, I guess that the firmware in the device needs to be patched, and by now it's not possible to have a MiFare connection inside a MIDlet, but I think that the case explained in the 3rd point must work.
Is FFFFFFFFFFFF the Key needed to access the MiFare card??
What exactly are the keyA and keyB?? How I must use them?? I've been reading and I don't understand it very much...
Had anyone managed to get a MIDlet with a MiFare connection work in a real device without problems??
Any clue on this will be very welcome!
joana.

Reply With Quote

