sparkfun / SparkFun_u-blox_GNSS_Arduino_Library

An Arduino library which allows you to communicate seamlessly with the full range of u-blox GNSS modules
Other
223 stars 100 forks source link

How to check satellite count? #181

Closed Savaesc closed 1 year ago

Savaesc commented 1 year ago

I would like to know how many satellites are connected. How do i do that?

PaulZC commented 1 year ago

Hello @Savaesc ,

getSIV will tell you the number of satellites being used in the navigation solution:

https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library/blob/2ae72895a1194c77e0628d50ec51937016ac7466/examples/Example3_GetPosition/Example3_GetPosition.ino#L80

The UBX-NAV-SAT example provides details of all satellites being tracked and their signal strengths:

https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library/blob/main/examples/Callbacks/CallbackExample7_NAV_SAT/CallbackExample7_NAV_SAT.ino

Best wishes, Paul