Page 1 of 1

Tag decoding

Posted: Tue Jul 21, 2015 1:49 pm
by ricardoconnection
Hi all,

I'm trying to run a Convergence System reader CSL469 over CS203 adapter.
I can connect to it, start a session, but on any template application I setup, I get the tag with a wrong decode (I'm assuming that).
On tagArrived(TagReadEvent tag) I get:
TAG READ EVENT: tag:รข

On the console, the log from rifidi is ok:
ReaderIP:192.168.1.98|ID:E200200020000000155DCB33|Antenna:0|Timestamp:1437500761442|PC:3000|RSSI:66.4


I have already tryed to change the charset from UTF-8 to ISO8859-1, but without any success.

EdgeServer: 3.3 - stable
os: Ubuntu 15.04

Any ideas?

Thanks in advance if someone can give some advise.

Regards,

Re: Tag decoding

Posted: Tue Jul 21, 2015 3:41 pm
by ricardoconnection
I have changed the code on CslSocketSensorSessionTagHandler.parseTag(String message)
I don't know yet why it was being decoding with

Code: Select all

epc = new String(Hex.decodeHex(val.toCharArray()));
I have just changed to:

Code: Select all

epc = val 
to check what are the implications of that. So far so good.
I'll post here later if this works out.

Cheers,

Re: Tag decoding

Posted: Sun Nov 29, 2015 11:24 pm
by Matt
Hi ricardo,

Thanks for checking this out! Did that change work? I'm putting together the new version of Rifidi, and if it worked for you I'll put that change in. Unfortunately I don't have a CSL here to test with so I can't verify your fix there myself.

Thanks!
-Matt