Closed mvaljento closed 3 years ago
This was not a bug. Another process was consuming the messages.
Have you solved this problem? I had the same problem, sending a 96 bytes message to the board using the writeHex method, However , i can not receive "registerReadCallback: true" from registerReadCallback. But other bytes can
I'm using cordovarduino 0.0.10 with Ionic 5 along with @ionic-native/serial 5.30.0. I'm connecting to a FTDI device through USB on PWA running Android 8. I also tested on Android 10.
I'm managing to establish a connection and receive "registerReadCallback: true" from registerReadCallback. However, after that I receive no data in the callback even though the device should be sending serial data. I tested that it's sending data with a serial terminal app.
Changing dtr and rts attributes made no difference. Baudrate and other settings are correct since I took them from the terminal app and the connection is established.
Calling serial.read at any time results in an empty ArrayBuffer.