______________________________________________________________
Od: "Harald Welte" laforge@gnumonks.org Komu: Tom Schouten tom@zwizwa.be Datum: 10.07.2013 18:13 Předmět: Re: SIMtrace MITM/emulator
So my next-best idea was then:
- use the CCID reference example from atmel for the card-reader part,
this way standard opensc/openct/pcsc-lite drivers can handle the card reader like any other card reader
- encapsulate the phone-facing part in the PC_to_RDR_Escape /
RDR_to_PC_Escape messages of the CCID protocol
Another way could be to encapsulate the phone-facing part commands in APDU commands with CLA value '0xFF' (which is forbidden by ISO-7816) and interpret them in the reader code. Some readers use this trick for similar purposes (i.e. Application <-> Reader communication).
Best regards VLP