On Wed, 2011-05-11 at 14:12 +0200, osmocom@ngolde.de wrote:
Hi,
- Gianni Tedesco gianni@scaramanga.co.uk [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.
If you can get the command-line configuration of this working then I could always resubmit my patch on top of it as a "naked-protocol" option for the SAP module or something like that?
Gianni