Li,
Thank you very much for the bug report and the corresponding patch! We
committed your patch and the issue should be resolved in the latest version
of LTKJava available from cvs.
- Christian
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of li cuizhu
> Sent: Donnerstag, 5. Juni 2008 04:18
> To: [email protected]
> Subject: [ltk-d] an issue about org.llro.ltk.net in Java LTK
>
> 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
>
-------------------------------------------------------------------------
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