[Pcsclite-muscle] Looking/developing magstripe API

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Sun May 8 23:00:41 UTC 2016


Hello,

2016-05-08 14:11 GMT+03:00 David Corcoran <corcordt at me.com>:
> Hello,
>
> I've seen hybrid readers in the past implement a custom SCardControl
> sequence that would allow manipulation of the mag stripe interface.  I'm not
> sure if anything was ever standardized though.
> At least in that manner you can still operate within the context of the
> resource manager and enjoy the transaction features as well.
>
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa379474(v=vs.85).aspx

Thanks for the pointer to SCardControl.

Related question: would it be a suitable design, if I implement a
swipe magstripe
reader driver as a simple IFDHandler, not supporting any real ICC functions,
with SCardConnect always returning e.g. SCARD_W_UNRESPONSIVE_CARD,
and just reporting insert event after stripe was read by hw and eject
event after
the app reads the stripe data from the driver (via proprietary
SCardControl call).
Does that sound tooo crazy?

>
> DC
>
> Sent from my iPhone
>
> On May 7, 2016, at 5:31 AM, Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
> wrote:
>
> Hello,
>
> I have been looking for the API to access MagStripe readers for quite
> some time. Are there any plans to add
> magstripe extension to the PC/SC (or proprietary extension to
> pcsc-lite)? It would be extremely useful to
> receive such data from hybrid (ICC + stripe) readers.



-- 
With best wishes
Dmitry



More information about the Pcsclite-muscle mailing list