calypso SIM driver on c139 (also: l1ctl SIM APDU)

osmocom at osmocom at
Wed May 11 12:12:08 UTC 2011

* Gianni Tedesco <gianni at> [2011-05-11 13:49]:
> On Wed, 2011-05-11 at 01:12 +0100, Gianni Tedesco wrote:
> On Mon May 9 12:12:49 CEST 2011, Nico Golde wrote
> > If you wait a bit you will get code for the second 
> > suggestion. We currently have a working version that 
> > forwards the apdu to a local client transforming this into 
> > SAP and speaking with a SAP server that uses pcsc to talk to 
> > a SIM card in an external SIM reader. My goal though is to 
> > transform this into a complete SAP client in 
> > sap_interface.c, I will work on that now...
> Actually, how far have you got with this? Turns out I had the same idea
> as you except I was going to use a unix socket with no protocol (ie. no
> SAP) to just communicate with my ccid-utils driver to talk to the SIM.

That's what I did before but as sap_interface.c already 
existed and there is a sap server with pcsc in the softsim 
repository I wanted a real SAP client to use it directly. 
I've got a working prototype which needs some cleaning. I'll 
send a patch for this to the list in the next days.


More information about the baseband-devel mailing list