LLRP Simulator Digital IO Bug

Discuss Virtual Reader implementations

Moderators: Matt, kyle, Moderators

Post Reply
chowi
Posts: 4
Joined: Tue Nov 15, 2011 6:18 am
Organization: rf-it-solutions

LLRP Simulator Digital IO Bug

Post by chowi » Tue Nov 15, 2011 6:42 am

The emulated reader returns an internal error when it has 2 digital inputs and 4 digital outputs and the client requests the reader's configuration
(there are more configurations where this happens but I didn't recognize any pattern):

request: 04 02 00 00 00 11 00 00 00 0D 00 00 00 00 00 00 00)
XML:
<Message type="GetReaderConfig">
<AntennaID value="0"/>
<RequestedData value="0"/>
<GPIPortNum value="0"/>
<GPOPortNum value="0"/>
</Message>

response: BYTES (size: 78):
04 64 00 00 00 4E 00 00 00 00 01 1F 00 44 00 64 00 3C 49 6E 74 65 72 6E 61 6C 20 65 72 72 6F 72 20 69 6E 20 52 69 66 69 64 69 20 77 68 65 6E 20 70 72 6F 63 65 73 73 69 6E 67 20 61 20 6D 65 73 73 61 67 65 20 6F 66 20 74 79 70 65 20 32
XML:
<Message type="ErrorMessage">
<LLRPStatus>
<ErrorCode value="100"/>
<ErrorDescription value="Internal error in Rifidi when processing a message of type 2"/>
</LLRPStatus>
</Message>

chowi
Posts: 4
Joined: Tue Nov 15, 2011 6:18 am
Organization: rf-it-solutions

LLRP Simulator Digital IO Bug #2

Post by chowi » Tue Nov 15, 2011 6:55 am

The reader accumulates its digital inputs and outputs when the reader capabilities are requested.
For example, a reader with 2 inputs and 3 outputs reports 4 inputs and 6 outputs within the first
GetReaderCapabilities request, in the next request it reports 6 intputs and 9 outputs and so on.
This also happens when the reader is stoppend and restarted.

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

Re: LLRP Simulator Digital IO Bug

Post by Matt » Tue Nov 15, 2011 4:57 pm

Hi chowi,

Nice catch on the IO problem there (and the other IO problem you caught as well). I don't see a workaround for the moment other than either disabling the IO ports entirely or using the IO ports but never calling the get configuration method...

-Matt

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests