Coder Social home page Coder Social logo

nur_sample_windows's Issues

Missing LICENSE

Hi folks,

Please could you add a LICENSE so that we know what the re-use criteria are on this code? I myself would prefer a permissive open license such as MIT if possible.

Many thanks,
Ste

Transport not connected error if you wait 1 min between inventory runs

I am using an EXA51 and the NurApiSampleMvvm app.

To reproduce the bug:

  • Connect to a reader
  • Start inventory streaming
  • Scan a few items
  • Stop inventory streaming
  • Wait at least 60 seconds
  • Start a new inventory streaming

When I do this, the reader disconnects, plays its 'error' sound, and I get an error message on the screen:

transport-error

I have written my own app which is similar to the sample and it also exhibits this problem, and I was able to capture all of the LogEvents from the reader.

Api_LogEvent message:<E>NurApiXchPacketLock() cmd 0x22; error: 4098 (0x1002) (Transport not connected)
Api_LogEvent message:<E>SetModuleSetupLock() error: 4098 (0x1002) (Transport not connected)
Api_LogEvent message:<E>NurBootSetup() error: 4098 (0x1002) (Transport not connected)
Api_LogEvent message:<E>NurApiXchPacketLock() Transport not connected: 4098
Api_LogEvent message:<E>NurApiGetVersions() error: 4098 (0x1002) (Transport not connected)
Api_LogEvent message:<E>NurApiGetMode() error: 4098 (0x1002) (Transport not connected)
Api_LogEvent message:<E>NurApiGetDeviceCaps() error: 4098 (0x1002) (Transport not connected)
Api_LogEvent message:<E>NurApiGetReaderInfo() error: 4098 (0x1002) (Transport not connected)
Disconnected!!

Please note that after the 60 seconds timeout, I am still able to use other features of the reader including the barcode scanner. It is just inventory and streaming inventory which cause it to disconnect and throw the error.

Do we need to manually re-connect to the reader before doing an inventory stream if the device has reached some "timeout" period?

Thanks and regards
Ste

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.