This seems to have been just an incorrect warning message in LTKJava. I just committed a bug fix to cvs and tested LTKJava with the sample message in the email.
Paolo, thanks for reporting the bug. Can just try it yourself with the revised version to confirm that the bug fix resolved your issue? Thanks, Christian Paul Dietrich wrote: > 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 > ------------------------------------------------------------------------- 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
