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

Do not find the location of the GPS. #27

Open
ghost opened this issue Apr 23, 2021 · 7 comments
Open

Do not find the location of the GPS. #27

ghost opened this issue Apr 23, 2021 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 23, 2021

No description provided.

@nachum37
Copy link

nachum37 commented Apr 25, 2021

For me, too. Tested on Nokia C5-00 5MP.

I tried to get the location by a short walk outside and also from inside the house (in an attempt to get an error message or other feedback), in both cases the red arrow representing my location did not appear.

I installed the debug build from this Issue, the s60maps_log.txt file is attached.
It seems that GPS geolocation is supported, but only partial data is received. I will try tomorrow on a long drive out of town.

Thanks a lot to the developers! Long live Symbian :-)

@artem78
Copy link
Owner

artem78 commented Apr 27, 2021

First I recommend you to read about GPS in Wikipedia. Also check out your phone manual ("Positioning" section). You can find it here:

I hope it can help you to understand how GPS positioning works and will reduce the number of questions and misunderstands.


Can not find location with telephone network and wifi either.

For retrieving location S60Maps uses only internal GPS (if exists and enabled). Network connection (e.g., from operator or wifi) used for map tiles dowloading.

inside the house

GPS doesn`t work indoors. For better signal from satellites go to open space.

Tested in Nokia Belle FP2.

S60Maps officially supports only for Symbian 9.1-9.4. Therefore I can`t guarantee that it can works on newer phones.

I installed the debug build from this Issue, the s60maps_log.txt file is attached.
It seems that GPS geolocation is supported, but only partial data is received.

You are right. I didn`t found any problems in log you provided. However application worked only for 3 minutes. This may be not enough for retrieving location, especially for "cold" start of GPS. Note that usually it may takes up to several minutes.

Partial position recieved in log means that GPS device is recieving signal from GPS satellites, but not obtained phone`s location yet. Besides lack of time there may be other reasons:

  • low satellite signal strength
  • insufficient amount of "visible" satellites (less than 3)
  • fast movement (e.g., car driving)
  • nearby buildings block the signal
  • weather conditions

Moreover for make positioning work better you may enable A-GPS method (note that it uses network connection).


Checking GPS status

You may check GPS status in phone service menu. Go to Tools → Connectivity → GPS data → Position. If location obtained, you will see coordinates, altitude and other information in this place.

2021-04-26_221909

If you see No connection, you need to enable GPS in phone settings. If you see Waiting for GPS data, phone trying to get current location.

In addition, you can view satellites signal strength graph in Options → Satellite status. You will see black bars when your position is recieved (in this example signal is very good).

2021-04-26_201817

Otherwise if signal is low or there is not enough satellites, you will see image like this.

Snap3629

@nachum37
Copy link

nachum37 commented Apr 27, 2021

Thanks for your answer. Please note that I wrote only the 2nd message above, not the first. I know how GPS works. (I wanted to see if an error message will appear or differences in the log when there is certainly (almost) no GPS signal, so I tried at home).

Regarding the partial GPS data, I tried again for about an hour of driving in and out of the town (slow and fast driving), on a sunny day. the phone was located under the windshield, with no success. So I checked the GPS status, and it seems that the device cannot succeed to see enough satellites or the signal is weak, so no fix.

As you mentioned, I think the A-GPS doesn't work. Since supl.nokia.com doesn't exist for several years, I was used supl.google.com (and can navigate with Google Maps for S60), but since a few months ago Google Maps can't find my location anymore, so maybe google has changed something.
(Even I have installed all certificates and also the SHA-2 patch ("networking_improvements.sis") more and more sites upgrade their connection to TLS 1.3 (with ECDSA, 4096 Bit certificates) and don't work anymore so maybe there are some problems with supl.google.com also, like upgrading the SUPL Version, drop earlier TLS versions support, or change the certificates.)

@artem78
Copy link
Owner

artem78 commented Apr 28, 2021

As you mentioned, I think the A-GPS doesn't work. Since supl.nokia.com doesn't exist for several years, I was used supl.google.com (and can navigate with Google Maps for S60), but since a few months ago Google Maps can't find my location anymore, so maybe google has changed something.

Asked here: https://old.reddit.com/r/symbian/comments/n0m8mx/alternatives_for_suplnokiacom_and_suplgooglecom/?ref=share&ref_source=link

I have also installed SSL update, but seems that google server does`n work on my phone.

@fizolas
Copy link
Contributor

fizolas commented May 13, 2021

My two-cent contribution (using Nokia E72 s60v3 FP2 to this day): I first run Google Maps (v3.2.0, because this lets me use the Landmarks database...) until the position is determined, which is rather quick. Then I close Google Maps and open any other application that needs GPS: the lock will happen very fast. This works for me both with S60Maps, Mapnav and the standard Nokia Maps.

@fizolas
Copy link
Contributor

fizolas commented May 13, 2021

Another bit of "black magic" regarding the use of the GPS in my E72: in "positioning methods" unmark "Wi-Fi/Network" (and obviously "Bluetooth GPS" too) but leave the other three options marked. With these settings I can get a reliable outdoors GPS lock without A-GPS (ie with the phone in offline mode) but it may take a while depending on the orography around you (it could be 30 minutes or more).

@artem78
Copy link
Owner

artem78 commented May 13, 2021

I first run Google Maps (v3.2.0, because this lets me use the Landmarks database...) until the position is determined, which is rather quick

Seems that your phone can connect to google SUPL-server using new SSL sertificates. Try to set supl.google.com in your position server settings. Also turn on A-GPS. I hope that it will helps you to increase position determination speed in other programs including S60Maps without running Google Maps.

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

3 participants