Fabio,

I'm only a casual user of the LTKJava, but this would explain a behavior I saw 
using the twoBit field for Session where Session 2 was interpreted as 1.  At 
the time, I just switched to session 3 (which would work fine given your 
explanation below). 

Regards,

Paul


-----Original Message-----
From: Fabio Bondioli [mailto:[email protected]] 
Sent: Tuesday, January 05, 2010 6:58 AM
To: [email protected]
Subject: [ltk-d] Bug in TwoBitField Java class?

Hi,
I'm new to this list and I wrote because I found an annoiyng behaviour 
with the java toolkit.

When creating AccessSpec, it seems that the TwoBitField Class used to 
parse the MB parameter for C1G2TargetTag, C1G2Write, C1G2Read, ecc is 
wrong in regarding the bit order.

Specifyng a MB value of "2" refers to the EPC bank while an MB value of 
"1" refers to the "TID" bank but it's supposed to be the exact opposite.
The "bug" appears both creating objects from java code and from xml code.
This bug appears also when using the fosstrak llrp commander plugin.

All the example I found on Internet (no one in java but the xml should 
be the same, no?) use "1" as MB parameter for EPC bank and "2" for TID bank.

So it's this really a bug or I've missed somethig?

Thanks for any reply

Best Regards
Fabio


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to