Tag decoding

Questions about using and running the Rifidi Edge Server

Moderators: Matt, kyle

Post Reply
ricardoconnection
Posts: 3
Joined: Fri May 15, 2015 2:16 am
Organization: Connection Ltda

Tag decoding

Post by ricardoconnection » Tue Jul 21, 2015 1:49 pm

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,

ricardoconnection
Posts: 3
Joined: Fri May 15, 2015 2:16 am
Organization: Connection Ltda

Re: Tag decoding

Post by ricardoconnection » Tue Jul 21, 2015 3:41 pm

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,

Matt
Posts: 362
Joined: Fri May 02, 2008 11:56 am
Organization: Pramari

Re: Tag decoding

Post by Matt » Sun Nov 29, 2015 11:24 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests