# Set sample rate low while configuring receiver
!UBX CFG-RATE 1000 1 1

# turn on UBX RXM-RAWX messages on UART
!UBX CFG-MSG 2 21 0 1 0 0 0 0

# turn on/off UBX RXM-SFRBX messages on UART
!UBX CFG-MSG 2 19 0 1 0 0 0 0

# turn on/off UBX TIM TM2 messages on UART
!UBX CFG-MSG 13 3 0 1 0 0 0 0

# GNSS system settings
# set GPS 8-16 channels on
!UBX CFG-GNSS 0 32 32 1 0 8 16 0 65537
# set SBAS 1-3 channels on
!UBX CFG-GNSS 0 32 32 1 1 1 3 0 65537
# set Galileo 4-8 channels on
!UBX CFG-GNSS 0 32 32 1 2 4 8 0 65537
# set BeiDou 8-16 channels off
!UBX CFG-GNSS 0 32 32 1 3 8 16 0 0
# set IMES 0-8 channels off
!UBX CFG-GNSS 0 32 32 1 4 0 8 0 0
# set QZSS 0-3 channels off
!UBX CFG-GNSS 0 32 32 1 5 0 3 0 0
# set GLONASS 8-14 channels on
!UBX CFG-GNSS 0 32 32 1 6 8 14 0 65537

# change NAV5 stationary mode to pedestrian
!UBX CFG-NAV5 1 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

# turn off extra messages default messages
# NMEA GGA
!UBX CFG-MSG 240 0 0 0 0 0 0 0
# NMEA GLL
!UBX CFG-MSG 240 1 0 0 0 0 0 0
# NMEA GSA
!UBX CFG-MSG 240 2 0 0 0 0 0 0
# NMEA GSV
!UBX CFG-MSG 240 3 0 0 0 0 0 0
# NMEA RMC
!UBX CFG-MSG 240 4 0 0 0 0 0 0
# NMEA VTG
!UBX CFG-MSG 240 5 0 0 0 0 0 0
# NMEA ZDA
!UBX CFG-MSG 240 8 0 0 0 0 0 0
!UBX CFG-MSG 1 3 0 0 0 0 0 0
!UBX CFG-MSG 1 3 0 0 0 0 0 0
!UBX CFG-MSG 1 6 0 0 0 0 0 0
!UBX CFG-MSG 1 18 0 0 0 0 0 0
!UBX CFG-MSG 1 34 0 0 0 0 0 0
!UBX CFG-MSG 1 48 0 0 0 0 0 0
!UBX CFG-MSG 3 15 0 0 0 0 0 0
!UBX CFG-MSG 3 16 0 0 0 0 0 0
!UBX CFG-MSG 12 16 0 0 0 0 0 0
!UBX CFG-MSG 12 49 0 0 0 0 0 0
!UBX CFG-MSG 12 52 0 0 0 0 0 0
!UBX CFG-MSG 04 02 0 0 0 0 0 0
!UBX CFG-MSG 10 38 0 0 0 0 0 0

# Set sample rate to 10 Hz
!UBX CFG-RATE 200 1 1


@
!UBX CFG-RATE 1000 1 1