freshollie / UsbGps4Droid

USB GPS Provider for android :artificial_satellite:. A maintained fork of hvb/USBGps4Droid
GNU General Public License v3.0
82 stars 34 forks source link

device open not working #33

Open ce-4 opened 3 years ago

ce-4 commented 3 years ago

I have an older MTK based usb/bt receiver (outputs nmea) that uses the CDC-ACM driver. When I open it via this app, nothing happens.

However, when I first open the device once via https://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal (which shows nmea messages coming in correctly) and then close serial-usb-terminal app and reopen it in usbgps then all works fine and gps location is made available as expected. Once I disconnect the usb and reconnect I have to redo this procedure.

Any hints what could be missing in the initialization phase - or how I could assist debugging?

freshollie commented 3 years ago

Hey! I've had a look, and this app would probably need a large amount of refactoring in order fix this.

The app you reference uses this library, which probably provides support for more boards. I've used this library before, but it would probably be a large amount of work to update this app to use it.

I currently don't have a device which I can use to develop this, or the free time to make such a large change :(

ce-4 commented 3 years ago

No worries, i just resolved my issue and bought a supported ublox usb receiver for cheap. Works fine with the new one.