opensubscriber
   Find in this group all groups
 
Unknown more information…

m : muscle@lists.musclecard.com 25 June 2012 • 9:40PM -0400

Re: [Muscle] "Reader name too long" + suggested workaround
by Ludovic Rousseau

REPLY TO AUTHOR
 
REPLY TO GROUP




2012/6/19 Frank Marien <frank@apsu...>:
> 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
Muscle@list...
http://lists.drizzle.com/mailman/listinfo/muscle

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.