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?
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:
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