I've got a basic java (J2EE, not J2ME) program which I run on my PC and through an Omnikey 5321 cardreader can talk to a regular MiFare 1K card - this all works fine.
I want to be able to use the internal MiFare card within the 6131 (which has been unlocked) however this is not as straight forwards as I thought. The APDU to load an authentication key into a key number is:
"FF 82 20 00 06 FF FF FF FF FF FF" - to put key FFFFFFFFFFFF into block 00. On the regular 1K card this works fine (Return 90 00) however on the 6131 it returns 6E 00.
Do I need to do something else before I can talk to the MiFare part of the phone? I've tried sending SELECT commands to select the Application IDs listed on page 12 of the SDK userguide however none of these work.
Infact the APDU I am trying to send should be accepted even if the key isn't valid for the card - it is a load command not an authenticate command.
Any advise gratefully recieved.