Le samedi 30 avril 2011 à 12:26 +0200, Jean-Michel Pouré - GOOZE a
écrit :
> Sure, this is not a real patch, only a test. I will try to submit
> something more acceptable. But I encourage anyone to post a patch on
> the
> mailing list.
Dear all,
I see two directions, please comment:
1) Return ISO data rates when no rate is returned by reader.
If dwDataRate has a single single speed rate
dwDataRate= 10752 bps
and dwMaxDataRate > dwDataRate
then filter
#define ISO_DATA_RATES 10753, 14337, 15625, 17204, \
20833, 21505, 23438, 25806, 28674, \
31250, 32258, 34409, 39063, 41667, \
43011, 46875, 52083, 53763, 57348, \
62500, 64516, 68817, 71685, 78125, \
83333, 86022, 93750, 104167, 107527, \
114695, 125000, 129032, 143369, 156250, \
166667, 172043, 215054, 229391, 250000, \
344086
and return values <= to dwMaxDataRate
and add dwMaxDataRate which is obviously supported.
2) If the card speed < dwMaxDataRate
try to discuss with the card at card speed.
What do you think of these approaches?
Kind regards,
--
Jean-Michel Pouré - Gooze - http://www.gooze.eu
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle