Smart Card communication protocol

Skip to first unread message

Mar 30, 2014, 8:29:44 AM3/30/14
Dear all,

I'm trying to understand the communication for sending APDU command response pair.
Could anyone please explain in a ,simple way, how does it work?
(lets start with T0 protocol).

What are the differences between APDU and TPDU?

If for example, the command header, which is CLA, INS, P1, P2, and , P3=0x20
32 bytes data), how does a card "konw" whether the 5th byte of a command is Lc, or Le?
How does it "know" not to expest any command data, or, that the reader is expecting data in the response?

Another thing, when does the procedure byte participate in the scenario?
Is it procedure byte? or, procedure bytes?
Is it mandatory for the card to send procedure byte?

Many thanks and appreciation for who ever shad some light here.


Reply all
Reply to author
0 new messages