How do you determine total number of active satellites from nmea output from all GNSS (GPS, GLONASS, Galileo, BeiDou, QZSS) ?
In the GNGNS message we get total number of satellites, but it only seems include the GNSS that also produces GNGNS messages, meaning GPS, GLONASS and Galileo. Those that end with system id 1,2,3. We never get such sentences for system id 4 and 5 (BeiDou and QZSS).
Enabling all nmea for all, for example beidou using beidounmeatype,3.
Here is what I get from a EC25.
ATI:
Quectel
EG25
Revision: EG25GGBR07A07M2G
NMEA:
$PQGSA,A,2,27,30,1.6,1.3,0.9,437 // 4 -> BeiDou, 2 active satellites
$PQGSA,A,2,1.6,1.3,0.9,530 // 5 -> QZSS, 0 active satellites
$PQGSV,3,1,11,27,09,184,30,30,40,230,34,02,05,12,127,0,45A // 4 -> BeiDou, 11 satellites in view
$PQGSV,3,2,11,06,09,043,09,34,053,16,13,043,20,21,251,0,46F
$PQGSV,3,3,11,23,04,127,24,14,026,29,34,302,0,4*50
$PQGSV,1,1,01,03,05,047,0,5*5E //5 -> QZSS 1 satelllite in view
A bit confusing as for the PQGSV sentence it shouldn’t be system id but signal id. We get both, but who am I to complain about more data
The problem is summing up the active satellites from GNGSA (only get for system id 1,2,3) that is always equal to the satellites in use field in GNGNS.
$GPGGA,092500.00,5744.855720,N,01204.945381,E,1,05,1.6,52.7,M,39.0,M,,*50
$GNGNS,092500.00,5744.855720,N,01204.945381,E,AAA,10,1.6,52.7,39.0,,,V*5B
$GPVTG,184.2,T,183.6,M,0.0,N,0.0,K,A*20
$GPRMC,092500.00,A,5744.855720,N,01204.945381,E,0.0,184.2,101120,0.5,E,A,V*42
$GPGSA,A,2,01,04,09,21,22,,,,,,,,1.9,1.6,0.9,1*27 //5 active matching the GPGGA above, great.
$GNGSA,A,2,01,04,09,21,22,,,,,,,,1.9,1.6,0.9,1*39 //5 active matching the GPGGA above, great, system id = 1.
$GNGSA,A,2,87,88,,,,,,,,,,,1.9,1.6,0.9,2*3A //2 active GLONASS, system id 2
$GNGSA,A,2,03,05,36,,,,,,,,,,1.9,1.6,0.9,3*37 //3 active Galileo, system id 3.
Adding up to 10 active in use, which is matching what’s in GNGNS, great, but what about the 2 BeiDou in PQGSA?
What does this mean? If I would like to know total number of satellite sin use for the fix (which we only get from GNGNS) I would need to add those in PQGSA for BeiDOu and QZSS to that total number? Are they actually used as there is no message with latitude/longitude that also has that total number of satellites?