Meshtastic device firmware
Go to file
Jonathan Bennett 1a2c7f00e1
Gps cleanup and powersave (#2807)
* Refactor GPS to not probe if pins not defined

* Use Named Constructor to clean up code

* Move doGPSPowerSave to GPS class

* Make sure to set GPS awake on triple-click

* Cleanup and remove dead code

* Rename GPS_PIN_WAKE to GPS_PIN_STANDBY

* Actually put GPS to sleep between fixes

* add GPS_POWER_TOGGLE for heltec-tracker and t-deck

* Change GPS_THREAD_INTERVAL to 200 ms

* More dead code, compiler warnings, and add returns

* Add Number of sats to log output

* Add pgs enable and triple-click config

* Track average GPS fix time to judge low-power time

* Feed PositionModule on GPS fix

* Don't turn off the 3v3_s line on RAK4631
when the rotary is present.

* Add GPS power standbyOnly option

* Delay setting time currentQuality
to avoid strange log message.

* Typos, comments, and remove unused variable

* Short-circuit the setAwake logic on GPS disable

* heltec-tracker 0.3 GPS power saving

* set en_gpio to defined state

* Fix fixed_position logic with GPS disabled

* Don't process GPS serial when not isAwake

* Add quirk for Heltec Tracker GPS powersave

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: mverch67 <manuel.verch@gmx.de>
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>
2023-09-23 23:45:35 -05:00
.github Update variant.h (#2778) 2023-09-09 19:37:35 -05:00
.trunk update trunk to latest version 2023-08-17 12:17:36 +02:00
.vscode Update extensions.json 2023-08-03 10:05:38 +02:00
arch Temp fix for S3 bluetooth (#2809) 2023-09-18 14:26:19 +02:00
bin Stop failing on low severity styling issues 2023-08-12 06:43:13 -05:00
boards T-Deck/T-Watch: enhancements/fixes (#2786) 2023-09-10 06:54:25 -05:00
data/static Bundle WebUI (#878) 2021-10-09 17:15:12 +11:00
images remove hard to maintain system-info bootloader 2022-10-01 09:50:16 +02:00
monitor add rudimentary exception decoder for RISC-V CPU 2023-03-05 14:55:12 +01:00
protobufs@60f1f15743 Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
release don't keep uf2 files in source control 2020-08-21 09:37:41 -07:00
src Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
variants Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
.gitattributes trunk roundhouse kick 2023-01-21 21:23:24 +01:00
.gitignore tryfix cppcheck errors 2023-05-24 02:44:30 +02:00
.gitmodules revert protobuf change to develop 2022-11-26 16:03:17 +01:00
.semgrepignore Ignore upstream defect 2022-11-20 16:14:32 +01:00
docker-compose.yml trunk roundhouse kick 2023-01-21 21:23:24 +01:00
Dockerfile Fix for Dockerfile-related security defects and rewrite to follow best practices 2022-11-20 12:57:55 +01:00
LICENSE move my bt experiment into its own repo (about to remove ttn) 2020-02-01 08:30:53 -08:00
partition-table.csv - new Bootloader for ESP-IDF 4.2 2022-09-26 22:42:58 +02:00
platformio.ini Platform / dep updates (#2684) 2023-08-06 10:06:08 -05:00
README.md Update README.md 2023-01-02 16:44:38 +11:00
suppressions.txt Extend node max to 100 and remove mesh_sds_timeout_secs (#2713) 2023-08-12 09:29:19 -05:00
version.properties [create-pull-request] automated change 2023-09-18 19:49:42 +00:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Building Instructions Flashing Instructions

Stats

Alt