Thingmagic® Api and Ura Frequently Asked Questions (Faqs)
Thingmagic® Api and Ura Frequently Asked Questions (Faqs)
How do I get a native library to handle the communication between the Java layer and the physical
UART port on our ARM platform?
The JNI/Serial libraries for ARM need to be built. See the makefile in [sdkinstall]\c\proj\jni it shows a
makefile for compiling the JNI library. The simplest thing to do is unzip the mercuryAPI.jar, rename
libSerialTransportNative.so.0 to linux-arm.lib and put it in the unzipped mercuryapi/com/thingmagic folder
with the new one. Then when you invoke an application, make sure it’s using /mercuryapi in the classpath
instead of /mercuryapi.jar.
If you would like to run the codelet from terminal, you would be needing the ltkjava-1.0.0.6 and
mercuryapi.jar (available at location <mercuryapi>\java). Place the ltkjava-1.0.0.6, mercuryapi.jar and the
required modified codelet(readasync.java) in a folder and then perform the below steps from that folder
location.
Is there a method to implement kill command in URA? If no, what is the process to use kill
command?
We support the Kill command in Mercury API, but not in Universal Reader Assistant. “Kill” works like any
other TagOp method, but we should use “Gen2.kill” instead of one of the other methods, such as for
reading or writing data memory. Please note that the tag has a special Kill Password, which must be non-
zero to kill a tag.
Is there an option to provide a Filter Data (byte array) with zero length in URA?
We do not have an option to provide a byte array with zero length in URA. Hence, Mercury API is
suggested.
ABOUT JADAK
JADAK, a business unit of Novanta, is a market leader in machine vision, RFID, barcode, printing, and color and light measurement products and services for
original equipment manufacturers. The company designs and manufactures embedded detection and analysis solutions that help customers solve unique
inspection, tracking, scanning and documenting challenges. The company is ISO 9001 and ISO 13485 registered.
Novanta is a trusted technology partner to OEMs in the medical and advanced industrial technology markets, with deep proprietary expertise in photonics, vision
and precision motion technologies.