I'm trying to read both TID and EPC tag data using the MC3330R and the RFID3 SDK. I've encountered problems:
1. Is there a way to specify the memory bank to be read? There seems to be a "com.zebra.rfid.api3.MEMORY_BANK" class, but I can't see it used anywhere as a parameter.
2. TagData has a getMemoryBankData() method which returns a java.lang.String. I would have expected a byte[] array not a String. Does the library do any EPC decoding? If not, the binary tag contents will in general not form a proper UTF-8 String. It's a binary blob and should be returned as a byte array.
Help would be very much appreciated.
--J.
Hi Jan,
Have you taken a look at the ZEBRA 123RFID MOBILE demo application that comes with sample code? https://www.zebra.com/us/en/support-downloads/software/demo/123rfid-mobi.... I believe a lot of your questions will be answered here?
Thanks,
Tim
Points: 1
You voted ‘up’
Indeed — I had no idea the source code for that app is available, I only looked at the various RFID code samples on GitHub. Lots of good material there.
I am somewhat lost in all the materials, and the maze of libraries, many of which turn out to be deprecated.
However, I still do not understand how tag data can be returned as a String instead of a byte array.
Points: 0
You voted ‘up’
Answering myself — the data is returned as a String that contains a (little-endian) hex representation of the contents.
Points: 0
You voted ‘up’