Does it also throw an Exception or only log a warning?
In any case it should only log an info, I just created the code after a CVS
update and as you can see from the following code snipped, it should only log
an info:
if (!found) {
LOGGER.info(
"AISpecEvent misses optional parameter of type
airProtocolSingulationDetails");
}
can you please make sure you have an up-to-date version and if the problem
remains send the source code that produces the error?
++ Basil
--
I think the notation repeat="0=1" says that it is optional. I did
confirm with the LLRP specification as well, which says this is
optional. I believe this is a bug in the Java LTK.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Paolo Simonazzi
Sent: Friday, September 05, 2008 2:51 AM
To: [EMAIL PROTECTED]
Subject: [ltk-d] Issue with AISpecEvent validation?
Hi,
I'm using the java LTK with the Impinj reader, compiled from the CVS
snapshot. The End_Of_AISpec events I receive always raise the following
warning:
0 [AnonymousIoService-14] WARN AISpecEvent - encoded message misses non
optional parameter airProtocolSingulationDetails
But according to the standard "the AirProtocolSingulationDetails MAY be
reported if it is supported by the Reader and EventType of 7 has been
enabled". And the EventType 7 (AISpec_Event_With_Details) is disabled in
my configuration. So I think the message from the reader is correct and
it
shouldn't be reported as a warning.
Actually, llrp-1x0-def.xml says:
<choice repeat="0-1" type="AirProtocolSingulationDetails"/>
So could the problem be in the code generator?
The message xml representation is:
<?xml version="1.0" encoding="UTF-8"?>
<llrp:READER_EVENT_NOTIFICATION
xmlns:llrp="http://www.llrp.org/ltk/schema/core/encoding/xml/1.0"
Version="1" MessageID="1881180835">
<llrp:ReaderEventNotificationData>
<llrp:UTCTimestamp>
<llrp:Microseconds>2008-09-05T10:28:22.943310+02:00</llrp:Microseconds>
</llrp:UTCTimestamp>
<llrp:AISpecEvent>
<llrp:EventType>End_Of_AISpec</llrp:EventType>
<llrp:ROSpecID>1</llrp:ROSpecID>
<llrp:SpecIndex>1</llrp:SpecIndex>
</llrp:AISpecEvent>
</llrp:ReaderEventNotificationData>
</llrp:READER_EVENT_NOTIFICATION>
Thanks
--
Paolo Simonazzi
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel