soheyla abbbb
soheyla abbbb

Reputation: 9

Why I receive `6C0B` instead of data that I expected?

I now have a Hello World project according this link and I made its .cap

file successfully. I have "DE-ABCM_TB" reader and a SAM card also.

My applet AID is 01 02 03 04 05 06 07 08 09 00 00

I could select my applet on the card.( I sent SELECT APDU command via "DualCard

Ver 2.8"/ pcsc tab) . I now must be receive hello in hex format when I send

8000000000. But i receive 6C0B ! Why did I get this response and

how can I resolve this ? I searched but no solving found.

Upvotes: 0

Views: 158

Answers (1)

Ebrahim Ghasemi
Ebrahim Ghasemi

Reputation: 6116

You didn't searched good enough!

If you do a quick look at status words table you will see SW1=6CXX means Wrong Le field; SW2 encodes the exact number of available data bytes

So you must send the below command:

80|00|00|00|0B!

Table of Status Words :

enter image description here

Upvotes: 3

Related Questions