Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Tue Aug 07 2012 - 06:29:20 CDT
2012/8/7 Raghavendhra Chowdary MV <raghavendhra.chowdarygeodesic.com>:
> I am using PN512 contactless reader chip integrated on my device and wrote
> our own IFD handler driver for that in which we are using serial
> communication which is happenning in the IFD Handler level. As the continous
> polling of IFDICCPresence() which will do serial communication continuously
> until the pcscd is killed hence looking for reduction in polling or almost
> stopping the polling during the idle time.
The best solution is to modify your driver to add support of
pcscd will use a callback function in the driver. The driver will
return only after the timeout has expired or a card event occurred.
The other solution is to change the value of PCSCLITE_STATUS_POLL_RATE
The default value is 400ms.
If you increase the delay to 1 minute you will not be notified a new
card is present "immediately" but after 30 seconds on average. It is a
Dr. Ludovic Rousseau
Muscle mailing list