Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: NUR API error 4097: Transport error #13

Open
MASP3000 opened this issue Nov 24, 2020 · 0 comments
Open

Error: NUR API error 4097: Transport error #13

MASP3000 opened this issue Nov 24, 2020 · 0 comments

Comments

@MASP3000
Copy link

MASP3000 commented Nov 24, 2020

Hi

I am trying to program a Capacitor Android Plugin to use RFID using HH83.

I receive the error "Error: NUR API error 4097: Transport error" when I run this code:

try {
          mNurApi.clearIdBuffer(); // <-- here is the error and it goes to the catch Exception
          mNurApi.startInventoryStream(); <-- if I comment the last line, then here is the error and it goes to the catch Exception
          mTriggerDown = true; //Flag to indicate inventory stream running
          mTagsAddedCounter = 0;
          Log.d(TAG, "Tags:" + String.valueOf(mTagsAddedCounter));
          Log.d(TAG, "Inventory streaming...");
          JSObject ret = new JSObject();
          ret.put("value", "ok");
          call.success(ret);

      }
      catch (Exception ex)
      {
          Log.d(TAG, ex.getMessage());
          call.reject(ex.getMessage());

      }

When I debug I can see that mNurApi was loaded. I updated the device's firmware.

What is wrong?

Is there a sample code to connect direct the integrated_reader without pass through startDeviceRequest?

Thank you

Miguel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant