Errors in emulator

Discuss Virtual Reader implementations

Moderators: Matt, kyle, Moderators

Post Reply
jake
Posts: 1
Joined: Mon Jul 29, 2013 10:07 pm

Errors in emulator

Post by jake » Mon Jul 29, 2013 10:27 pm

I am trying to evaluate RFID client software by having it read from the emulator. The client sees the reader and communicates with it. I can see log entries in the emulator. It errors with all this code and I don't know what the errors mean. I would appreciate any help. It ends with error enabling ROSPEC ID 140.
<ErrorCode value="0"/>
<ErrorDescription value="Success"/>
</LLRPStatus>
<Identification>
<IDType value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
</Identification>
<AntennaProperties>
<AntennaConnected value="true"/>
<AntennaId value="1"/>
<AntennaGain value="0"/>
</AntennaProperties>
<AntennaConfiguration>
<AntennaId value="1"/>
<RFReceiver>
<ReceiverSensitivity value="0"/>
</RFReceiver>
<RFTransmitter>
<HopTableId value="0"/>
<ChannelIndex value="0"/>
<TransmitPower value="0"/>
</RFTransmitter>
</AntennaConfiguration>
<ReaderEventNotificationSpec>
<EventNotificationState>
<EventType value="0"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="1"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="2"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="3"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="4"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="5"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="6"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="7"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="8"/>
<NotificationState value="false"/>
</EventNotificationState>
</ReaderEventNotificationSpec>
<ROReportSpec>
<ROReportTrigger value="0"/>
<N value="0"/>
<TagReportContentSelector>
<EnableROSpecID value="false"/>
<EnableSpecIndex value="false"/>
<EnableInventoryParameterSpecID value="false"/>
<EnableAntennaID value="false"/>
<EnableChannelIndex value="false"/>
<EnablePeakRSSI value="false"/>
<EnableFirstSeenTimestamp value="false"/>
<EnableLastSeenTimestamp value="false"/>
<EnableTagSeenCount value="false"/>
<EnableAccessSpecID value="false"/>
<C1G2EPCMemorySelector>
<EnableCRC value="false"/>
<EnablePCBits value="false"/>
</C1G2EPCMemorySelector>
</TagReportContentSelector>
</ROReportSpec>
<AccessReportSpec>
<AccessReportTrigger value="0"/>
</AccessReportSpec>
<LLRPConfigurationStateValue>
<LLRPConfigurationStateValue value="0"/>
</LLRPConfigurationStateValue>
<KeepaliveSpec>
<KeepaliveTriggerType value="0"/>
<TimeInterval value="0"/>
</KeepaliveSpec>
<EventsAndReports>
<HoldEventsAndReportsUponReconnect value="false"/>
</EventsAndReports>
</Message>


BYTES (size: 11):
04 01 00 00 00 0B 00 00 00 3B 00
XML:
<Message type="GetReaderCapabilities">
<RequestedData value="0"/>
</Message>


BYTES (size: 188):
04 0B 00 00 00 BC 00 00 00 3B 01 1F 00 0F 00 00 00 07 53 75 63 63 65 73 73 00 89 00 39 00 01 00 00 00 00 00 00 00 00 00 00 00 0E 4C 4C 52 50 5F 52 65 61 64 65 72 31 2E 34 00 8B 00 08 00 00 00 00 00 8D 00 08 00 00 00 00 00 8C 00 09 00 01 00 01 01 00 8E 00 1C 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 8F 00 47 00 00 00 00 00 90 00 3F 00 91 00 08 00 00 00 00 00 92 00 0F 00 00 94 00 0A 00 01 00 00 00 00 01 48 00 24 01 49 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 47 00 07 00 00 00
XML:
<Message type="GetReaderCapabilitiesResponse">
<LLRPStatus>
<ErrorCode value="0"/>
<ErrorDescription value="Success"/>
</LLRPStatus>
<GeneralDeviceCapabilities>
<MaxNumberOfAntennaSupported value="1"/>
<CanSetAntennaProperties value="false"/>
<HasUTCClockCapability value="false"/>
<DeviceManufacturerName value="0"/>
<ModelName value="0"/>
<ReaderFirmwareVersion value="LLRP_Reader1.4"/>
<ReceiveSensitivityTableEntry>
<Index value="0"/>
<ReceiveSensitivityValue value="0"/>
</ReceiveSensitivityTableEntry>
<GPIOCapabilities>
<NumGPIs value="0"/>
<NumGPOs value="0"/>
</GPIOCapabilities>
<PerAntennaAirProtocol>
<AntennaID value="1"/>
<ProtocolElement value="1"/>
</PerAntennaAirProtocol>
</GeneralDeviceCapabilities>
<LLRPCapabilities>
<CanDoRFSurvey value="false"/>
<CanReportBufferFillWarning value="false"/>
<SupportsClientRequestOpSpec value="false"/>
<CanDoTagInventoryStateAwareSingulation value="false"/>
<SupportsEventAndReportHolding value="false"/>
<MaxPriorityLevelSupported value="0"/>
<ClientRequestOpSpecTimeout value="0"/>
<MaxNumROSpecs value="1"/>
<MaxNumSpecsPerROSpec value="1"/>
<MaxNumInventoryParameterSpecsPerAISpec value="0"/>
<MaxNumAccessSpecs value="0"/>
<MaxNumOpSpecsPerAccessSpec value="0"/>
</LLRPCapabilities>
<RegulatoryCapabilities>
<CountryCode value="0"/>
<CommunicationsStandard value="0"/>
<UHFBandCapabilities>
<TransmitPowerLevelTableEntry>
<Index value="0"/>
<TransmitPowerValue value="0"/>
</TransmitPowerLevelTableEntry>
<FrequencyInformation>
<Hopping value="false"/>
<FixedFrequencyTable>
<FrequencyElement value="0"/>
</FixedFrequencyTable>
</FrequencyInformation>
<UHFC1G2RFModeTable>
<UHFC1G2RFModeTableEntry>
<ModeID value="0"/>
<DRValue value="false"/>
<Conformance value="false"/>
<Mod value="0"/>
<FLM value="0"/>
<M value="0"/>
<BDRValue value="0"/>
<PIEValue value="0"/>
<MinTariValue value="0"/>
<MaxTariValue value="0"/>
<StepTariValue value="0"/>
</UHFC1G2RFModeTableEntry>
</UHFC1G2RFModeTable>
</UHFBandCapabilities>
</RegulatoryCapabilities>
<C1G2LLRPCapabilities>
<CanSupportBlockErase value="false"/>
<CanSupportBlockWrite value="false"/>
<MaxNumSelectFiltersPerQuery value="0"/>
</C1G2LLRPCapabilities>
</Message>


