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

UBX support #21

Open Takumiboo opened 4 years ago

Takumiboo commented 4 years ago

Please implement UBX Binary support. Like kamabokoz's fork. (But it is not maintenanced and not working on Android 9.)

freshollie commented 4 years ago

I'll look into this, but as I don't have a device it's hard for me to test :/

Takumiboo commented 4 years ago

Shall I gift to you?

freshollie commented 4 years ago

@Takumiboo that's very kind of you, what is the device specifically which you can't get working? I can try integrating the code in the fork into my repo, if that's working before Android 9

Takumiboo commented 4 years ago

@freshollie I have NEO-M8U(https://store-drotek.com/874-DP0201.html) with Xperia XZ1(Japanese NTT Docomo version). I used kamaboko'z fork version, but it suddenly shut down when enable GPS.

freshollie commented 4 years ago

What does my version do when you run it?

Takumiboo commented 4 years ago

v2.2.0 works fine with Android 9 (but using NMEA). NMEA works fine but there is 2Hz limit with UDR(Untethered Dead Reckoning).

freshollie commented 4 years ago

Ok. I'd suggest I'm not likely to be getting around to this soon as it's not a priority for me, nor do I have the hardware so it's not very easy for me to develop.

I wouldn't want you to send me any hardware as it's relatively expensive and I couldn't guarantee I would ever complete the work.

For now, have you tried this? https://play.google.com/store/apps/details?id=com.droid.acenter

I would suggest getting in contact with the fork maintainer to see if they can fix for android 9. It's probably a relatively easy fix. If you have an error log from that I might even be able to fix the forked version and make a PR against it.

Takumiboo commented 4 years ago

OK, I'll contact fork mainteiner.

I tried "U-Droid Center for u-blox" but it didn't work properly on my device(UBX hex messages was shown but location wasn't).