I have read the ISO7816, 3GPP, and EMV datasheet, but I havn't understood how to identify if the communication is GSM or EMV or anything else.
The problem is that commands are different beetwin each protocol, but have sometimes the same INS (GSM FETCH : INS = 12 and basic ISO7816 PERFORM TRANSACTION OPERATION : INS = 12).
I need to know with previous commands like SELECT or READ BINARY, if the communication is etablished in GSM or EMV or something else.
Is it possible ? The CLA have something to do with that ?
ETSI 102 221 say FETCH : CLA = 80 ; INS = 12 ; ISO7816-7 say FETCH : INS = 10 ; P2 = 8A ;
I'm really confused, and I don't really understand.
Thanks for the help.
Tim