<p dir="ltr"><br>
---------- Forwarded message ----------<br>
From: "William Roberts" <<a href="mailto:bill.c.roberts@gmail.com">bill.c.roberts@gmail.com</a>><br>
Date: Feb 23, 2015 6:51 PM<br>
Subject: IFD polling<br>
To: "OpenSC-devel" <<a href="mailto:opensc-devel@lists.sourceforge.net">opensc-devel@lists.sourceforge.net</a>><br>
Cc:</p>
<p dir="ltr">> I am working on an IFD, and it looks like it just polls the presence API. I have some logging turned on to trace the calls in my IFD, and I see:<br>
><br>
> 00000022 ifd_entry.c-IFDHICCPresence()-98: Exit: 616<br>
> 00400112 ifd_entry.c-IFDHICCPresence()-95: Enter: Lun: 0<br>
> 00000022 ifd_entry.c-IFDHICCPresence()-98: Exit: 616<br>
> 00400141 ifd_entry.c-IFDHICCPresence()-95: Enter: Lun: 0<br>
> 00000022 ifd_entry.c-IFDHICCPresence()-98: Exit: 616<br>
> 00400124 ifd_entry.c-IFDHICCPresence()-95: Enter: Lun: 0<br>
> 00000023 ifd_entry.c-IFDHICCPresence()-98: Exit: 616<br>
><br>
> This is less than ideal. Reading the docs <br>
> here: <a href="http://pcsclite.alioth.debian.org/api/group__IFDHandler.html#gabb9fe35a68fa080ce9397f0b830b1e7e">http://pcsclite.alioth.debian.org/api/group__IFDHandler.html#gabb9fe35a68fa080ce9397f0b830b1e7e</a><br>
><br>
> Shows the IFDHGetCapabilities() function. It mentions things about polling threads. I can essentally event trigger off of a card insert in my architecture, is their a way to minimize the polling and go to an event driven system?<br>
><br>
> -- <br>
> Respectfully,<br>
><br>
> William C Roberts<br>
><br>
</p>