First of all thank you for this great library, It helped me a lot and I would
like to give some feedbacks to help other users!
I want to point out some little problems I encountered compiling from sources
the library and using it with Impinj (I used R640 and R420 devices in my test).
I’ve compiled LTKJava checking out the sources from HEAD/trunk. Then I
replaced the “official lib” (ltkjava-1.0.0.6) used in one of my project with
the one just compiled but I encountered some problems.
1 – First problem
I tried the code but soon after the LLRPConnector.connect() method is called an
error ( org.llrp.ltk.exceptions.InvalidLLRPMessageException ) was reported in
errorOccured method.
I captured the network traffic with wireshark and decoded it via
http://www.llrp.org/tools/decode.html. Everything seemed ok, the error occurred
in the lib.
After a lot of tries I replaced the files in Definitions\Core\ with files
tagged ltkjava_1_0_0_5.
i.e. I replaced llrp-1x0.xsd version 1.8 with version 1.7 and llrp-1x0-def.xml
version 1.12 with version 1.11
I repeated the test and the problems was fixed.
It seems that the last commits of llrp-1x0.xsd and llrp-1x0-def.xml broke the
java version of the toolkit.
2 – Second problem
The readme file says to use log4j version 1.2.15 but build.xml wants version
1.2.14.
Which is the right one?
Anyway I used the 1.2.14 version successfully.
3 – Third problem
This problem is related to Impinj extension only.
I added the Impinj.xsd and Impinjdef.xml files in Definitions directory before
compiling to allow custom extensions to be available.
When I try to use the custom message IMPINJ_ENABLE_EXTENSIONS the library
report an error (java.lang.NoClassDefFoundError) in errorOccured method.
To fix this I added the line “<zipfileset src="lib/xerces.jar" />” in
“jarWithDep” rule of the build.xml.
That’s all folks. Thank you again for your great work!
Luca
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel