Hi,
I used your llrp toolkit for java in my latest rfid project. I am thankful to 
you because it gave me a great help.
But I found an issue when I used LLRPConnector to receive llrp message from 
reader.
Sometimes the llrp message from reader could not be processed until the next 
llrp message comes.
I checked your source about org.llro.ltk.net carefully and found the problem 
may be here:
At line 65 in LLRPBinaryDecoder.java:

              // if the entire message is already available, call doDecode 
again.
              return (in.remaining()==length-6);

If the count of messages is more than one, the statement above will return 
false, so the received message will not be processed. When the next llrp 
messages come, they will be processed together with the last messages in "if 
(session.getAttribute(MESSAGE_LENGTH_KEY) != null)" condition branch.
I think the correct statement may be like this:
return (in.remaining()>=length-6);


Regards,
Li


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to