cordovarduino icon indicating copy to clipboard operation
cordovarduino copied to clipboard

Crashes the application on serial.open and no device found on request.permission

Open xacegod opened this issue 4 years ago • 1 comments

Application has stopped working error once I call the function to connect to serial. Was working 2 months ago, now it simply crashes. On request permission I get no device found, on any driver or any setting. I tried everything I could for past few days...

To Reproduce Please share the following:

  1. Version of cordovarduino (latest) / cordova 10.0.0
  2. No idea, it is fiscal printer, I use the plugin to send and receive hex values.
  3. I use tablet 5.0.1, tablet 8.0, Razor phone 2 9.0, Tesla smartphone 8.1, and some other devices.

Expected behavior Connect to device via usb and send/receive hex strings.

xacegod avatar Nov 18 '20 10:11 xacegod

Hi @xacegod, did you find any solution? I'm facing the same problem with an rfid reader device. I get permissions on request but then the app crashes.

EDIT: It turns out I was using the wrong driver. The CdcAcmSerialDriver crashed the whole app, while others simply gave error messages. FtdiSerialDriver was the one I'm now using.

mvaljento avatar Nov 23 '20 17:11 mvaljento