OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] "Reader name too long" + suggested workaround

From: Ludovic Rousseau (ludovic.rousseaugmail.com)
Date: Mon Jun 25 2012 - 08:40:16 CDT


2012/6/19 Frank Marien <frankapsu.be>:
> On 06/19/12 14:09, Ludovic Rousseau wrote:

>> The reader names are now (since version 1.4.6 of the driver) generated
>> from the iManufacturer and iProduct strings from the USB descriptor.
>> And I forgot about the string size limitation to 100 characters.
> Yeah it has a very "legacy" feel to it, that #define :-)

In revision 6354 I introduced a truncation mechanism. Instead of
rejecting the reader the name is truncated.
Using a variable length reader name has impacts on the client/server
communication protocol so is not as easy as planed.

In revision 6355 I increased MAX_READERNAME from 100 to 128 to avoid
some reader name truncation. It is not perfect but your reader name
should not suffer the truncation.

Problem solved.
I should release a new version of pcsc-lite soon.

Bye

--
 Dr. Ludovic Rousseau

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle