Tom Fifield 1b04d41b9a Fix U-Blox detection code. (#5014)
Recently there have been reports of intermittent difficulties
detecting U-Blox chips. This patch proposes a new approach that should
be more reliable.

Previously we were fighting with NMEA messages to try and send binary
commands. We unusually also tried changing the Baud rate of U-Blox
chips, something we don't do with any other GPS.

It turns out U-Blox has another method to disable NMEA
messages. PUBX,40 is a text-based command, supported on all the
U-Blox versions we care about that can set the rate of NMEA messages
to zero.

This is what we attempt to do with all other GPS and it works quite
well.

So this patch alters the probe code to:
1. Remove UBX binary code to stop NMEA messages
2. Remove code that tries to reset UBX chips to 9600 baud
3. Add UBX proprietary text commands messages to stop the NMEA flood
4. Improve log strings sent to the user.

Tested on Ublox 6, Ublox 9, and Ublox 10 on multiple devices.

Also tested on several devices with
non-Ublox GPS to ensure it does not interfere with their detection
(heltec-wireless-tracker, wio-tracker-wm11110)
2024-10-10 06:45:40 -05:00
2024-09-25 16:18:45 -05:00
2024-10-06 07:55:02 -05:00
2024-10-06 07:55:02 -05:00
2024-10-06 07:55:02 -05:00
2021-10-09 17:15:12 +11:00
2024-09-24 15:24:08 -05:00
2024-10-10 06:45:40 -05:00
2023-01-21 21:23:24 +01:00
2024-09-01 11:29:34 -05:00
2024-09-04 15:33:28 -07:00
2023-01-21 21:23:24 +01:00
2024-10-08 11:41:54 +02:00
2023-10-09 22:30:02 +10:00
2024-09-25 16:18:45 -05:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt

Languages
C++ 67.2%
C 30.9%
Python 1.1%
Shell 0.3%
Batchfile 0.3%
Other 0.1%