BYTES (size: 17):
04 02 00 00 00 11 00 00 00 3E 00 00 00 00 00 00 00
XML:
<Message type="GetReaderConfig">
<AntennaID value="0"/>
<RequestedData value="0"/>
<GPIPortNum value="0"/>
<GPOPortNum value="0"/>
</Message>

<ErrorCode value="0"/>
<ErrorDescription value="Success"/>
</LLRPStatus>
<Identification>
<IDType value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
<ReaderIDElement value="0"/>
</Identification>
<AntennaProperties>
<AntennaConnected value="true"/>
<AntennaId value="1"/>
<AntennaGain value="0"/>
</AntennaProperties>
<AntennaConfiguration>
<AntennaId value="1"/>
<RFReceiver>
<ReceiverSensitivity value="0"/>
</RFReceiver>
<RFTransmitter>
<HopTableId value="0"/>
<ChannelIndex value="0"/>
<TransmitPower value="0"/>
</RFTransmitter>
</AntennaConfiguration>
<ReaderEventNotificationSpec>
<EventNotificationState>
<EventType value="0"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="1"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="2"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="3"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="4"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="5"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="6"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="7"/>
<NotificationState value="false"/>
</EventNotificationState>
<EventNotificationState>
<EventType value="8"/>
<NotificationState value="false"/>
</EventNotificationState>
</ReaderEventNotificationSpec>
<ROReportSpec>
<ROReportTrigger value="0"/>
<N value="0"/>
<TagReportContentSelector>
<EnableROSpecID value="false"/>
<EnableSpecIndex value="false"/>
<EnableInventoryParameterSpecID value="false"/>
<EnableAntennaID value="false"/>
<EnableChannelIndex value="false"/>
<EnablePeakRSSI value="false"/>
<EnableFirstSeenTimestamp value="false"/>
<EnableLastSeenTimestamp value="false"/>
<EnableTagSeenCount value="false"/>
<EnableAccessSpecID value="false"/>
<C1G2EPCMemorySelector>
<EnableCRC value="false"/>
<EnablePCBits value="false"/>
</C1G2EPCMemorySelector>
</TagReportContentSelector>
</ROReportSpec>
<AccessReportSpec>
<AccessReportTrigger value="0"/>
</AccessReportSpec>
<LLRPConfigurationStateValue>
<LLRPConfigurationStateValue value="0"/>
</LLRPConfigurationStateValue>
<KeepaliveSpec>
<KeepaliveTriggerType value="0"/>
<TimeInterval value="0"/>
</KeepaliveSpec>
<EventsAndReports>
<HoldEventsAndReportsUponReconnect value="false"/>
</EventsAndReports>
</Message>


BYTES (size: 14):
04 15 00 00 00 0E 00 00 00 40 00 00 00 00
XML:
<Message type="DeleteROSpec">
<ROSpecID value="0"/>
</Message>


BYTES (size: 68):
04 1F 00 00 00 44 00 00 00 40 01 1F 00 3A 00 65 00 32 54 68 65 72 65 20 77 61 73 20 61 20 70 72 6F 62 6C 65 6D 20 77 68 65 6E 20 64 65 6C 65 74 69 6E 67 20 52 4F 53 70 65 63 20 77 69 74 68 20 49 44 20 30
XML:
<Message type="DeleteROSpecResponse">
<LLRPStatus>
<ErrorCode value="101"/>
<ErrorDescription value="There was a problem when deleting ROSpec with ID 0"/>
</LLRPStatus>
</Message>


BYTES (size: 81):
04 14 00 00 00 51 00 00 00 42 00 B1 00 47 00 00 00 8C 00 00 00 B2 00 12 00 B3 00 05 01 00 B6 00 09 00 00 00 00 00 00 B7 00 1E 00 01 00 01 00 B8 00 09 00 00 00 00 00 00 BA 00 0D 00 7B 01 00 DE 00 06 00 01 00 ED 00 0D 02 00 01 00 EE 00 06 14 00
XML:
<Message type="AddROSpec">
<ROSpec>
<ROSpecID value="140"/>
<Priority value="0"/>
<CurrentState value="0"/>
<ROBoundarySpec>
<ROSpecStartTrigger>
<ROSpecStartTriggerType value="1"/>
</ROSpecStartTrigger>
<ROSpecStopTrigger>
<ROSpecStopTriggerType value="0"/>
<DurationTriggerValue value="0"/>
</ROSpecStopTrigger>
</ROBoundarySpec>
<AISpec>
<AntennaElement value="1"/>
<AISpecStopTrigger>
<AISpecStopTriggerType value="0"/>
<DurationTrigger value="0"/>
</AISpecStopTrigger>
<InventoryParameterSpec>
<InventoryParameterSpecID value="123"/>
<ProtocolID value="1"/>
<AntennaConfiguration>
<AntennaId value="1"/>
</AntennaConfiguration>
</InventoryParameterSpec>
</AISpec>
<ROReportSpec>
<ROReportTrigger value="2"/>
<N value="1"/>
<TagReportContentSelector>
<EnableROSpecID value="false"/>
<EnableSpecIndex value="false"/>
<EnableInventoryParameterSpecID value="false"/>
<EnableAntennaID value="true"/>
<EnableChannelIndex value="false"/>
<EnablePeakRSSI value="true"/>
<EnableFirstSeenTimestamp value="false"/>
<EnableLastSeenTimestamp value="false"/>
<EnableTagSeenCount value="false"/>
<EnableAccessSpecID value="false"/>
</TagReportContentSelector>
</ROReportSpec>
</ROSpec>
</Message>


BYTES (size: 117):
04 1E 00 00 00 75 00 00 00 42 01 1F 00 6B 00 64 00 63 4D 61 6C 66 6F 72 6D 65 64 20 70 61 72 61 6D 65 74 65 72 3A 20 52 4F 52 65 70 6F 72 74 20 53 70 65 63 20 64 6F 65 73 20 6E 6F 74 20 68 61 76 65 20 61 6E 20 61 69 72 20 70 72 6F 74 6F 63 6F 6C 20 53 70 65 63 69 66 69 63 20 45 50 43 20 4D 65 6D 6F 72 79 20 53 65 6C 65 63 74 6F 72 20 70 61 72 61 6D
XML:
<Message type="AddROSpecResponse">
<LLRPStatus>
<ErrorCode value="100"/>
<ErrorDescription value="Malformed parameter: ROReport Spec does not have an air protocol Specific EPC Memory Selector param"/>
</LLRPStatus>
</Message>


BYTES (size: 14):
04 18 00 00 00 0E 00 00 00 45 00 00 00 8C
XML:
<Message type="EnableROSpec">
<ROSpecID value="140"/>
</Message>


BYTES (size: 70):
04 22 00 00 00 46 00 00 00 45 01 1F 00 3C 00 65 00 34 54 68 65 72 65 20 77 61 73 20 61 20 70 72 6F 62 6C 65 6D 20 77 68 65 6E 20 65 6E 61 62 6C 69 6E 67 20 52 4F 53 70 65 63 20 77 69 74 68 20 49 44 20 31 34 30
XML:
<Message type="EnableROSpecResponse">
<LLRPStatus>
<ErrorCode value="101"/>
<ErrorDescription value="There was a problem when enabling ROSpec with ID 140"/>
</LLRPStatus>
</Message>

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

Re: Errors in emulator

Post by Matt » Sun Aug 04, 2013 4:35 pm

Hi Jake,

The LLRP emulator isn't perfect. It is possible that you are attempting to send something that is legal via the LLRP spec, but the emulator will mishandle. This is your error:

Code: Select all

<Message type="AddROSpecResponse">
<LLRPStatus>
<ErrorCode value="100"/>
<ErrorDescription value="Malformed parameter: ROReport Spec does not have an air protocol Specific EPC Memory Selector param"/>
</LLRPStatus>
</Message>
What I'd recommend is switching to LLRP commander and trying to send your commands through that. It will let you know if there is an issue with that ADD_ROSpec.

-Matt

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests