Error Reader ThingMagic

All questions related to the usage of Rifidi Emulator

Moderators: Matt, kyle, Moderators

Post Reply
makecio
Posts: 6
Joined: Mon Jun 09, 2014 12:26 pm
Organization: Atmosfera

Error Reader ThingMagic

Post by makecio » Mon Jun 09, 2014 12:43 pm

Hello Guys, my name is Anderson and I am Brazilian. How are you?

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'
------Exception -----------

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

--------- LLRP Leitor -----------

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>
------Exception -----------

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
Last edited by makecio on Tue Jun 10, 2014 10:38 am, edited 1 time in total.

bppause
Posts: 434
Joined: Sat Oct 03, 2009 12:30 am
Organization: Pramari

Re: Error Reader ThingMagic

Post by bppause » Mon Jun 09, 2014 5:35 pm

In emulator are u using the ThingMagic adapter (which is native interface - prior to ThingMagic implementing LLRP) or LLRP adapter?

makecio
Posts: 6
Joined: Mon Jun 09, 2014 12:26 pm
Organization: Atmosfera

Re: Error Reader ThingMagic

Post by makecio » Tue Jun 10, 2014 7:18 am

Hello, bppause.

I 've already tried both, ThingMagic adapter and LLRP adapter.

Both the result is error.

bppause
Posts: 434
Joined: Sat Oct 03, 2009 12:30 am
Organization: Pramari

Re: Error Reader ThingMagic

Post by bppause » Tue Jun 10, 2014 8:36 am

What output do u see in emulator console when u use thingmsgic and llrp emulated reader

Also please send error for both scenarios from your client

just so it's clear for which client what message ur seeing on client and in emulator for both scenarios

makecio
Posts: 6
Joined: Mon Jun 09, 2014 12:26 pm
Organization: Atmosfera

Re: Error Reader ThingMagic

Post by makecio » Tue Jun 10, 2014 10:09 am

Ok. as you can see in the first post. There are both outputs from the Emulator and the Client.

---- RQL Leitor ---- // This is the error from Emulator configured with ThingMagic Adapter
---- Exception ----- // This is the error from the Client

------ LLRP Leitor ..... //This is the error from Emulator configured with LLRP Adapter
---- Exception ----- // This is the error from the Client

bppause
Posts: 434
Joined: Sat Oct 03, 2009 12:30 am
Organization: Pramari

Re: Error Reader ThingMagic

Post by bppause » Tue Jun 10, 2014 4:39 pm

Can u post a link to teh DEMO client from ThingMagic

I could have our engineering team take a look using this

makecio
Posts: 6
Joined: Mon Jun 09, 2014 12:26 pm
Organization: Atmosfera

Re: Error Reader ThingMagic

Post by makecio » Wed Jun 11, 2014 7:52 am

Yeah, of course.

follow below the link:

https://mega.co.nz/#!355VQSDC!McYFlnvGg ... _367fAKsRI

makecio
Posts: 6
Joined: Mon Jun 09, 2014 12:26 pm
Organization: Atmosfera

Re: Error Reader ThingMagic

Post by makecio » Fri Jun 13, 2014 10:25 am

Hello. How are you?

Have they figured out something?

Thanks

bppause
Posts: 434
Joined: Sat Oct 03, 2009 12:30 am
Organization: Pramari

Re: Error Reader ThingMagic

Post by bppause » Fri Jun 13, 2014 4:54 pm

Engineering has been informed .. being prioritized with project work..will ensure a response

makecio
Posts: 6
Joined: Mon Jun 09, 2014 12:26 pm
Organization: Atmosfera

Re: Error Reader ThingMagic

Post by makecio » Tue Jun 17, 2014 10:33 am

Ok, I will be waiting for some news.

Thank you very much

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests