I have been trying to lock the first 15 pages to avoid any write operation.
The commands that I have tried to use are listed below:
note: [0x00, 0x00, 0xFF, 0xFF]
is a byte array
CommandAPDU(0xFF, 0xD6, 0, 2, [0x00, 0x00, 0xFF, 0xFF]) or CommandAPDU(0xFF, 0xD6, 0, 3, [0x00, 0x00, 0xFF, 0xFF])
I'm always getting 90 00
so it seems to be doing something although I'm still able to write.
After that I read something related with COMPATIBILITY_WRITE that should be using A0
so I have tried to reformulate my command using this and I'm always getting 67 00
or 6B 00
.
(0xFF, 0xA0, 0, 2, [0x00, 0x00, 0xFF, 0xFF])
I'm using Ultralight C with Omnikey5X21.
Am I doing something wrong?