Meshtastic device firmware
Go to file
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
.devcontainer Trunk things 2024-09-25 16:18:45 -05:00
.github Upgrade nanopb (#4973) 2024-10-06 07:55:02 -05:00
.trunk Upgrade nanopb (#4973) 2024-10-06 07:55:02 -05:00
.vscode Support for Polish OLED characters 2024-08-28 13:10:19 +02:00
arch First version of a DeepSleep state for the RP2040 (#4976) 2024-10-08 05:24:37 -05:00
bin Upgrade nanopb (#4973) 2024-10-06 07:55:02 -05:00
boards Remove support for pca10056-rc-clock (#4955) 2024-10-05 05:26:54 -05:00
data/static
extra_scripts Fixes for #4395: nrf52 flash filesystem reliability (#4406) 2024-08-13 06:45:39 -05:00
images No idea why trunk wants to disturb these PNGs but... 2024-10-08 05:34:41 -05:00
meshtestic@dcac7e5673 python3 ref 2024-09-24 15:24:08 -05:00
monitor Fixes for #4395: nrf52 flash filesystem reliability (#4406) 2024-08-13 06:45:39 -05:00
protobufs@647081c7fa [create-pull-request] automated change (#5019) 2024-10-10 06:45:22 -05:00
release
src Fix U-Blox detection code. (#5014) 2024-10-10 06:45:40 -05:00
test/test_crypto Disentangle NodeDB from the CryptoEngine (#5013) 2024-10-10 18:14:11 +08:00
variants preliminary Othernet Dreamcatcher Support (#4933) 2024-10-08 07:05:13 -05:00
.gitattributes
.gitignore Remove ancient .gitignore lines (#4952) 2024-10-05 05:15:20 -05:00
.gitmodules Hello world for MeshTestic (#4607) 2024-09-01 11:29:34 -05:00
.gitpod.yml add a .yml to setup a Gitpod instance quickly (#4551) 2024-08-23 20:24:23 -05:00
.semgrepignore Fix de/compression buffer overflows in TAK packets (#4317) 2024-07-23 06:16:53 -05:00
CONTRIBUTING.md lol of course trunk fmt 2024-09-04 15:33:28 -07:00
docker-compose.yml
Dockerfile Fix that Dockerfile would not run with podman (#4262) 2024-07-13 06:09:51 -05:00
LICENSE
partition-table.csv
platformio.ini conflict resolution 2024-10-08 11:41:54 +02:00
pyocd.yaml Add semihosting support for nrf52 devices (#4137) 2024-06-24 10:27:37 -05:00
README.md Update README.md 2023-10-09 22:30:02 +10:00
SECURITY.md Trunk things 2024-09-25 16:18:45 -05:00
suppressions.txt Cpp-check warnings cleanup (#3014) 2023-12-14 07:35:46 -06:00
userPrefs.h UserPrefs - Preconfigure up to 3 channels, GPS Mode (#4930) 2024-10-06 15:32:07 +08:00
userPrefs.json Start of generating json manifest of macros in userPrefs.h (#4946) 2024-10-06 05:24:57 -05:00
version.properties [create-pull-request] automated change 2024-10-09 23:48:31 +00: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