Hi Everyone,
I am new to LLRP and have been able to use the LLRP LTK Perl to get an
Impinj Speedway reader to send all tags that it sees every 30 seconds using
the reader initiated connection. I am trying to learn more about LLRP and
how to take advantage of additional features it can offer.
Currently, I am having a hard time with trying to get the reader to report
changes only (Report if a tag switched antennas, new tag was seen, old tag
is no longer seen). I am finding there is too much redundant data by
reporting every tag every 30 seconds. I have a feeling this can be changed
somewhere in the ROSpec. but I am not sure? I would appreciate if someone
could help guide a newbie down the right path in accomplishing this.
Thanks,
John
Here is my current Reader XML Configuration:
<SET_READER_CONFIG MessageID="0">
<ResetToFactoryDefault>true</ResetToFactoryDefault>
<ReaderEventNotificationSpec>
<EventNotificationState>
<EventType>Upon_Hopping_To_Next_Channel</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>GPI_Event</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>ROSpec_Event</EventType>
<NotificationState>true</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>Report_Buffer_Fill_Warning</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>Reader_Exception_Event</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>AISpec_Event</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>AISpec_Event_With_Details</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
<EventNotificationState>
<EventType>Antenna_Event</EventType>
<NotificationState>false</NotificationState>
</EventNotificationState>
</ReaderEventNotificationSpec>
<AntennaConfiguration>
<AntennaID>0</AntennaID>
<C1G2InventoryCommand>
<TagInventoryStateAware>false</TagInventoryStateAware>
<C1G2RFControl>
<ModeIndex>0</ModeIndex>
<Tari>0</Tari>
</C1G2RFControl>
<C1G2SingulationControl>
<Session>1</Session>
<TagPopulation>300</TagPopulation>
<TagTransitTime>5000</TagTransitTime>
</C1G2SingulationControl>
</C1G2InventoryCommand>
</AntennaConfiguration>
</SET_READER_CONFIG>
ROSpec XML:
<ADD_ROSPEC MessageID="0">
<ROSpec>
<ROSpecID>[[_ $rid _]]</ROSpecID>
<Priority>0</Priority>
<CurrentState>Disabled</CurrentState>
<ROBoundarySpec>
<ROSpecStartTrigger>
<ROSpecStartTriggerType>Periodic</ROSpecStartTriggerType>
<PeriodicTriggerValue>
<Offset>500</Offset>
<Period>10000</Period>
</PeriodicTriggerValue>
</ROSpecStartTrigger>
<ROSpecStopTrigger>
<ROSpecStopTriggerType>Null</ROSpecStopTriggerType>
<DurationTriggerValue>0</DurationTriggerValue>
</ROSpecStopTrigger>
</ROBoundarySpec>
<AISpec>
<AntennaIDs>[[_ join (' ', @antennas) _]]</AntennaIDs>
<AISpecStopTrigger>
<AISpecStopTriggerType>Tag_Observation</AISpecStopTriggerType>
<DurationTrigger>0</DurationTrigger>
<TagObservationTrigger>
<TriggerType>N_Attempts_To_See_All_Tags_In_FOV_Or_Timeout</TriggerType>
<NumberOfTags>0</NumberOfTags>
<NumberOfAttempts>3</NumberOfAttempts>
<T>0</T>
<Timeout>10000</Timeout>
</TagObservationTrigger>
</AISpecStopTrigger>
<InventoryParameterSpec>
<InventoryParameterSpecID>1</InventoryParameterSpecID>
<ProtocolID>EPCGlobalClass1Gen2</ProtocolID>
</InventoryParameterSpec>
</AISpec>
<ROReportSpec>
<ROReportTrigger>Upon_N_Tags_Or_End_Of_AISpec</ROReportTrigger>
<N>0</N>
<TagReportContentSelector>
<EnableROSpecID>true</EnableROSpecID>
<EnableSpecIndex>false</EnableSpecIndex>
<EnableInventoryParameterSpecID>false</EnableInventoryParameterSpecID>
<EnableAntennaID>true</EnableAntennaID>
<EnableChannelIndex>false</EnableChannelIndex>
<EnablePeakRSSI>true</EnablePeakRSSI>
<EnableFirstSeenTimestamp>true</EnableFirstSeenTimestamp>
<EnableLastSeenTimestamp>true</EnableLastSeenTimestamp>
<EnableTagSeenCount>true</EnableTagSeenCount>
<EnableAccessSpecID>true</EnableAccessSpecID>
<C1G2EPCMemorySelector>
<EnableCRC>1</EnableCRC>
<EnablePCBits>1</EnablePCBits>
</C1G2EPCMemorySelector>
</TagReportContentSelector>
</ROReportSpec>
</ROSpec>
</ADD_ROSPEC>
<GET_READER_CONFIG MessageID="1">
<AntennaID>0</AntennaID>
<RequestedData>1</RequestedData>
<GPIPortNum>0</GPIPortNum>
<GPOPortNum>0</GPOPortNum>
</GET_READER_CONFIG>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel