I am new here and this is my first topic so sorry if i write something against the rules or something like that.
I would like to congratulate this project, it's really a great help for all the RFID developers.
Lets start...
I am developing a RFID software and i have found the RIFIFI Emulator. I really like it and i am sure it will help me a lot with my tests here.
I am trying to make a connection between DEMO (from ThingMagic SDK) and the Reader Virtual from the Rifidi Emulator.
But... I have been experiencing some problems and i need a little help.
When i try to connect , THINGMAGIC RQL ou LLRP . Follow below the errors from the Rifidi EMulator and from Visual Studio.
--------- RQL Leitor -----------
Code: Select all
Instantiated ThingMagic Reader with name: Leitor
Leitor IP Address: 127.0.0.1:2500
Leitor has 1 antennas
Leitor on
SET AUTO=OFF;
RESET;
SELECT rql_version FROM firmware;
Error 0100: syntax error at 'RESET;'
Error 0100: syntax error at 'SELECT'
Code: Select all
ThingMagic.ReaderException: Error 0100: syntax error at 'RESET;'
em ThingMagic.RqlReader.ReceiveBatch(Int32 cmdTimeout, Boolean permitEmptyRes
ponse) na c:\cygwin\home\buildmaster\swTreeM4\tm\modules\mercuryapi\cs\ThingMagi
c.Reader\RqlReader.cs:linha 2055
em ThingMagic.RqlReader.FullyResetRql() na c:\cygwin\home\buildmaster\swTreeM
4\tm\modules\mercuryapi\cs\ThingMagic.Reader\RqlReader.cs:linha 1053
em ThingMagic.RqlReader.Connect() na c:\cygwin\home\buildmaster\swTreeM4\tm\m
odules\mercuryapi\cs\ThingMagic.Reader\RqlReader.cs:linha 909
em SampleConsoleApplication.Program.Main(String[] args) na c:\cygwin\home\bui
ldmaster\swTreeM4\tm\modules\mercuryapi\cs\Samples\Demo\Program.cs:linha 137
Code: Select all
Instantiated LLRPReader with name: Leitor
Leitor has 1 antennas
Leitor has 4 GPI Ports and 4 GPO Ports
++ ServerMode initialized ++
Leitor ConnectionParameter 127.0.0.1:5084
LLRPReader administration interface running on port: 10101.
Please set communication mode in administration interface.
Leitor on
BYTES (size: 32):
04 3F 00 00 00 20 00 00 00 00 00 F6 00 16 00 80 00 0C 00 04 FB 69 D6 79 57 A8 01 00 00 06 00 00
XML:
<Message type="ReaderEventNotification">
<ReaderEventNotificationData>
<UTCTimestamp>
<Microseconds value="1402331895257000"/>
</UTCTimestamp>
<ConnectionAttemptEvent>
<Status value="0"/>
</ConnectionAttemptEvent>
</ReaderEventNotificationData>
</Message>
BYTES (size: 16):
04 03 00 00 00 10 00 00 00 0B 00 00 E2 00 05 80
XML:
<Message type="SetReaderConfig">
<ResetToFactoryDefaults value="false"/>
<EventsAndReports>
<HoldEventsAndReportsUponReconnect value="true"/>
</EventsAndReports>
</Message>
BYTES (size: 24):
04 0D 00 00 00 18 00 00 00 0B 01 1F 00 0E 00 00 00 06 53 75 63 65 73 73
XML:
<Message type="SetReaderConfigResponse">
<LLRPStatus>
<ErrorCode value="0"/>
<ErrorDescription value="Sucess"/>
</LLRPStatus>
</Message>
BYTES (size: 10):
04 1A 00 00 00 0A 00 00 00 0D
XML:
<Message type="GetROSpecs">
</Message>
BYTES (size: 24):
04 24 00 00 00 18 00 00 00 0D 01 1F 00 0E 00 00 00 06 73 75 63 65 73 73
XML:
<Message type="GetROSpecsResponse">
<LLRPStatus>
<ErrorCode value="0"/>
<ErrorDescription value="sucess"/>
</LLRPStatus>
</Message>
BYTES (size: 17):
04 02 00 00 00 11 00 00 00 0F 00 00 02 00 00 00 00
XML:
<Message type="GetReaderConfig">
<AntennaID value="0"/>
<RequestedData value="2"/>
<GPIPortNum value="0"/>
<GPOPortNum value="0"/>
</Message>
BYTES (size: 34):
04 0C 00 00 00 22 00 00 00 0F 01 1F 00 0F 00 00 00 07 53 75 63 63 65 73 73 00 DD 00 09 80 00 01 00 00
XML:
<Message type="GetReaderConfigResponse">
<LLRPStatus>
<ErrorCode value="0"/>
<ErrorDescription value="Success"/>
</LLRPStatus>
<AntennaProperties>
<AntennaConnected value="true"/>
<AntennaId value="1"/>
<AntennaGain value="0"/>
</AntennaProperties>
</Message>
BYTES (size: 11):
04 01 00 00 00 0B 00 00 00 11 00
XML:
<Message type="GetReaderCapabilities">
<RequestedData value="0"/>
</Message>
BYTES (size: 188):
04 0B 00 00 00 BC 00 00 00 11 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 04 00 04 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="4"/>
<NumGPOs value="4"/>
</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>
Code: Select all
ThingMagic.ReaderException: Referência de objeto não definida para uma instância
de um objeto.
em ThingMagic.LlrpReader.Connect() na c:\cygwin\home\buildmaster\swTreeM4\tm\
modules\mercuryapi\cs\ThingMagic.Reader\LlrpReader.cs:linha 260
em SampleConsoleApplication.Program.Main(String[] args) na c:\cygwin\home\bui
ldmaster\swTreeM4\tm\modules\mercuryapi\cs\Samples\Demo\Program.cs:linha 137