Update Record command return 6D 00
Posted: Tue Dec 29, 2015 7:06 pm
I'm writing a smart card program for ISO 7816 Cards which I need to update a record. I write the program with JAVA and javax.smartcardio Library.
I select the file with this command: and I enter the name of file in data field.
I can read record with this command:
Read record works correct and send me 90 00. Now I need to update this record. So I use this command: , and some data.
But in response APDU I get 6D 00 Error which means "Ins Value not supported".
How can I update records correctly?
I select the file with this command:
Code: Select all
cla = 0x00 , ins = 0xA4 , p1 = 0x00 , p2 = 0x00
I can read record with this command:
Code: Select all
cla = 0x80 , ins = 0xB2 , p1 = 0x00 , p2 = 0x00 , le = 90
Read record works correct and send me 90 00. Now I need to update this record. So I use this command:
Code: Select all
cla = 0x80 , ins = 0xDC , p1 = 0x00 , p2 = 0x00
But in response APDU I get 6D 00 Error which means "Ins Value not supported".
How can I update records correctly?