use beidou instead of glonass

pull/827/head
Adrian Batzill 2023-07-11 15:50:09 +01:00
rodzic 41e41f88fe
commit 3c87208264
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -455,9 +455,9 @@ func writeUblox8ConfigCommands(p *serial.Port) {
gps := []byte{0x00, 0x08, 0x10, 0x00, 0x01, 0x00, 0x01, 0x01} // enable GPS with 8-16 channels (ublox default)
sbas := []byte{0x01, 0x01, 0x03, 0x00, 0x01, 0x00, 0x01, 0x01} // enable SBAS with 1-3 channels (ublox default)
galileo := []byte{0x02, 0x08, 0x08, 0x00, 0x01, 0x00, 0x01, 0x01} // enable Galileo with 8-8 channels (ublox default: disabled and 4-8 channels)
beidou := []byte{0x03, 0x08, 0x10, 0x00, 0x00, 0x00, 0x01, 0x01} // disable BEIDOU
beidou := []byte{0x03, 0x08, 0x10, 0x00, 0x01, 0x00, 0x01, 0x01} // enable BEIDOU with 8-16 channels
qzss := []byte{0x05, 0x01, 0x03, 0x00, 0x01, 0x00, 0x01, 0x01} // enable QZSS 1-3 channels, L1C/A (ublox default: 0-3 channels)
glonass := []byte{0x06, 0x08, 0x10, 0x00, 0x01, 0x00, 0x01, 0x01} // enable GLONASS with 8-16 channels (ublox default: 8-14 channels)
glonass := []byte{0x06, 0x08, 0x10, 0x00, 0x00, 0x00, 0x01, 0x01} // disable GLONASS
cfgGnss = append(cfgGnss, gps...)
cfgGnss = append(cfgGnss, sbas...)