Thank you very much phoenix.
From my experience, ATR sent by the card is always the same.
I forgot what happen if i place a different 6131NFC phone over my card reader (OmniKey 5321), but if i didn't remember wrongly, the ATR is the same.
Have you tried to send the ATR to the card?
I believe that what phoenix saying of the "booting" is not true: it don't reset the card.
From what I know Java Card is like Hard disk memory, once write can't rollback unless of a backup copy.
Cause there are times where i left my phone for too long and the battery totally went dead, and my applet still store the same information. (From my experience: if battery are dead, you cant read the card)
If what phoenix mention that a boot reset the card, my applet would store the default infomation which is not the case.
Hope the Nokia expert would ask this thread. =) Hope this help ebross..
Thanks lovercjs, you are right about after a reset the javacard keeps the data if is of course on the EEPROM or ROM but in RAM everything is erased. Now a roll back is done is something went wrong before finishing the update of the data in the EEPROM, in that case at the reset, the OS will roll back the data to it's initial state (before the data updated). Concerning the ATR, I don't know how to retrieve-it from the SE.
The ATR is done at each power up of the javacard (the card sends an ATR), now if I understood correctly the SE is power up each time is near a NFC reader or when a middet (using API JSR-257) is communicating with-it. So in the other times the SE is power off. Is that correct?
The SE power up depend on the setting also. Let say we set it to "Always Active". It is now power up at all times even if the phone is in a off state, you are still able to communicate with the phone, but once the battery went dry, the card is now dead.
Thanks, I will also check on the handset settings to see what is best for our demo.
Phoenix I understood what you said on your previous replies. No confusions for me.
Thanks & Regards,
=) No problem phoenix..
It is just a exchange of experience..