Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data from USB receiver to GPSTEST an WAZE #30

Open
fejohn1231 opened this issue Feb 14, 2021 · 11 comments
Open

No data from USB receiver to GPSTEST an WAZE #30

fejohn1231 opened this issue Feb 14, 2021 · 11 comments

Comments

@fejohn1231
Copy link

Dear Developer.

I have Rockchip PX5 car head unit with Android 9. The internal AT6558 GNSS version receives only the GPS and chianian satellities.
I have decided to applicate an VK-168 USB external reciver with your apk. Connecting the USB the receiver will be ttyACM0 and go well, I see the NMEA sentences. But into the android services no arrives anythig. The internal receiver is ttyS0 -> ttyGps.
Can yuo resolve this problem?

Thanks
Janos

@freshollie
Copy link
Owner

freshollie commented Feb 14, 2021

Hey! Can I have some more details here?

  • When you select the device to start the service what happens?
  • Can I get a screenshot?
  • Does the app show the device as "connected"?
  • Does it show an error?

@fejohn1231
Copy link
Author

Hi!With the internal gps operates normally. On ttyGps and ttyS0 come the NMEA sentences. On Gpstest I see 10 satellites, fixed are 8-9.When I start UsbGps4Droid choosing the USB receiver, Gpstest and Waze say no Gps. Looking ttyACM0, data arrive, in window of UsbGps4Droid seem data coming from USB receiver.On ttyS0 and ttyGps seems data coming from internal chip.Gpstest no satellites in view and no fixed.
I think, the your apk closes the connection between internal chip and services, but not connetcs the USB to the service. 

Yes, your app says device is connected, I can choose regurarly.
No error message, only the Gpstest or waze are without data.

I can send screen foto tomarrow, because the HU in in my car.

@freshollie
Copy link
Owner

Do you see sentences in the application main screen when you are connected?

@fejohn1231
Copy link
Author

Yes, I see in your app's main screen

@freshollie
Copy link
Owner

That's very weird. Are you sure that you have the mock locations settings setup?

@fejohn1231
Copy link
Author

Yes, I choosed your apk as mock location application

@freshollie
Copy link
Owner

Hmm, that's very weird. And you can see your location lock in the app?

@fejohn1231
Copy link
Author

Hi,

I made foto:

This is the dev folder, where ttyACM0 is the USB receiver, the ttyS0 is the internal receiver (AT6558 chip)
IMG_0646

These are the sentences from the USB receiver.
IMG_0647

These are from internal receiver.
IMG_0648

Your application with choosed receiver
IMG_0649

Your started app
IMG_0650

Gpstest with started UsbGps4Droid:
IMG_0651

UsbGps4Droid switch off:
IMG_0652

GpsTest with stopped UsbGps4Droid
IMG_0653

@freshollie
Copy link
Owner

Very weird. What I would say is that GPSTest is never going to pick up satellites because that information can't be published to android. Do any applications with GPS usage pick up the location?

@fejohn1231
Copy link
Author

I tried several GPS testing apps, nothing used the data. When the application starts, ttyGps -> ttyS0 in the dev folder disappears. So I thought I'd redirect ttyACM0 to them.

@freshollie
Copy link
Owner

Have you tried another mock location app? It could be that your android OS doesn't support mock locations properly :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants