Hi,
Does anyone know how to get the unique id of the secure element from midlet when exchanging APDU command.
Like OmniKey can detected the name of the card upon contact via the diagonstic tool.
Hi,
Does anyone know how to get the unique id of the secure element from midlet when exchanging APDU command.
Like OmniKey can detected the name of the card upon contact via the diagonstic tool.
I am not sure about SE unique ID. But MIFARE 4K card emulated by the phone has a unique NFC ID (stored Block 0 Sector 0 Manufacturer Block).
Finalist, First European NFC Competition 2007
2nd Prize Research Track, NFC Forum Global Competition 2008
NFC Project Manager at the University of Nice Sophia-Antipolis, France
http://tdelazzari.blogspot.com
I just found it out,
You can get the UID of the Java Card by this apdu command,
FFCA000000
Hi lovercjs,
I tried to get the 'unique id of the secure element' from midlet by exchanging the APDU command "FFCA000000" in my Nokia 6131NFC phone as u have done.
I always getting response as "6E 00" , means 'CLA value not supported'.
The code segment i used is given below:
Is there any mistake in this code?Code:byte[] response; byte[] cmd; conn = (ISO14443Connection) Connector.open(System.getProperty("internal.se.url")); cmd = new byte[]{(byte)0xFF,(byte)0xCA,(byte)0x00,(byte)0x00,(byte)0x00}; response= conn.exchangeData(cmd);
Please tell me a solution.
Regards,
Sujith
Bump.
Anyone checked this? Is this the proper way to get the unique id of SE? Are there any other methods?