-
Notifications
You must be signed in to change notification settings - Fork 21
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
Location verification on server failed #19
Comments
@dancesWithCycles , please try the following at the server (here, I'm running it daemonized):
Where
0.0.0.0 in this context should means it will accept connections on all interfaces and on any IP address assigned to the server. |
gpsd
netcut
cgps
gpspipe -w
gpsmon
@julianoborba Thank you very much for your suggestion. Anyhow, as you can see from the logs, this setup is still not working. Any idea? Appreciate! |
Hmmm... @dancesWithCycles , Looks like your server is ok, the app too, but maybe some issue with your Android device. Silly question, did you tried this setup while outdoors with a clear view of the sky? I can reproduce this just if I run GPSd on server, run Android GPSd Forwarder and then inactivate my Android's GPS. Just for test, try another application just to pinpoint your location on a map with GPS only, maybe your Android aren't receiving satellite data in between the time of your waiting:
Also double check the granted permissions for the app, and be aware of battery management feature willing to block the app. But I don't think this is the cause. |
Dear @julianoborba ,
Yes!
I tried the apps Still, while the What Android version and verification apps have you (@julianoborba ) used? What is your exact test setup? Cheers! |
I'm out of ideas. Sorry.
I'm running Android 9 with 1.0.4 release of GPSd Forwarder apk as client and good old WiFi Pineapple Nano as a GPS server, built with OpenWrt 19.07 and GPSd gpsd 3.17 (revision 3.17). In my case, the Pineapple fires a management AP, so my Android connect in that AP to share the same network, this way the apk and server stay in touch. It's an offline setup. I run gpsd the same way I suggested to you, I use only cpgs for some tests. Everything works fine. I just found a parameter in gpsd doc by the time of that reply. Give it a try, but be aware of the privacy implications (it is probably a good idea to harden your site with some firewall): ~ https://gpsd.gitlab.io/gpsd/gpsd.html
|
Hi folks,
Thank you so much for providing and maintaining this repository!
I stumbled of this repo and jumped straight into a PoC setup. This is where I am stuck right now.
The app is running on Android. I called
gpsd
on the public accessible server like this.I can verify that the server receives location data like this.
Here is an example output.
Anyhow, the data the server receives from the phone (I tested Android 9 and 11) seems not enough to get location information.
This is what gps clients on the server response on the data provided by the phone.
I appreciate any hint that helps me fix my setup! Cheers!
The text was updated successfully, but these errors were encountered: