问题
I'm sending below command to javacard but I'm getting this error
Env: android app running on galaxy s3 over nfc
6985 Conditions of use not satisfied
It would be nice if you let me know what would be cause of this error.
byte[] APDU_Command = new byte[]{
(byte)0x80,//CLA
(byte)0xD0,//INS
(byte)0x01,//P1
(byte)0x00,//P2
//Length
(byte)0x21,//Lc
//id
(byte)31,
(byte)32,
(byte)33,
(byte)34,
//number
(byte)33,
(byte)35,
(byte)31,
(byte)36,
(byte)39,
(byte)38,
(byte)30,
(byte)35,
(byte)37,
(byte)37,
(byte)34,
(byte)30,
(byte)31,
(byte)37,
(byte)33,
//Name
(byte)50,
(byte)72,
(byte)65,
(byte)76,
(byte)61,
(byte)73,
(byte)54,
(byte)65,
(byte)73,
(byte)74,
(byte)43,
(byte)61,
(byte)72,
(byte)64
};
Thanks in advance,
来源:https://stackoverflow.com/questions/14977039/6985-conditions-of-use-not-satisfied-while-sending-apdu-command-to-javacard