Hello everyone,
I need to install an application on Android 5.
This application communicates via serial port.
But the serial port only works if I remove the cable from the USB port and plug it back.
If I compile the App with autostart, the App will start, but the serial port will not work.
Does anyone know if you have any way to force the USB device to reboot without disconnecting from USB?
This application uses FT232-based serial port.
This app works well on a Tablet with Android 4.4.
I'm using an intent filter.
I found the command line 'modprobe -r' for Linux, but for Android I did not find it.
And the library is UsbSerial library 2.0
https://www.b4x.com/android/forum/threads/usbserial-library-2-0-supports-more-devices.28176/
I need to install an application on Android 5.
This application communicates via serial port.
But the serial port only works if I remove the cable from the USB port and plug it back.
If I compile the App with autostart, the App will start, but the serial port will not work.
Does anyone know if you have any way to force the USB device to reboot without disconnecting from USB?
This application uses FT232-based serial port.
This app works well on a Tablet with Android 4.4.
I'm using an intent filter.
I found the command line 'modprobe -r' for Linux, but for Android I did not find it.
And the library is UsbSerial library 2.0
https://www.b4x.com/android/forum/threads/usbserial-library-2-0-supports-more-devices.28176/