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

GPS on A7670 get satellites always is 0 #177

Closed
EnziinSystem opened this issue Nov 15, 2024 · 3 comments
Closed

GPS on A7670 get satellites always is 0 #177

EnziinSystem opened this issue Nov 15, 2024 · 3 comments

Comments

@EnziinSystem
Copy link

Dear,

I run the example GPS_BuiltIn

https://github.com/Xinyuan-LilyGO/LilyGO-T-A76XX/tree/main/examples/GPS_BuiltIn

With the config file:

#define LILYGO_T_CALL_A7670_V1_0

However, I always get satellites are 0

OK
FixMode:3
Latitude:****	
Longitude:****
...
Visible Satellites:0	
Used Satellites:0
...

Retrieving GPS/GNSS/GLONASS location again as a string
AT+CGNSSINFO

The example still works and can return the correct longitude and latitude.

I need the visible and usable satellite value.

What is the problem?

Thanks.

lewisxhe added a commit to lewisxhe/TinyGSM-fork that referenced this issue Nov 16, 2024
lewisxhe added a commit that referenced this issue Nov 16, 2024
@lewisxhe
Copy link
Contributor

The number of visible GPS satellites has been fixed, but the number of visible satellites is not available. If you need more GPS messages you need to use the GPS_NMEA_Parse function.

@EnziinSystem
Copy link
Author

Hi,

Thanks for your reply.

I see the Visible Satellites number.

OK
FixMode:3
Latitude:**** Longitude:*****
........
Visible Satellites:9	Used Satellites:0
......
Retrieving GPS/GNSS/GLONASS location again as a string
AT+CGNSSINFO

And the Used Satellites always is 0.

Is this due to hardware limitations or something else?

@lewisxhe
Copy link
Contributor

I think I have said above that the number of satellites used is not available. This is because the GNSSINFO command does not return this value.

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