mario4 / fosstrak

Automatically exported from code.google.com/p/fosstrak
0 stars 1 forks source link

epc filter doesn't work anymore #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I added a filterSpec to filter on epc tags to filter on company prefix but it 
doesn't work. No tag was reported in the EcReports!

It seems that the pure identity format is used to set the "TagIDAsPureURI" in 
the objet "Tag" in LLRPAdaptor.java.
It leads to use a tag with format "urn:epc:id:sgtin" while the pattern used in 
the filterSpec is "urn:epc:pat:sgtin-96".
So you must use the method "convert_to_TAG_ENCODING" instead of 
"convert_to_PURE_IDENTITY" to set the tag ID.

Regards.

Original issue reported on code.google.com by aurelie....@gmail.com on 19 Feb 2014 at 3:40