Blake-Latchford
8fcfe7f28b
Read voltage during init fixes #5276 ( #5332 )
...
Power::readPowerStatus is called on startup,
but AnalogBatteryLevel::getBattVoltage
skips the read because 5 seconds have not
elapsed since last_read_time_ms, which
is initialized to zero.
`batMv=3100` is reported because
AnalogBatteryLevel::last_read_value is
initialized as:
```
float last_read_value = (OCV[NUM_OCV_POINTS - 1] * NUM_CELLS);
```
2024-11-13 04:13:55 -06:00
GUVWAF
e866734a25
Handle repeated packet after potentially canceling previous Tx ( #5330 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Revert "Fix sending duplicate packets to PhoneAPI/MQTT (#5315 )"
This reverts commit 40bc04b521
.
* Handle repeated packet after potentially canceling previous Tx
2024-11-12 15:23:32 -06:00
Matthijs De Smedt
2ec3958cd8
Add support for ignoring nodes with is_ignored
field in NodeInfo ( #5319 )
...
* Add support for is_ignored bool in NodeInfo
* is_ignored is not a boring node either
* Clean out metrics and position
* Clear the key too
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-12 13:27:44 -06:00
GUVWAF
f4b0e19a65
Fix another heap leak ( #5328 )
2024-11-12 10:59:29 -06:00
Ben Meadors
a84324c4fa
Don't attempt to save NodeDB on low-batt shutdown to prevent FS corruption ( #5312 )
2024-11-12 06:17:26 -06:00
Michael Gjelsø
0acccdfe2d
Don't send to public channel ( #5310 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Don't send to public channel
`p->to` wasn't set and had the same value as broadcast, it's now set to our own NodeNum.
* Trunk
* Update DetectionSensorModule.cpp
Take 3
* Revert NodeNum()
2024-11-11 19:11:54 -06:00
github-actions[bot]
0e4f7003c7
[create-pull-request] automated change ( #5320 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-11 18:55:02 -06:00
GUVWAF
40bc04b521
Fix sending duplicate packets to PhoneAPI/MQTT ( #5315 )
...
* Fix potential duplicate packets to PhoneAPI/MQTT
* Fix include error for STM32
* Fix cppcheck error
2024-11-12 07:54:05 +08:00
Thomas Göttgens
eb8d38a7e9
radiolib update ( #5246 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* update radiolib to 7.1.0
* stay at 7.0.2 for STM32, also remove unused board from ESP32 arch
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-11 16:05:48 +01:00
Ben Meadors
3d5eb34c5c
Add back some details to the PhoneAPI logs ( #5313 )
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
2024-11-11 07:01:29 -06:00
Ben Meadors
3a9a4bbb92
Coerce minimum neighborinfo interval on startup ( #5314 )
2024-11-11 07:00:56 -06:00
Daniel.Cao
6eba2789d0
rak10701 (rak wismeshtap) optimization ( #5280 )
...
* Improve the processing speed of virtual keyboards
* Remove the disable GPS feature, as it would interfere with the normal use of TFT
* Changed the default screen sleep time to 30s
* Rename platform rak10701 -> rak wismeshtap
* Fixed rak wismeshtap turned off gps caused the screen not to display
* Reduce the size of the flash, otherwise uf2 will not work
Co-authored-by: Daniel Cao <daniel.cao@rakwireless.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-11-11 13:37:43 +01:00
GUVWAF
9b4c260a92
Fix memory leak in MQTT ( #5311 )
2024-11-11 13:22:22 +01:00
Ben Meadors
667b4ef0f2
Exclude some niche modules by default and populate exclude_modules ( #5300 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Exclude some niche modules by default
* Start of intelligently excluding modules
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-11-10 13:36:49 -06:00
Tom Fifield
623203ca3b
Remove scary warning about full NodeDB ( #5292 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
NodeDB becoming full at 100 entries and cycling out old entries is normal behaviour. The user doesn't need to take any action and shouldn't be concerned when this happens.
Remove the warning from the screen and reduce loglevel to info.
2024-11-09 07:30:04 -06:00
GUVWAF
893efe4f11
Always set the channel corresponding to a node ( #5287 )
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
2024-11-09 11:30:12 +08:00
GUVWAF
2c2213ef9b
Add setting to transmit NeighborInfo over LoRa ( #5286 )
...
* Add setting to transmit NeighborInfo over LoRa
Only if not using the default channel
* Bump minimum broadcast interval for NeighborInfo to 4 hours
2024-11-09 09:38:48 +08:00
github-actions[bot]
439c1dec08
[create-pull-request] automated change ( #5284 )
...
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
Semgrep Full Scan / semgrep-full (push) Has been cancelled
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-08 07:53:55 -06:00
Tavis
aa184e6d8b
copy the has_relative_humidity value to telem packet from AHTX0 packet ( #5277 )
...
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
Nightly / Trunk Check Upload (push) Has been cancelled
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-08 07:59:36 +08:00
Marco Veneziano
2eea412f1c
Fixed compile error when using GPS_DEBUG ( #5275 )
2024-11-07 16:19:31 -06:00
Thomas Göttgens
b0a5a26f58
fix wio-tracker-dev sensor scan ( #5274 )
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
2024-11-07 18:01:58 +01:00
Austin
286f3c6458
uClibc compatibility ( #5270 )
...
* uclibc compatibility
Adds compatibility with uclibc, the officially supported toolchain of the luckfox pico
* Explicitly link stdc++fs for std::filesystem
Bringing this over from buildroot-meshtastic
2024-11-07 14:23:08 +01:00
github-actions[bot]
b506f6dcb0
[create-pull-request] automated change ( #5272 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-07 07:17:23 -06:00
Ben Meadors
73e2e25eb1
Smarter traffic scaling ( #5264 )
2024-11-06 15:00:53 -06:00
GUVWAF
3bd3911913
Only PKC encrypt when packet originates from us ( #5267 )
2024-11-06 22:00:26 +01:00
Ben Meadors
982190936d
More log reductions. I'll probably stop now ;-) ( #5263 )
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
2024-11-06 21:03:25 +08:00
Ben Meadors
8498b175e7
Add exception for RTC to not strip time from position ( #5262 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Add exception for RTC to not strip time from position
* t
2024-11-06 10:06:43 +08:00
Timo
8e2a3e5728
fix display of umlauts (UTF-8 left byte C3) ( #5252 )
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
2024-11-05 04:36:37 -06:00
Ben Meadors
f769c50fa5
More reduction ( #5256 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Now with even fewer ings
* Ye
* Mo
* QMA6100PSensor
2024-11-04 19:15:59 -06:00
GUVWAF
7ba6d97e99
Release no-LoRa packet after sending to phone ( #5254 )
2024-11-04 14:13:54 -06:00
GUVWAF
f3b698905d
Disable automatic NodeInfo request when NodeDB is full ( #5255 )
2024-11-04 14:06:12 -06:00
Ben Meadors
50dac38a1b
Pass#2: Lots more savings in logs and string reduction surgery ( #5251 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Pass#2: Lots more savings in logs and string reduction surgery
* Don't need Thread suffix either
* Warn
2024-11-04 12:16:25 -06:00
Tom Fifield
e71be778dd
Fix cppcheck HIGH error ( #5250 )
...
https://github.com/meshtastic/firmware/pull/5247 introduced new
protobufs, particularly the excluded_modules feature.
Immediately afterward, cppcheck started sounding klaxons about
an unitialized variable. This patch simply sets excluded_modules
to none as a temporary measure while the feature from protobuf
is integrated into code.
2024-11-04 07:03:50 -06:00
Tom Fifield
276067065e
Log cleanups ( #5135 )
...
* Log cleanups
change log levels, shorten log messages, delete commented out logs
* Address comments from review
* Remove full stops
* EDEBUG --> DEBUG
2024-11-04 06:09:23 -06:00
github-actions[bot]
a628c93125
[create-pull-request] automated change ( #5247 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-04 05:40:55 -06:00
Ben Meadors
03aaaafa13
Exclude preferred routing roles from nodeinfo interrogation behavior ( #5242 )
...
* Exclude prefered routing roles from nodeinfo interrogation behavior
* Exclude prefered routing roles from nodeinfo interrogation behavior
* Update MeshService.cpp
* Rework logic to prevent spammy router logs
2024-11-04 19:05:03 +08:00
Thomas Göttgens
0a82fd28b3
PIO_ENV ( #5239 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* add hw_env to packet
needs https://github.com/meshtastic/protobufs/pull/616
* rename to pio_env
* Move to mynodeinfo
* Includy doody
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-03 20:02:13 -06:00
github-actions[bot]
89c186e662
[create-pull-request] automated change ( #5243 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-03 19:48:50 -06:00
github-actions[bot]
8c99f913c1
[create-pull-request] automated change ( #5241 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-03 16:18:38 -06:00
Austin
9415254dda
musl compatibility ( #5219 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* musl compat
* trunk fmt
* Update platform-native, including musl fix
https://github.com/meshtastic/platform-native/pull/5
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-03 14:24:04 +01:00
Tom Fifield
448c754882
LR1110 - remove old comment referring to non-existent function. ( #5233 )
...
It seems like there was no setrxgain function in RadioLib. Since
we're unlikely to uncomment and enable this non-existent feature,
remove this code.
2024-11-03 14:14:06 +01:00
GUVWAF
da7424a604
Improve ACK logic for responses and repeated packets ( #5232 )
...
* Don't send ACKs to responses over multiple hops
* Move repeated sending logic to `wasSeenRecently()`
* Add exception for simulator for duplicate packets from PhoneAPI
* Add short debug message
2024-11-03 06:21:45 -06:00
Tom Fifield
1bec23b6bb
Fix displays showing "GPS Not Present" until first lock ( #5229 )
...
https://github.com/meshtastic/firmware/pull/5160 introduced a change
which made first publication of GPS information take up to 15mins.
For that initial period, displays would show "No GPS Present", even
if one was detected.
This change fixes that bug, triggering publication immediately after
a GPS module is detected.
2024-11-03 06:19:15 -06:00
Technologyman00
bee474ee54
Spell check all Code ( #5228 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
* Spelling Fixes
* More Spelling Errors
* More Spelling Checks
* fixed wording
* Undo mesh\generated changes
* Missed one file on readd
* missed second file
2024-11-03 09:25:05 +08:00
Tom Fifield
b0c924f185
Optimise GPS Baud Rate cycle ( #5102 )
...
* Optimise GPS Baud Rate cycle
Previously, our baud rate cycled through one list twice.
There were some rarer baudrates in there, so this code
separates out those into a dedicated list that is only
run through if detection fails for common bauds. We also
only run through each baud rate once.
* Fix first time around bug
Would have always reset GPS baudrate every time.
* Add support for fixing GPS_BAUDRATE
If GPS_BAUDRATE is set in variant.h, the deployer knows something we
don't about the GPS. Used especially when the GPS is soldered to a board
in a commercial product :) If we see that, we don't try other baud rates
at all.
* Don't print blank lines in GPS_DEBUG.
* Try GPS_BAUDRATE first, not only.
* Fix spelling mistakes in comments
* Only use GPS_BAUDRATE if specified in variant.h
* Modify RareSerial Speeds based on FIXED or not.
2024-11-02 07:51:12 -05:00
github-actions[bot]
8801bc5ce9
[create-pull-request] automated change ( #5223 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-11-02 05:58:06 -05:00
Jonathan Bennett
cf476eb87c
Remove assert in mesh-pb-constants.cpp ( #5207 )
...
* Remove assert in mesh-pb-constants.cpp
* Add raw packet output to portduino trace logging.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-02 05:38:44 -05:00
todd-herbert
ba2f25293b
Fix flipped logic after move to Throttle::isWithinTimespanMs ( #5221 )
2024-11-02 05:36:40 -05:00
GUVWAF
2d4d36c605
Drop oldest packet from radio when queue is full ( #5212 )
...
CI / setup (rp2040) (push) Waiting to run
CI / setup (stm32) (push) Waiting to run
CI / check (push) Blocked by required conditions
CI / build-esp32 (push) Blocked by required conditions
CI / build-esp32-s3 (push) Blocked by required conditions
CI / build-esp32-c3 (push) Blocked by required conditions
CI / build-esp32-c6 (push) Blocked by required conditions
CI / build-nrf52 (push) Blocked by required conditions
CI / build-rpi2040 (push) Blocked by required conditions
CI / build-stm32 (push) Blocked by required conditions
CI / package-raspbian (push) Waiting to run
CI / package-raspbian-armv7l (push) Waiting to run
CI / package-native (push) Waiting to run
CI / after-checks (push) Blocked by required conditions
CI / gather-artifacts (esp32) (push) Blocked by required conditions
CI / gather-artifacts (esp32c3) (push) Blocked by required conditions
CI / gather-artifacts (esp32c6) (push) Blocked by required conditions
CI / gather-artifacts (esp32s3) (push) Blocked by required conditions
CI / gather-artifacts (nrf52840) (push) Blocked by required conditions
CI / gather-artifacts (rp2040) (push) Blocked by required conditions
CI / gather-artifacts (stm32) (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release-firmware (esp32) (push) Blocked by required conditions
CI / release-firmware (esp32c3) (push) Blocked by required conditions
CI / release-firmware (esp32c6) (push) Blocked by required conditions
CI / release-firmware (esp32s3) (push) Blocked by required conditions
CI / release-firmware (nrf52840) (push) Blocked by required conditions
CI / release-firmware (rp2040) (push) Blocked by required conditions
CI / release-firmware (stm32) (push) Blocked by required conditions
Flawfinder Scan / Flawfinder (push) Waiting to run
And still notify Router
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-11-01 15:48:55 -05:00
Ben Meadors
cbe74009a9
Comment out unused var to get rid of warning
2024-11-01 15:46:11 -05:00
Ben Meadors
701421b50a
Trunk fmt
2024-11-01 15:17:25 -05:00
Aaron.Lee
336cdc0efe
Add Heltec V3 battery read pin detect function ( #5196 )
2024-11-01 15:12:41 -05:00
Ben Meadors
a1ac358b0a
Don't try to count non-lora transmissions into airtime (or attempt to decode) ( #5215 )
...
* Don't try to count non-lora transmissions into airtime (or attempt to decode)
* Don't need to check utilization anymore
2024-11-01 13:20:11 -05:00
Jonathan Bennett
545ebf9b17
Don't skip GPS serial speeds, and always land on GPS_BAUDRATE ( #5195 )
...
* Don't skip GPS serial speeds, and always land on GPS_BAUDRATE
* Update log message to match.
* print the value instead
2024-11-01 08:44:02 +08:00
Alexander Begoon
600208ab0b
Refactor getMacAddr function to retrieve MAC address as MAC-48 for IEEE 802.15.4 compatibility ( #5208 )
2024-10-31 15:07:59 -05:00
GUVWAF
462a0718cf
Fix SerialModule getting packet from ourselves ( #5206 )
2024-10-31 11:46:00 -05:00
Andre K
28b469dbf0
fix: don't broadcast public keys if the user is licensed ( #5190 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-10-30 12:05:09 -05:00
Ben Meadors
5f6e19d971
As a Router
2024-10-30 06:02:59 -05:00
Jonathan Bennett
b3ba23b4e8
Don't generate or populate PKC keys in licensed mode
2024-10-29 14:17:14 -05:00
Ben Meadors
936260fca3
Default rebroadcast mode for Router and Repeater to ignore problematic portnums ( #5178 )
...
* Default rebroadcast mode for Router and Repeater to ignore problematic portnums
* Verbiage
* IS_ONE_OF
2024-10-29 05:44:32 -05:00
Tom Fifield
2945b9cfbe
De-duplicate Ambient LED management code ( #5156 )
...
We currently have 4 different places where we have the logic for
modifying LED state of the various types of Ambient LEDs,
ExternalNotificationModule::SetExternalOff
ExternalNotificationModule::SetExternalOn
AmbientLightingThread::setLighting
AmbientLightingThread::setLightingOff
This patch de-duplicates the methods in ExternalNotification to
a single method, using a boolean to toggle whether we're turning
things on or off.
2024-10-29 05:41:21 -05:00
Megaceryle-alcyon
ed03d28a83
Added PA1616S GPS module ( #5157 )
...
* Added GPS chip PA1616S
GPS chip PA1616S is used in some recent Adafruit GPS breakout boards.
* Update GPS.cpp
---------
Co-authored-by: picusviridis <mesh.culprit381@passmail.net>
2024-10-29 09:34:01 +01:00
Jonathan Bennett
850f61d2d0
Native config.d ( #5165 )
...
* Add support for loading yaml from a config directory
* Add waveshare hats to the new config.d approach
* Move to available.d for module inactive module configs
2024-10-28 21:48:10 -05:00
Ben Meadors
e12fd27b49
Trunkdor the burninator
2024-10-28 06:40:48 -05:00
Spiffysec
77dfc92f1e
Update GPSUpdateScheduling.cpp ( #5160 )
...
* Update GPSUpdateScheduling.cpp
Default value is too short, resulting in unstable GPS locks on T1000-E (possibly others). Fix has been tested an confirmed working with no adverse effects, by multiple users. Also discussed at length on Discord
* Coerce minimum instead of hardcode
* config
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-28 06:18:03 -05:00
github-actions[bot]
c4eb9a6d7f
[create-pull-request] automated change ( #5176 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-28 06:16:06 -05:00
Tom Fifield
c071eed6a3
cherry-pick: unphone support ( #5174 )
...
* unphone part 1
* Unphone support
* update HWid unphone
---------
Co-authored-by: mverch67 <manuel.verch@gmx.de>
2024-10-28 09:25:25 +01:00
Jonathan Bennett
82145e0661
Cherry picks ( #5166 )
...
* fix compiler error std::find()
* fix wifi/bt connection status
* try-fix crash
* added 1200baud reset
---------
Co-authored-by: mverch67 <manuel.verch@gmx.de>
2024-10-28 10:21:57 +10:00
mverch67
94ff67e927
fix spiLock in RadioLibInterface
2024-10-27 10:55:23 +01:00
mverch67
a8bd1ee0da
stability: add SPI lock before saving via littleFS
2024-10-26 16:01:46 +02:00
github-actions[bot]
2568d4fcd8
[create-pull-request] automated change ( #5153 )
...
Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>
2024-10-26 15:51:28 +02:00
Thomas Göttgens
adf1bc4b0e
fix tracker build ( #5151 )
...
fix tracker 1000 build
2024-10-26 14:40:10 +02:00
Tom Fifield
e394bc6f8f
De-duplicate log-level determination ( #5148 )
...
RedirectablePrint had a method, getLogLevel, which did exactly
what code in SerialConsole did. Let's use that method rather than
duplicating the code.
2024-10-26 12:06:50 +02:00
Tom Fifield
a0e468b16e
Remove unused AXP debug code ( #5149 )
...
This was shuffled around a couple years ago, but hasn't been used
since, and we had two copies in the code. Delete it.
2024-10-26 12:04:46 +02:00
Thomas Göttgens
93318b4f56
T1000-E Peripherals ( #5141 )
...
* T1000-E Peripherals
- enable intelligent charge controller signals
- enable Accelerometer
- enable internal I2C bus
- provide Power to Accelerometer
* POC Accelerometer Code (wakeScreen is moot for that device, just test if the driver works)
* fix building without the sensor
2024-10-26 12:03:28 +02:00
Manuel
701293c2d3
fix missing includes ( #5138 )
2024-10-24 21:58:24 +02:00
github-actions[bot]
6485f037ec
[create-pull-request] automated change ( #5133 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-23 21:21:49 -05:00
Ben Meadors
ca5f71f774
Add device unique id ( #5092 )
...
* Add device unique id
* Trunk
* WIP
* Esp32 implementation
* Trunk
* Check for ESP_EFUSE_OPTIONAL_UNIQUE_ID
* Comment print
* Trunk
2024-10-23 21:18:37 -05:00
panaceya
57667f1028
ADD: Configurable UPLINK_ENABLED and DOWNLINK_ENABLED in userPrefs.h ( #5120 )
2024-10-23 05:26:44 -05:00
github-actions[bot]
4416ac57cf
[create-pull-request] automated change ( #5124 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-21 16:06:56 -05:00
Robert
a4705d2c19
add RFC 3927 IP address space to private IP checks ( #5115 )
...
Add the RFC 3927 IP address block (169.254.0.0/16), also referred to as IPIPA, to the private address checks for MQTT functionality.
2024-10-21 19:25:27 +11:00
aussieklutz
5ff8c904c8
MPR121 Touch IC Based Keypad Input Module ( #5103 )
...
Implements an input driver utilising the MPR121 Touch IC and is compatible with common MPR121 keypad PCB's.
- Implements a "candybar" phone style 12-key keypad
- multiple taps to rotate through the character set
- longpress for navigation keys
- keymap to allow arbitrary routing of MPR121 pin to button configuration
- extendable to other key functions
- Integrates with the existing kbI2cBase implementation
- Works with CannedMessageModule Freetext mode
- Can be used with common MPR121 boards, such as https://www.amazon.com/MPR121-Capacitive-Keyboard-Buttons-Sensitive/dp/B083R89CHB/ref=sr_1_6
- Of use for PCB based radios, where some form of low surface area low component freetext input is required, but also without consuming too many IO pins.
- Tested on a T3S3 connected to Wire1 (Second) interface.
- Demonstration of functionality: https://youtu.be/UI6QP6nGvhY
2024-10-21 17:53:36 +11:00
GUVWAF
09c8642aa6
Fix rebroadcasting encrypted packets when KNOWN_ONLY
or LOCAL_ONLY
is used ( #5109 )
2024-10-20 17:04:45 -05:00
Thomas Göttgens
18ca5b4449
Wide_Lora uses 12 symbols to be compatible with SX1280
2024-10-20 21:54:07 +02:00
Tom Fifield
2ba72c154a
Fix GPS_DEBUG output ( #5100 )
...
After the recent change to move logging line breaks to a central
location, GPS_DEBUG is now emitting one character per line,
making the logs unusable.
Patch uses local strings and appends to collate and then print
in the right places.
Fixes https://github.com/meshtastic/firmware/issues/5099
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-20 04:46:25 -05:00
Ben Meadors
7e3931b05d
Move 115200 baud GNSS probe earlier ( #5101 )
...
* Move 115200 baud GNSS probe earlier
* Even more optimized!
2024-10-19 20:05:52 -05:00
Ben Meadors
4575352d8c
Initial NODENUM_BROADCAST_NO_LORA implementation with NeighborInfo module ( #5087 )
...
* Initial NODENUM_BROADCAST_NO_LORA implementation with NeighborInfo module
* isBroadcast
* Trunkt
2024-10-19 12:48:00 -05:00
github-actions[bot]
b8b6894d58
[create-pull-request] automated change ( #5091 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-18 06:00:55 -05:00
Technologyman00
934be69663
Add buzzer feedback on GPS toggle ( #5090 )
...
Triple Press on buttons toggles GPS enable/disable.
This enhancement plays a triple-beep so that users of devices with buzzers can get audible feedback about whether they have turned the GPS off or on. This is especially valuable for screenless devices such as the T1000E where it may not be immediately obvious the GPS has been disabled.
2024-10-18 14:40:18 +11:00
Ben Meadors
ec9e562a77
Coerce minimum telemetry interval of 30 minutes on defaults and make new default interval one hour ( #5086 )
...
* Coerce minimum telemetry interval of 30 minutes on defaults and make new default interval one hour
* Smaller log messages
2024-10-17 13:33:52 -05:00
Johnathon Mohr
fbb6778415
Account for port specification with IP address for MQTT server. Some additional format validation. ( #5084 )
2024-10-17 05:05:35 -05:00
Johnathon Mohr
3e5f129fce
Ensure the MQTT address is an IPv4 before determining it's private ( #5081 )
...
* Ensure the mqtt address is an IPv4 (or at least not a domain) before determining it's private.
* check address length
2024-10-16 05:19:00 -05:00
Johnathon Mohr
ad214ea42a
Add MQTT exception for private IP address server ( #5072 )
...
Determines if the given IP address is a private address, i.e. not routable on the public internet.
These are the ranges: 127.0.0.1, 10.0.0.0-10.255.255.255, 172.16.0.0-172.31.255.255, 192.168.0.0-192.168.255.255.
If so, allow MQTT publication the same as existing localhost support.
2024-10-16 11:08:49 +11:00
Jeff Epler
25b557cf46
Fix incorrect va_start calls ( #5076 )
2024-10-15 17:15:10 -05:00
Tavis
696bcc60af
Ws85 updates : set want_ack, high_priority, add temperature. ( #5052 )
...
* ws85 updates
add temperature
add wantack
add high_priority
set lull to 0 if never set.
add the has_FIELD_NAME lines to ws85
* pbufs sync
* high insteaed of max reliability
* only set want_ack and high reliable if sensor_role set
* protobufs
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-10-15 05:09:18 -05:00
Andre K
af0db8a29f
retain fixed_position
during reset-nodedb ( #5067 )
2024-10-14 19:32:25 -05:00
Ben Meadors
420ab89f8d
Merge branch 'master' into oem-proto
2024-10-14 14:10:31 -05:00
github-actions[bot]
1212969ff7
[create-pull-request] automated change ( #5062 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-14 14:10:19 -05:00
Thomas Göttgens
e49e584ae1
drop oem.proto support in favor of userprefs
2024-10-14 19:39:07 +02:00
github-actions[bot]
655e58f424
[create-pull-request] automated change ( #5058 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-14 07:49:58 -05:00
Ludovic BOUÉ
0ec1684718
[Board]: Support for M5Stack CoreS3 (Part 1: radio) ( #5049 )
2024-10-14 19:13:22 +11:00
Thomas Göttgens
05e4a639a1
remove newline from logging statements. ( #5022 )
...
remove newline from logging statements in code. The LOG_* functions will now magically add it at the end.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-14 15:11:43 +11:00
Ben Meadors
fb9f361052
Implement rebroadcast mode NONE ( #5040 )
...
* Implement rebroadcast mode none
* Correct debug message
2024-10-12 06:17:44 -05:00
mverch67
363fd8ab98
fix GPIO0 mode after I2S audio
2024-10-12 10:24:41 +02:00
github-actions[bot]
9d0729c83f
[create-pull-request] automated change ( #5034 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-11 06:29:30 -05:00
Mark Trevor Birss
ec96256bcd
Update main.cpp
2024-10-11 11:39:37 +02:00
Ben Meadors
1f2d972e18
Remove waypoint and text message frames on NodeDB reset as well ( #5029 )
2024-10-10 19:24:37 -05:00
github-actions[bot]
cc87002a8a
[create-pull-request] automated change ( #5028 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-10 18:31:20 -05:00
GUVWAF
d55c08d5cd
Uplink DMs not to us if MQTT encryption enabled ( #5025 )
...
* Uplink DMs not to us if MQTT encryption enabled
* Only really need to try uplinking encrypted packet if MQTT encryption is enabled
* Add log about publishing nothing when packet is not decrypted and encryption_enabled is false
* Improve comment
2024-10-10 15:11:58 -05:00
Ben Meadors
e8f287a36f
Fixes critical error rendering before screen thread is running ( #5024 )
...
* Fixes critical error rendering before screen thread is running
* Fix GPS thread crashing on probe code attempting to %s print an enum
* 10
2024-10-10 14:58:42 -05:00
Ben Meadors
f5f9fd54a1
Revert "[create-pull-request] automated change ( #5019 )" ( #5026 )
...
This reverts commit 3b21856a76
.
2024-10-10 14:58:06 -05:00
Jonathan Bennett
f82585d9b0
Add localhost exception for dontMqttMeBro ( #5023 )
2024-10-10 14:06:47 -05:00
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
github-actions[bot]
3b21856a76
[create-pull-request] automated change ( #5019 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-10 06:45:22 -05:00
Thomas Göttgens
519ca9c0aa
Merge pull request #5018 from fifieldt/UC6580-QZSS
...
Enable QZSS on UC6580
2024-10-10 12:19:04 +02:00
Thomas Göttgens
23a52ee625
Merge pull request #5016 from meshtastic/fifieldt-patch-1
...
Fix bug sending wrong sleep command to U-Blox chips
2024-10-10 12:18:27 +02:00
Jonathan Bennett
7ff4bafe22
Disentangle NodeDB from the CryptoEngine ( #5013 )
2024-10-10 18:14:11 +08:00
Tom Fifield
149620f071
Enable QZSS on UC6580
...
@allanmac noted we were not enabling QZSS on the UC6580.
QZSS is an augmentation service that runs on the same frequency
as GPS, so turning it on should not have any impact on usage other
than improving performance for users in the Asia Pacific.
Fixes https://github.com/meshtastic/firmware/issues/5009
2024-10-10 17:56:32 +08:00
todd-herbert
0cbade989e
Check whether NimBLE is instantiated before using ( #5015 )
2024-10-10 17:37:25 +08:00
Tom Fifield
411834afba
Fix bug sending wrong sleep command to U-Blox chips
...
The "U-Blox readable" patch introduced a bug where sleep commands for the 10 and other versions were reversed.
2024-10-10 17:19:52 +08:00
Jonathan Bennett
ad8747d914
Possibly forward PKC DMs over MQTT ( #5012 )
2024-10-09 17:56:08 -05:00
GUVWAF
ddd4a45bc3
Ignore packets coming from the broadcast address ( #4998 )
2024-10-09 11:59:00 +08:00
Thomas Göttgens
4f8f96ab29
preliminary Othernet Dreamcatcher Support ( #4933 )
...
* preliminary Othernet Dreamcatcher 2206 Support
Need to adapt to 2301 final version
* second target for latest revision
* preliminary Othernet Dreamcatcher 2206 Support
Need to adapt to 2301 final version
* second target for latest revision
* preliminary Othernet Dreamcatcher 2206 Support
Need to adapt to 2301 final version
* second target for latest revision
* address comments
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-10-08 07:05:13 -05:00
Thomas Göttgens
ee5091fee5
Merge pull request #4661 from beegee-tokyo/master
...
Add RAK4631 Ethernet Gateway with working JSON output to MQTT
2024-10-08 13:26:31 +02:00
Ben Meadors
a05b009379
Posthumous tronkination
2024-10-08 05:33:38 -05:00
Thomas Göttgens
5db4918413
Merge branch 'master' into master
2024-10-08 12:33:34 +02:00
TheMalkavien
a0dd7b43d5
First version of a DeepSleep state for the RP2040 ( #4976 )
...
* Adding pico-extra utils
* RP2040 can now go to deepsleep
* First RP2040 DeepSleep code - TODO : do better and restore
* FIX RAK11310 compilation (revert SDK + missing defines)
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-08 05:24:37 -05:00
Thomas Göttgens
b1f045cab8
Merge branch 'master' into master
2024-10-08 12:17:13 +02:00
Ben Meadors
2e5399dbe4
De-conflict MLX90614_ADDR macro
2024-10-08 05:03:43 -05:00
Thomas Göttgens
9d9258a59b
conflict resolution
2024-10-08 11:41:54 +02:00
jhps
37f294d0a6
In shutdown, on button press, wake back to application rather than into the loader. ( #4997 )
...
Suggested by lyusupov and implemented by todd-herbert.
https://github.com/meshtastic/firmware/issues/4651
2024-10-07 20:39:59 -05:00
Ben Meadors
411aedaf5d
Add health telemetry module ( #4927 )
...
* Add stub health telemetry module
* Add detection for MAX30102 Health Sensor
It lives on I2C bus at 0x57, which conflicts with an existing
sensor. Add code to check the PARTID register for its response 0x15
per spec.
* Add detection for MLX90614
An IR Temperature sensor suitable for livestock monitoring.
* Add libraries for MLX90614 and MAX30102 sensors
* Fix Trunk
* Add support for MLX90614 IR Temperature Sensor
* Add support for MAX30102 (Temperature)
* Make it build - our first HealthTelemetry on the mesh.
If a MAX30102 is connected, its temperature will be sent to the
mesh as HealthTelemetry.
* Add spo2 and heart rate calculations to MAX30102
* Switch MLX90614 to Adafruit library
Sparkfun was having fun with SDA/SCL variables which we can avoid
by switching to this highly similar library.
* Enable HealthTelemetry if MLX90614 detected
* Change MLX90614 emissivity for human skin.
* Add health screen!
* Remove autogenerated file from branch
* Preparing for review
* Fix MeshService master sync from before.
* Prepare for review
* For the americans
* Fix native build
* Fix for devices with no screen
* Remove extra log causing issues
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-10-07 19:50:44 -05:00
HarukiToreda
1c54388bb8
Toggle Bluetooth with Fn+b shortcut ( #4977 )
...
* Toggle Blutooth with Fn+b shortcut
Problem:
As many are aware, ESP32 devices are known for their high power consumption. For instance, the Heltec ESP32 V3 draws around 110mA when powered on with the screen active and connected to a phone via Bluetooth. The Bluetooth radio alone is responsible for approximately 50mA of that consumption. For keyboard-based standalone devices, which rarely need Bluetooth other than for changing settings, users were forced to keep Bluetooth on regardless of necessity. There was no way to toggle Bluetooth on or off without physically connecting the device to a computer via serial or using the admin channel, which required another node for access.
Solution:
I implemented a new feature that allows users to turn off Bluetooth on keyboard devices by pressing Fn+b and turn it back on when needed. This enhancement significantly improves power efficiency for these devices.
Result:
With Bluetooth off, the device now consumes only 55mA. When combined with Power Save mode, the consumption can drop as low as 11mA, a substantial reduction from the previous 110mA. Users can still easily reconnect to a phone using the shortcut when necessary, offering greater flexibility and extended battery life.
* Remove 1 reboot at least.
I was able to prevent a reboot using the disableBluetooth(); command, current tested at 47-55mA, it doesn't require a reboot to turn off, but it does need reboot to turn back on.
* Update CannedMessageModule.cpp
2024-10-07 15:16:10 -05:00
Mictronics
94ecbad904
Fix storage of admin key when installing default config. ( #4995 )
...
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28
* Merge PR #420
* Fixed double and missing Default class.
* Use correct format specifier and fixed typo.
* Removed duplicate code.
* Fix error: #if with no expression
* Fix warning: extra tokens at end of #endif directive.
* Fix antenna switching logic. Complementary-pin control logic is required on the rp2040-lora board.
* Fix deprecated macros.
* Set RP2040 in dormant mode when deep sleep is triggered.
* Fix array out of bounds read.
* Admin key count needs to be set otherwise the key will be zero loaded after reset.
* Don't reset the admin key size when loading defaults. Preserve an existing key in config if possible.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-07 12:44:21 -05:00
Ben Meadors
53f189fff4
Remove has_rx * on installDefaultDeviceState ( #4982 )
2024-10-07 19:43:55 +08:00
Jonathan Bennett
93d874b013
set tz config from string if unset ( #4979 )
2024-10-07 05:09:19 -05:00
Tom Fifield
234a56446b
Add frequencies for Philippines ( #4951 )
...
There are three different frequencies available for Meshtastic
in the Philippines, each with pros and cons:
433 - 434.7 MHz <10 mW erp
868 - 869.4 MHz <25 mW erp
915 - 918 MHz <250 mW EIRP, no external antennna allowed
Philippines may also use LORA_24 unrestricted at up to 10mW, or up to
250mW if there is no external antennna.
Frequency rules in the Philippines are determined by aggregating the
information in laws, following the circulars referenced in the
[National Radio Frequency Allocation Table (NRFAT)](https://ntc.gov.ph/wp-content/uploads/2022/frequencyallocations/NRFAT_Rev_2020.pdf )
and then circulars that amend the circulars referenced in the NRFAT.
A full description of the regulatory basis can be found in the github issue:
https://github.com/meshtastic/firmware/issues/4948#issuecomment-2394926135
For 433MHz and 868MHz we refer to the Low Power Equipment rules for
"Non-specific Short Range Devices, Telemetry, Telecommand, Alarms,
Data In General and Other Similar Applications.".
For 915MHz and Wireless Data Network Services indoor device rules.
A device approved by the NTC is required for any use of Meshtastic
in the Philippines.
fixes https://github.com/meshtastic/firmware/issues/4948
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-10-06 09:31:13 -05:00
github-actions[bot]
830281803f
[create-pull-request] automated change ( #4974 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-06 08:14:03 -05:00
Tom Fifield
bb9f003c24
Switch EnvironmentTelemetry to use UnitConversions ( #4972 )
...
We already have a central class for unit conversions, switch
EnvironmentTelemetry to that in preparation for HealthTelemetry.
2024-10-06 07:55:21 -05:00
Tom Fifield
7febb41727
Trunk format Screen.cpp ( #4970 )
2024-10-06 07:37:20 -05:00
github-actions[bot]
ad031dd69f
[create-pull-request] automated change ( #4971 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-06 07:28:05 -05:00
Tom Fifield
ebc3a66d10
Which Module wants a UI Frame? ( #4967 )
...
Previously our debug message for screens blandly stated
"Module wants a UI Frame"
This patch replaces the word Module with the name of the Module
in need of a frame a frame, enhancing debugging ability.
2024-10-06 06:40:23 -05:00
Tom Fifield
553e572eb5
Coalesce duplicated method GetTimeSinceMeshPacket ( #4968 )
...
GetTimeSinceMeshPacket was duplicated in PowerTelemetry and
EnvironmentalTelemetry, albeit one had a cooler name than the other.
As we add HealthTelemetry, to avoid creating a third instance of
this method, let's move it somewhere that makese sense.
Adds a new method GetTimeSinceMeshPacket to MeshService and updates
EnvironmentTelemetry and PowerTelemetry to use it.
2024-10-06 06:40:06 -05:00
medentem
0952d1b252
UserPrefs - Preconfigure up to 3 channels, GPS Mode ( #4930 )
...
* added up to 3 channels via userprefs
* added up to 3 channels via userprefs
* added up to 3 channels via userprefs
* trunk fmt
* Added USERPREFS for GPS MODE
2024-10-06 15:32:07 +08:00
Tom Fifield
8a370c5381
Revert "Revert "Remove unused Jlink monitoring files ( #4953 )" ( #4959 )" ( #4966 )
...
This reverts commit 783466f116
.
2024-10-05 19:34:51 -05:00
Tom Fifield
0c90a2274f
Remove unused headers ( #4954 )
...
These files had existing since 2020 without being used/modified.
2024-10-05 05:39:13 -05:00
Ben Meadors
783466f116
Revert "Remove unused Jlink monitoring files ( #4953 )" ( #4959 )
...
This reverts commit 55049ed547
.
2024-10-05 05:24:59 -05:00
Tom Fifield
55049ed547
Remove unused Jlink monitoring files ( #4953 )
...
The NRF52 JLINK_MONITOR are unmodified copies of code from Nordic
(https://github.com/NordicPlayground/j-link-monitoring-mode-debugging ),
which are not used by our firmware and have not been touched in ~4 years.
2024-10-05 05:24:12 -05:00
Jonathan Bennett
7e946d15ca
Move ifndef to fix test ( #4950 )
2024-10-04 22:59:00 -05:00
Jonathan Bennett
4db0c75c8e
Don't use a static decleration in a header file ( #4944 )
...
* Don't use a static decleration in a header file
* Actually add the rest of the commit
2024-10-04 12:06:02 -05:00
Ludovic BOUÉ
e7cfadacd8
Add Panel_ILI9342 to TFTDisplay.cpp ( #4822 )
...
* Add Panel_ILI9342 to TFTDisplay.cpp
[Panel_ILI9342](https://github.com/lovyan03/LovyanGFX/blob/master/src/lgfx/v1/panel/Panel_ILI9342.hpp )
* Add ILI9342_DRIVER to TFTDisplay.cpp
* Add ILI9342_DRIVER to Screen.cpp
* Add ILI9342_DRIVER to ScreenFonts.h
* Add ILI9342_DRIVER to main.cpp
* Add ILI9342_DRIVER to images.h
* Add ILI9342_DRIVER to NodeDB.cpp
* Add ILI9342 to PortduinoGlue.cpp
* Add ili9342 to PortduinoGlue.h
* Fix formatting
* Update Screen.cpp to add ILI9342_DRIVER
* Update TFTDisplay.cpp
* Update TFTDisplay.cpp
* Update Screen.cpp
* Update Screen.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-10-04 07:47:14 -05:00
GUVWAF
673fe294f3
Add rxDupe
, txRelay
and txRelayCanceled
to LocalStats ( #4936 )
...
* Introduce `isFromUs()` and `isToUs()`
* Add rxDupe, txRelay and txRelayCanceled to LocalStats
2024-10-04 06:28:51 -05:00
gitbisector
236374491b
cleanupNeighbors() time difference fix ( #4941 )
2024-10-04 06:17:23 -05:00
Jonathan Bennett
befc2ece6f
Add a Userprefs Timezone String, to be replaced in the web flasher ( #4938 )
...
* Add a Userprefs Timezone String, to be replaced in the web flasher
* Use a volatile char buffer for slipstreamed strings.
* More refinement
2024-10-03 20:51:22 -05:00
github-actions[bot]
b2b60eccdb
[create-pull-request] automated change ( #4937 )
...
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
2024-10-03 14:54:18 -05:00
github-actions[bot]
0a93261c06
[create-pull-request] automated change ( #4926 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-10-02 06:14:55 -05:00
Ben Meadors
00f15459ec
Userprefs prefix macros for clarity and consistency ( #4923 )
...
* Convert userprefs macros to prefixed ones for clarity
* Fix key
2024-10-02 06:14:24 -05:00
todd-herbert
b8044c4983
Tweak dimensions for Canned Message Notifications ( #4924 )
2024-10-02 05:37:08 -05:00
Ben Meadors
18f12584ab
Consolidate and shrink down the re-used strings in logs ( #4907 )
...
* Consolidate and shrink down the re-used strings in GPS
* Condense all the things
---------
Co-authored-by: GUVWAF <thijs@havinga.eu>
2024-10-01 15:38:36 -05:00
Thomas Göttgens
cae2e43dc6
revert .... revert ....
2024-10-01 16:36:44 +02:00
Thomas Göttgens
0d175a918c
misc library updates and compiler warnings, trunk upgrade
2024-10-01 16:02:10 +02:00
Ben Meadors
dc55d7dd98
Trunk it
2024-09-30 18:07:11 -05:00
TheMalkavien
553514e3b7
Fix #4911 : Partially rework some code to remove warnings about potential non-aligned memory accesses ( #4912 )
...
* * Adding the -Wcast-align compilation flag for
the rp2040.
* * Some rework to use a struct to access radio data
* Buffer will not be accessed by arithmetic pointer anymore
* * Remplace arithmetic pointer to avoid Warning
* * Avoid 2 little artitmetic pointer
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-30 17:56:29 -05:00
github-actions[bot]
1dace9a508
[create-pull-request] automated change ( #4917 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-30 17:35:35 -05:00
Jonathan Bennett
dd587419c7
Regenerate public key on boot, to avoid accidental mismatch. ( #4916 )
...
* Regenerate public key on boot, to avoid accidental mismatch.
* Fix ifdefs
2024-09-30 17:06:31 -05:00
Ben Meadors
8ad89ba724
Allow for better target level Radiolib exclude plumbing ( #4906 )
...
* WIP
* LR11x0
* Anothern
* =1
2024-09-30 05:14:22 -05:00
GUVWAF
3492c9aa99
Construct StoreForwardModule for Portduino as well ( #4903 )
...
* Construct StoreForwardModule for Portduino as well
* Remove duplicate variables
2024-09-29 16:17:23 -05:00
Michael Gjelsø
d73cbf14d5
Get accelerometerThread running from AdminModule. ( #4886 )
2024-09-29 11:49:16 -05:00
dahanc
d41d4c930e
When importing config, keep Bluetooth on and defer rebooting until co… ( #4898 )
...
* When importing config, keep Bluetooth on and defer rebooting until config is committed
* One more place that was prematurely disabling Bluetooth
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-29 07:30:10 -05:00
Ben Meadors
403e5c304e
Fix: Not being able to stop Ext. Notification nagging for screenless devices ( #4899 )
...
* Move logic up to button thread for screen-less devices
* Comment doesn't apply
* Fiddy
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-09-29 07:29:53 -05:00
Ben Meadors
dcb2707d94
Return queue status on rate limit throttling ( #4901 )
2024-09-29 07:28:20 -05:00
Thomas Göttgens
7289f36600
Merge branch 'master' into t3s3-1121
2024-09-28 17:51:21 +02:00
Thomas Göttgens
06dab4fa13
Don't process RX when region unset
2024-09-28 16:27:38 +02:00
GUVWAF
12efedec42
Potential fix for bad Rx performance on T1000-E ( #4885 )
...
* Potential fix for bad Rx performance on T1000-E
* validate and refactor RF switching, eliminate godmode
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-09-28 09:24:13 -05:00
Thomas Göttgens
c650e7d273
finish TLora C6 Support, without bluetooth for now
2024-09-28 13:42:32 +02:00
Thomas Göttgens
f3213a5b2f
Merge branch 'master' into esp32-c6
2024-09-28 13:39:55 +02:00
caveman99
f28f5e07b7
[create-pull-request] automated change
2024-09-28 11:38:10 +00:00
Thomas Göttgens
62c306a14b
Merge branch 'master' into esp32-c6
2024-09-28 12:33:50 +02:00
Thomas Göttgens
016e1005df
Merge branch 'master' into t3s3-1121
2024-09-28 11:37:42 +02:00
Jonathan Bennett
6e1aa52723
More store-n-forward on native
2024-09-28 11:37:27 +02:00
Jonathan Bennett
5ff265c196
First stab at enabling store and forward for Native
2024-09-28 11:37:27 +02:00
Thomas Göttgens
1f08401070
Merge pull request #4892 from dahanc/master
...
Only log "Setting DIO2 as RF switch" when doing so and fix battery level
2024-09-28 11:36:54 +02:00
Thomas Göttgens
a39280e9df
Merge pull request #4893 from meshtastic/softSleep
...
Only check hardsleep threshold if GPS softsleep is supported
2024-09-28 11:35:57 +02:00
GUVWAF
48fa9f2242
Only check threshold if GPS softsleep is supported
2024-09-28 09:34:37 +02:00
David Huang
7f59cb54ef
Instead of having LipoBatteryLevel forward requests to AnalogBatteryLevel if there's no Lipo sensor, just have lipoInit return false. The forwarding didn't work because it never called analogInit.
2024-09-27 23:35:57 -05:00
David Huang
36a66df923
Don't log "Setting DIO2 as RF switch" unless we're actually going to do it. Also, if there's an error setting DIO2, log the error code.
2024-09-27 21:53:13 -05:00
Ben Meadors
8efc15f4d9
Ignore seen phoneapi packets ( #4888 )
...
* Ignore PhoneAPI packet if it's been seen
* ignoramus
* Also keep track of the last 20 packet IDs
* Fill
* Make this match the nimble one
* Add the log too
* Ignore zero ID packets
* Remove message entirely
* TRunkt
2024-09-27 20:09:53 -05:00
Ken Piper
0e0811eccd
Implement GPIO pin allowlist ( #4882 )
2024-09-27 19:31:05 -05:00
Jonathan Bennett
fd1b68513a
Add sx126x_ant_sw for Native ( #4887 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-27 19:29:44 -05:00
Thomas Göttgens
cb1cf055b1
Merge branch 'master' into esp32-c6
2024-09-27 22:51:29 +02:00
Thomas Göttgens
6c2e60d415
Merge branch 'master' into t3s3-1121
2024-09-27 22:22:42 +02:00
Jonathan Bennett
ef223b1195
use delete[] to avoid leaking memory ( #4883 )
2024-09-27 14:55:55 -05:00
Ben Meadors
30356dcd97
Retroactive trunkinate
2024-09-26 19:46:17 -05:00
Jonathan Bennett
5f6d9c3e27
Add pkc test ( #4878 )
...
* Add a second delay() to get the unit tests running on Rak4631
* Add test_PKC_Decrypt
* Remove cruft from test case
2024-09-26 19:33:08 -05:00
TheMalkavien
4794cdb120
Fix (some ?) memory alignment issues on the crypto part - resulting in crashes or strange behavior ( #4867 )
...
* Replace multiple potentially non aligned pointer dereference (#4855 )
First step to fix some Crypto crashes or strange behaviors
* Makes the two Crypto byte buffers aligned (#4855 )
Fix #4855 , and probably multiple Crypto problems depending on hardware
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
2024-09-26 17:44:11 -05:00
Thomas Göttgens
a32233bb92
fixa de typo too
2024-09-26 12:15:37 +02:00
Thomas Göttgens
fff2e435b5
Merge branch 'master' into t3s3-1121
2024-09-26 12:13:45 +02:00
Thomas Göttgens
8f84a96b69
refactor: typo fix in macro definition
2024-09-26 12:12:08 +02:00
Thomas Göttgens
11c17ec78c
oh well
2024-09-26 11:39:35 +02:00
Thomas Göttgens
b4bdf604f5
tryfix
2024-09-26 11:08:49 +02:00
Thomas Göttgens
833d7f65bc
fix toolchains between old and new ESP32
2024-09-26 10:18:45 +02:00
Ben Meadors
9bebad2dbe
Trunkt
2024-09-25 19:54:14 -05:00
Szetya
14019f2afa
Update WaypointModule.cpp ( #4870 )
...
In INVERTED display mode, the compass ring was not visible.
2024-09-25 19:09:27 -05:00
Thomas Göttgens
12481b568a
fix a lot of nuisances reported by cppcheck ( #4872 )
...
* fix a lot of nuisances reported by cppcheck
* fix portduino
2024-09-25 19:09:06 -05:00
Thomas Göttgens
3072b2a444
Merge branch 'master' into esp32-c6
2024-09-26 00:20:00 +02:00
Thomas Göttgens
5c77e29d66
Merge branch 'master' into t3s3-1121
2024-09-26 00:17:41 +02:00
Thomas Göttgens
118809fbfc
Account for size of Envelope when allocating buffer. ( #4819 )
...
* Account for size of Envelope when allocating buffer.
INFO | 09:29:20 568 [mqtt] Subscribing to msh/2/e/LongFast/+
INFO | 09:29:20 568 [mqtt] Subscribing to msh/2/json/LongFast/+
INFO | 09:29:20 568 [mqtt] Subscribing to msh/2/e/PKI/+
DEBUG | 09:29:20 568 [mqtt] Publishing enqueued MQTT message
ERROR | 09:29:20 568 [mqtt] Panic: can't encode protobuf reason='bytes size exceeded'
assert failed: size_t pb_encode_to_bytes(uint8_t*, size_t, const pb_msgdesc_t*, const void*) mesh-pb-constants.cpp:18 (0)
* save some mem
2024-09-25 17:13:04 -05:00
Ben Meadors
baf9cf5a59
Encapsulate RadioLibInterface receive IRQ logic ( #4866 )
...
* Encapsulate RadioLibInterface receive IRQ logic
* More concise
* Trunk
2024-09-25 16:19:18 -05:00
Ben Meadors
3a2fa118a2
Merge branch 'master' into detsensor_broadcast_changes
2024-09-25 13:57:49 -05:00
Thomas Göttgens
d4e8452c60
Tbeams have no ADC ( #4871 )
2024-09-25 13:51:11 -05:00
Ben Meadors
4128d75ad4
IS_ONE_OF macro to make long chains of conditions more concise and easy to follow ( #4860 )
...
* Is one of macro
* Moar
* Whoops
* Trunk
* isOneOf function backed macro
2024-09-25 13:50:00 -05:00
Augusto Zanellato
ed4527cfa5
address review comments
2024-09-25 20:02:22 +02:00
Thomas Göttgens
26112ba001
Support T3S3 LR1121 variant
2024-09-25 18:56:17 +02:00
Ben Meadors
a7c379961a
New detection sensor trigger type value
2024-09-25 07:01:15 -05:00
Ben Meadors
02d9d8b76c
Merge branch 'master' into detsensor_broadcast_changes
2024-09-25 06:30:09 -05:00
todd-herbert
d1138d51e5
Wrangle module frames with I2C keyboard ( #4817 )
...
* Only suppress UI nav if module using keyboard input
* CardKB combo to dismiss text message and waypoint
Currently assigned to Fn + Delete
2024-09-25 06:27:04 -05:00
Ben Meadors
31e952c72e
Merge branch 'master' into detsensor_broadcast_changes
2024-09-25 06:26:14 -05:00
github-actions[bot]
9d7938f570
[create-pull-request] automated change ( #4865 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-25 06:25:56 -05:00
David
9456c42fc0
Refactor AccelerometerThread.h ( #4831 )
...
* Initial upload
* Tidy up
* Update ICM20948Sensor.cpp
* Update AccelerometerThread.h
* Initial upload
* Tidy up
* Update ICM20948Sensor.cpp
* Update AccelerometerThread.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-25 06:25:31 -05:00
David
40b3dbaa70
Add MAX17048 lipo fuel gauge ( #4851 )
...
* Initial commit
* Update MAX17048Sensor.cpp
* Update EnvironmentTelemetry.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-25 05:34:53 -05:00
dylanli
1293c5cdd4
Support for Seeed XIAO S3 Board ( #4850 )
...
* feat: add seeed-xiao-s3 board defination and pins defination
* chore: add SEEED XIAO S3 into mesh pb
* fix: fix trunk fmt check failed
* Trunk fmt variant.h
* Restore automatically generated file
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-25 18:27:14 +08:00
caveman99
f73aa8aa82
[create-pull-request] automated change
2024-09-25 08:28:33 +00:00
Tom Fifield
e6e05dda1e
Merge branch 'master' into master
2024-09-25 15:10:48 +08:00
Thomas Göttgens
65104d5d8c
fix #4844 ( #4859 )
2024-09-24 16:51:07 -05:00
Augusto Zanellato
881f133021
Merge branch 'master' into detsensor_broadcast_changes
2024-09-24 23:00:35 +02:00
Tom Fifield
adb094ebc9
Remove old comments from main ( #4849 )
...
These comments were circa 4 years old. Remove them.
2024-09-24 06:08:32 -05:00
Tom Fifield
b709d47832
Fix Ublox M10 Setup ( #4842 )
...
There is no EXTINT pin available on the Tdeck, which uses
the Ublox M10 GPS. Therefore our previous hack to use that pin
makes the GPS not work. That workaround was implemented to
fix sleep issues which have now since been fixed with the
state machine.
This patch restores the state prior to the hack, which is
known-working.
Additionaly, it was discovered that M10s hate it when you
try and save to non-extistent eeprom/SPI flash.
This patch creates a new SAVE command for the M10 that fixes
this issue.
Many thanks to @MisterC925 whose report and testing was
essential for this fix.
fixes https://github.com/meshtastic/firmware/issues/4625
Co-authored-by: Ken McGuire <kenm@paonia.com>
2024-09-24 05:50:03 -05:00
Augusto Zanellato
01d42d4728
Merge branch 'master' into detsensor_broadcast_changes
2024-09-24 11:53:41 +02:00
Augusto Zanellato
ce480ae626
fix comment style
2024-09-24 11:16:04 +02:00
Augusto Zanellato
139686d639
bump protobufs
2024-09-24 11:11:16 +02:00
Jonathan Bennett
c39d270f40
Build message in printBytes, to not spam BLE log ( #4843 )
2024-09-24 12:41:28 +08:00
Tom Fifield
428a567078
Wire 1 is PIN_WIRE1_SDA ( #4840 )
...
Based on #4745 , PIN_WIRE1_SDA is the 'second' wire interface.
This pach amends the check to determine whether a device has two
wire interfaces should use PIN_WIRE1_SDA, rather than PIN_WIRE_SDA.
2024-09-23 19:16:44 -05:00
Ben Meadors
0ad1f776ae
Manually regen protos for now
2024-09-23 18:53:01 -05:00
Ben Meadors
e78c706999
Fix RAK4631 accelerometer ( #4837 )
2024-09-23 18:40:54 -05:00
Ben Meadors
c442cd7267
Remove some straggler now
2024-09-23 15:53:42 -05:00
Ben Meadors
9cbabb0468
Teardown bluetooth phoneAPI better and fix client notification issue ( #4834 )
...
* Teardown bluetooth phoneAPI better and fix client notification issue
* Fix client notification draining
2024-09-23 15:51:05 -05:00
Jonathan Bennett
9a7a4d3814
Check for null before printing debug ( #4835 )
2024-09-23 13:56:26 -05:00
Jonathan Bennett
fa1cc59841
Rename message length headers and set payload max to 255 ( #4827 )
...
* Rename message length headers and set payload max to 255
* Add MESHTASTIC_PKC_OVERHEAD
* compare to MESHTASTIC_HEADER_LENGTH
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-09-23 09:20:32 -05:00
Augusto Zanellato
d4dc4dec76
Merge branch 'master' into detsensor_broadcast_changes
2024-09-23 16:20:20 +02:00
Augusto Zanellato
be01c18c74
DetectionSensor: more flexible triggering
2024-09-23 16:15:44 +02:00
Ben Meadors
e8829b8f52
Refactor and consolidate time window logic ( #4826 )
...
* Refactor and consolidate windowing logic
* Trunk
* Fixes
* More
* Fix braces and remove unused now variables.
There was a brace in src/mesh/RadioLibInterface.cpp that was breaking
compile on some architectures.
Additionally, there were some brace errors in
src/modules/Telemetry/AirQualityTelemetry.cpp
src/modules/Telemetry/EnvironmentTelemetry.cpp
src/mesh/wifi/WiFiAPClient.cpp
Move throttle include in WifiAPClient.cpp to top.
Add Default.h to sleep.cpp
rest of files just remove unused now variables.
* Remove a couple more meows
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-09-23 08:58:14 -05:00
Todd Herbert
1487ca2a30
Tidier macros
2024-09-24 00:25:43 +12:00
Todd Herbert
11598beb16
Implement optional second I2C bus for NRF52840
...
Enabled at compile-time if WIRE_INFERFACES_COUNT defined as 2
2024-09-24 00:25:43 +12:00
Tom Fifield
1f8aa1efc7
Minor fix ( #4666 )
...
* Minor fixes
It turns out setting a map value with the index notation causes
an lookup that can be avoided with emplace. Apply this to one line in
the StoreForward module.
Fix also Cppcheck-determined highly minor performance increase by
passing gpiochipname as a const reference :)
The amount of cycles used on this laptop while learning about these
callouts from cppcheck is unlikely to ever be more than the cycles
saved by the fixes ;)
* Update PortduinoGlue.cpp
2024-09-23 18:22:06 +08:00
Jonathan Bennett
18aac0ba25
Consider the LoRa header when checking packet length
2024-09-22 16:09:46 -05:00
Tom Fifield
2e24d244be
Make Ublox code more readable ( #4727 )
...
* Simplify Ublox code
Ublox comes in a myriad of versions and settings. Presently our
configuration code does a lot of branching based on versions being
or not being present.
This patch adds version detection earlier in the piece and branches
on the set gnssModel instead to create separate setup methods for Ublox 6,
Ublox 7/8/9, and Ublox10.
Additionally, adds a macro to make the code much shorter and more
readable.
* Make trunk happy
* Make trunk happy
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-22 10:00:32 -05:00
Thomas Göttgens
906b0233d2
Merge pull request #4801 from meshtastic/heltec-wireless-bridge
...
heltec-wireless-bridge
2024-09-21 16:15:28 +02:00
thebentern
f324ab7de7
[create-pull-request] automated change
2024-09-21 15:16:31 +02:00
todd-herbert
54f56438da
Re-order doDeepSleep ( #4802 )
...
Make sure PMU sleep takes place before I2C ends
2024-09-21 07:59:17 -05:00
Thomas Göttgens
e6c7c80b3f
Raspberry Pico2 - needs protos
2024-09-21 14:50:19 +02:00
Thomas Göttgens
52cef05c70
heltec-wireless-bridge
...
requires Proto PR first
2024-09-21 12:42:51 +02:00
Thomas Göttgens
8e5928276b
update pin definitions
...
update toolchain
enable telemetry
fix compilation
2024-09-21 11:27:14 +02:00
Thomas Göttgens
f1cf2bf413
First stab at ESP32-C6 support for TLora-C6
2024-09-21 11:24:52 +02:00
todd-herbert
ba31a7c753
Honor flip & color for Heltec T114 and T190 ( #4786 )
...
* Honor TFT_MESH color if defined for Heltec T114 or T190
* Temporary: point lib_deps at fork of Heltec's ST7789 library
For demo only, until ST7789 is merged
* Update lib_deps; tidy preprocessor logic
2024-09-20 13:27:41 -05:00
Ben Meadors
85d722232e
Additional decoded packet ignores
2024-09-20 07:35:26 -05:00
Ben Meadors
921d92c649
Drop received packets from self
2024-09-20 06:55:16 -05:00
Jonathan Bennett
82f1be33aa
Merge branch 'master' into master
2024-09-19 19:43:05 -05:00
Ben Meadors
91b4199f9d
Revert "DetectionSensor: broadcast all state changes" ( #4776 )
2024-09-19 10:46:18 -05:00
Augusto Zanellato
2ebfcea94e
DetectionSensor: broadcast all state changes
...
Closes #4753
2024-09-18 19:43:23 +02:00
github-actions[bot]
deada41cee
[create-pull-request] automated change ( #4765 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-18 10:49:12 -05:00
Ben Meadors
777bcf691a
Initial PhoneAPI rate-limiting of messages on certain ports ( #4756 )
2024-09-18 10:13:07 -05:00
Tom Fifield
35e1c401e2
PMSA0031 sensors require ~3secs before coming up on I2C ( #4743 )
...
* PMSA0031 sensors require ~3secs before coming up on I2C
As reported by @MALAONE1 and debugged by @shodan8192 , PMSA0031s
on a RAK4631 take 3 seconds before they can become detectable on I2c.
Add a delay(4000) before I2C scan if the air quality sensor pin
is defined.
Fixes https://github.com/meshtastic/firmware/issues/3690
* Remove 4 second wait and rescan during air quality init for the sensor
* works without but this triggers my OCD
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-18 10:12:49 -05:00
GUVWAF
db4a793aa9
Merge branch 'master' into master
2024-09-18 11:38:40 +02:00
Jonathan Bennett
2d52803dbd
Add new admin error types ( #4750 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-17 21:09:24 -05:00
Jonathan Bennett
c78302a2ee
Add hasPKC to deviceMetadata ( #4755 )
2024-09-17 19:34:05 -05:00
github-actions[bot]
923458bc18
[create-pull-request] automated change ( #4754 )
...
Co-authored-by: jp-bennett <5630967+jp-bennett@users.noreply.github.com>
2024-09-17 17:55:16 -05:00
Ben Meadors
50fb4ab22a
Implement optional hops_away on NodeInfo/Lite ( #4747 )
...
* Implement optional hops_away on NodeInfo/Lite
* Trunk
2024-09-17 12:08:04 -05:00
Thomas Göttgens
f5016763fd
change evaluation order to silence warning about "found" ( #4749 )
2024-09-17 10:33:21 -05:00
Ben Meadors
2a6921292e
Implement CoT detail support in TAKPacket ( #4748 )
...
* Implement CoT detail support in TAKPacket
* dest, src
* More coffee is needed
* SAVE
2024-09-17 10:05:55 -05:00
github-actions[bot]
a47570d65a
[create-pull-request] automated change ( #4746 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-17 06:52:42 -05:00
Andre K
db4dc88d6f
feat: enable remote admin to set/clear fixed positions ( #4713 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-17 06:50:49 -05:00
Tom Fifield
be306cc384
Increase GPS FIFO Buffer Size for RP2040 ( #4741 )
...
As discovered and tested by @Mictronics, default Serial FIFO size
on the Pico is 32bytes, which is not enough for GPS messages.
This patch increases the Serial GPS FIFO buffer size to 256
for the RP2040 Architecture
fixes https://github.com/meshtastic/firmware/issues/3989
2024-09-17 06:48:56 -05:00
Jonathan Bennett
a967dd52f3
More useful PKC logging ( #4742 )
2024-09-17 06:31:39 -05:00
Ben Meadors
11378325e0
Separate GPS and NTP RTCQuality logic and allow GPS time to always set us ( #4721 )
2024-09-17 06:29:18 -05:00
Thomas Göttgens
4b5bcf52d2
Merge pull request #4691 from S5NC/rak11200-pin-name-correction
...
Rak11200 pin name correction
2024-09-17 11:42:40 +02:00
Thomas Göttgens
5ba418b2cd
Merge pull request #4744 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-09-17 09:27:42 +02:00
Thomas Göttgens
bc753e6903
trunk fmt
2024-09-17 15:24:11 +08:00
S5NC
34a543ec74
Update main.cpp
2024-09-17 15:24:11 +08:00
S5NC
06cd9abd81
Update SX126xInterface.cpp
2024-09-17 15:24:11 +08:00
S5NC
af30485611
Update main.cpp
2024-09-17 15:24:11 +08:00
S5NC
cd6bd1e9a3
Update main.cpp
2024-09-17 15:24:11 +08:00
Tom Fifield
6f1db6fc63
Fix I2C address for QMC5883L.
...
QMC5883L and HMC5883L are 3-axis compasses which are often confused.
As reported by @Africmod, we had the wrong I2C address for the QMC5883L.
This patch fixes the address and adds its HMC5883L so we keep info
about both.
Fixes https://github.com/meshtastic/firmware/issues/4144
2024-09-17 13:48:10 +08:00
jp-bennett
39c90dd581
[create-pull-request] automated change
2024-09-17 02:53:44 +00:00
Todd Herbert
33e6f7f6e0
Hollow triangle for E-Ink; trunk formatting
2024-09-17 08:27:00 +08:00
Szetya
97fd189f43
Compass update
...
https://github.com/meshtastic/firmware/issues/4494
New compass arrow and replacement of the north marker with a small circle.
2024-09-17 08:27:00 +08:00
Thomas Göttgens
b3343303a9
write firmware version and hardware platform to Flash memory
2024-09-16 21:36:54 +02:00
github-actions[bot]
f37276d5fc
[create-pull-request] automated change ( #4736 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-16 10:32:21 -05:00
Tom Fifield
41a769aa06
Fix Heltec T114 vendor definition
...
@dahanc pointed out there was an extra one in there.
2024-09-16 13:55:27 +08:00
Ben Meadors
8d57b6164a
Add Heltec T1114 hardware model to build ( #4719 )
2024-09-15 20:37:19 -05:00
Ben Meadors
dc3eba9100
Expand to MqttClientProxyMessage_size ( #4726 )
2024-09-15 18:57:02 -05:00
Jonathan Bennett
ff8baa1c85
Don't use PKC on a non-primary channel unless specifically requested ( #4715 )
...
* Don't use PKC on a non-primary channel unless specifically requested
* Don't change from channel 0 if we can send a PKC packet.
2024-09-15 09:26:43 -05:00
Jonathan Bennett
3a10a27851
Actually restrict remote hardware to gpio channel ( #4717 )
2024-09-15 06:27:59 -05:00
GUVWAF
8893529653
Make local stats number of Rx packets sum of good and bad ( #4709 )
2024-09-14 17:53:27 -05:00
Jonathan Bennett
1ab5bf4355
Use the time.age() value to correct stale GPS times ( #4705 )
...
* Use the time.age() value to correct stale GPS times
* Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-14 07:44:40 -05:00
Ben Meadors
ae791ca7e1
Add buildstamp epoch to initial debug output
2024-09-13 19:43:50 -05:00
Ben Meadors
35cfe4318a
Stop past timestamps from setting our system time RTC ( #4704 )
...
* Ignore attempts to set times in the past (before our build epoch)
* TRONK
2024-09-13 19:42:31 -05:00
GUVWAF
b39aca8d11
Merge branch 'master' into master
2024-09-13 08:49:04 +02:00
GUVWAF
9f3a1c1214
Trunk fmt
2024-09-12 19:12:57 +02:00
Manuel
625254cf90
Support Seeed SenseCAP Indicator ( #4279 )
...
* preliminary target environment
* add debug tool
* add screen definitions
* screen definitions
* remove rtc, debug build
* correct rotation
* Add real hwmodel
* fix width
* use IO expander ports
* link to modified arduino-esp32
* added config_detail
* rotate screen
* remove touch INT
* add delay to display log
* color log and radiolib log
* LoRa init
* make trunk happy
* add lovyanGFX patch lib for io expander
* fix lib
* fix display&touch function
* touch driver I2C scan
* remove delay
* build for release
* minor code cleanup
* allow trunk to be happy
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-09-12 06:44:30 -05:00
beegee-tokyo
c4c85777d0
Another try to get the code format correct.
2024-09-12 13:20:09 +08:00
beegee-tokyo
ca8d2204ba
Fix formatting
2024-09-12 11:06:13 +08:00
beegee-tokyo
35cdc81d45
Disable SCREEN and enable TZ
2024-09-12 09:53:13 +08:00
panaceya
910b6b7512
OLED_ can be configured via userPrefs.h ( #4624 )
2024-09-11 19:31:30 -05:00
Tom Fifield
371c3e05bf
Beautify GPS_DEBUG getACK logging code ( #4672 )
...
This getACK is used to look for ASCII responses, so print ASCII
when GPS_DEBUG is enabled.
This markedly assisted with recent AG3335 debugging. It works great
with other chips too (tested eg ATGM336H). Even UBLOX prints
understandable "GPTXT,01,01,01,PDTI inv format*35." responses.
Credit to bluebrolly. on discord.
2024-09-11 19:30:29 -05:00
Michael Gjelsø
f37df4d6bf
Radiomaster Bandit Accelerometer support ( #4667 )
...
* Added STK8xxxx Accelerometer chip
Added detection of STK8BA53 to I2C scanner.
Change the way and order MCP9808, lLISH3DH and STK8BA53 is detected since they all shares the same I2C address.
* Accelerometer support Radiomaster Bandit.
Enables tap to wake screen if enabled in config,
* Trunk
Trunk
2024-09-11 18:53:17 -05:00
Ben Meadors
9ac0e26d42
Add option to preserve private key for factory reset (config) ( #4679 )
...
* Add option to preserve private key for factory reset (config)
* Typo fix
* Copy the key in the right direction, and set the size.
* Don't set the key size back to 0 right after setting it to 32.
* Set the key size before using it to do a memcpy.
* Use the right key_size for backing up private_key
* Don't factoryReset() for a missing nodeDB
* Disable Bluetooth in AdminModule when resetting device settings or nodeDB to avoid race
* Add checks for valid objects before deinit bluetooth
* Add disableBluetooth to handleSetConfig, handleSetModuleConfig, and commit settings
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-09-11 08:42:26 -05:00
zerolint
6724f1f7ea
Print Unix epoch on time_t 64bit platforms ( #4673 )
...
Fixes (#4600 ) by using unsigned 32bit for epoch.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-10 15:51:28 -05:00
Ben Meadors
013021941e
Remove scaling of smart position broadcast minimum interval specifically ( #4677 )
...
* Remove scaling of smart position broacast minimum interval specifically
* Trunk
2024-09-10 15:30:40 -05:00
Jonathan Bennett
4e850296b6
Fix repeatedly getting new NodeNum and add more debug ( #4674 )
...
* All the debug
* Change `memccpy()` to `memcpy()`
* Brint all the bytes of the MAC Address from the NodeDB
* Check for blank MAC Address in ourown NodeDB entry
* One more `memccpy()`
* Clean-up debug log
---------
Co-authored-by: GUVWAF <thijs@havinga.eu>
2024-09-10 13:24:57 -05:00
beegee-tokyo
0c42f79038
Merge branch 'master' of https://github.com/beegee-tokyo/firmware
2024-09-10 18:43:53 +08:00
beegee-tokyo
4fc3782ea3
Fix traceroute, neighborinfo and waypoint
2024-09-10 18:43:47 +08:00
Ben Meadors
9ac4a0114f
Merge branch 'master' into master
2024-09-10 05:25:39 -05:00
beegee-tokyo
9188786581
Fix #ifndef and rename the variant
2024-09-10 11:58:25 +08:00
GUVWAF
5537f98dd6
Merge branch 'master' into trFix
2024-09-09 21:29:37 +02:00
GUVWAF
4ed12bf21d
Try fix repeatedly getting a new NodeNum ( #4670 )
2024-09-09 14:22:32 -05:00
GUVWAF
2f9dcee954
Fix size calculation of route/SNR array
2024-09-09 19:13:00 +02:00
Thomas Göttgens
68d6ff8c24
Merge pull request #4650 from fifieldt/AG3352
...
Add support for AG3352 and fix AG3335 support
2024-09-09 16:40:44 +02:00
Tom Fifield
dc8cc122a6
Add explicit to JSONValue constructors ( #4665 )
2024-09-09 09:20:21 -05:00
Tom Fifield
e9d55de3cb
Fix out-of-bound array access in T1000X Sensor ( #4663 )
...
if u8i == 135, then u8i++ runs, the loop exits since u8i == 136,
then value for u8i is 136 after the for loop.
then in the next line, ntc_res2[u8i] will read past the end
of the array
2024-09-09 07:54:11 -05:00
David
dacb452d47
Bugfix ( #4660 )
2024-09-09 07:16:58 -05:00
Thomas Göttgens
e985ee878f
Merge pull request #4658 from fifieldt/zombiegps
...
If GPS sleepTime is Zero, don't sleep.
2024-09-09 12:12:53 +02:00
Thomas Göttgens
b2e2f1dba3
Merge branch 'master' into AG3352
2024-09-09 11:10:36 +02:00
beegee-tokyo
a5b79528b3
Add RAK4631 Ethernet Gateway with working JSON output to MQTT
2024-09-09 11:56:37 +08:00
Tom Fifield
ebe1b40bee
If GPS sleepTime is Zero, don't sleep.
...
At the moment if the result of sleepTime calculations comes out
to zero, we put the GPS into HARDSLEEP (losing all its status) and
then immediately make it ACTIVE again.
This patch avoids that toga.
fixes https://github.com/meshtastic/firmware/issues/4657
2024-09-09 09:28:04 +08:00
Tom Fifield
6217e97c41
Add support for AG3352 and fix AG3335 support
...
AG33352 is a Mediatek/Airoha GPS/GLONASS/Galileo/BeiDou receiver.
Patch adds relevant detection and setup code.
Thanks to Bluebrolly and kongduino for providing the relevant
information and testing.
This patch also fixes support for the A3335, which is a related chip.
The setup and detection code now works as tested on a real life
T-1000E!
Thanks to @gpsfan for the guidance.
2024-09-09 09:06:05 +08:00
Tom Fifield
e470619e3d
Remove undefined declaration ( #4652 )
...
The getNMEA method was introduced to the header but never defined
in code. As it's unused, remove it.
2024-09-08 12:33:56 -05:00
Jonathan Bennett
bf34329033
Adds the data bitfield and ok_to_mqtt bit ( #4643 )
...
* Don't filter PKI packets just for being encrypted.
* Add ok_to_mqtt config and bit
* Bitfield
* Adjust dontmqttmebro logic.
* Manipulate bitfield only in router.cpp
* Want_ack is not want_response
* Bitfield macros
* Use new Bitfield macro in MQTT.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-07 18:21:59 -05:00
Thomas Göttgens
8e88b9e819
Merge pull request #4646 from gitbisector/batt_stat
...
Report PWD when no battery present.
2024-09-07 10:58:17 +02:00
Tom Fifield
ba28ffb65a
Simplify GNSS Probe code
...
This patch takes inspiration from our I2CDetect code where we have
many sensors that can be detected rather simply. It creates a new
macro,
PROBE_SIMPLE(Chip name, Command to run, response, Driver, timeout)
and converts existing simple cases to use this macro.
2024-09-07 11:59:45 +08:00
gitbisector
9651b5a0ec
Merge branch 'master' into batt_stat
2024-09-06 17:23:38 -07:00
git bisector
2f2ddae12a
Report PWD when no battery present.
2024-09-06 17:19:53 -07:00
github-actions[bot]
c77b89d85c
[create-pull-request] automated change ( #4645 )
2024-09-06 18:51:22 -05:00
caveman99
b8cee51e84
[create-pull-request] automated change
2024-09-06 20:27:28 +00:00
Thomas Göttgens
35b47467c7
Merge pull request #4639 from zerolint/master
...
RAK13800 Ethernet improvements
2024-09-06 15:11:10 +02:00
Thomas Göttgens
8f35a42f4f
tryfix #4384 ( #4642 )
...
* tryfix #4384 - don't assume we want that functionality if the Accelerometer was found. This is only for T-Watch
* Add config.display.wake_on_tap_or_motion default to RAK
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-06 06:55:56 -05:00
Ben Meadors
ee68e727ed
Merge branch 'master' into master
2024-09-06 06:25:07 -05:00
Robert Fisk
962d9ff220
Move defines to input broker
2024-09-06 11:54:31 +02:00
Robert Fisk
8e0a342f06
Gather canned message magic numbers into header defines.
2024-09-06 11:54:31 +02:00
Thomas Göttgens
55292f8a84
Merge pull request #4638 from fifieldt/CRLF
...
Add missing linefeeds to gps code
2024-09-06 11:46:57 +02:00
zerolint
d72a836e07
RAK13800 Ethernet improvements
...
Fixes (#3618 ) by allowing more time for slower requests.
Resolve Syslog not maintaining client causing issues on RAK13800.
Resolve Ethernet static IP setting subnet as gateway IP.
Reduce comment and log message ambiguity around API.
Remove duplicate #if !MESHTASTIC_EXCLUDE_WEBSERVER block.
2024-09-06 11:45:43 +02:00
Thomas Göttgens
26a3841a93
Merge pull request #4637 from todd-herbert/gps-icon
...
Update E-Ink GPS icon immediately when triple-pressing user button
2024-09-06 11:25:12 +02:00
Thomas Göttgens
011e640e95
Add LR11x0 firmware version to init.
2024-09-06 09:47:43 +02:00
Tom Fifield
e4e1ea971f
Add missing linefeeds to gps code
...
As reported by @caveman99, the required CRLFs were missing from the
AG3335 setup code.
2024-09-06 08:45:57 +08:00
Todd Herbert
bcdc36c07c
Refresh E-Ink to show changes in GPS icon
2024-09-06 11:25:41 +12:00
Thomas Göttgens
7c6454f171
bring 2.4G back in line with preset bandwidth ( #4634 )
2024-09-05 15:49:08 -05:00
Tom Fifield
9e55e6befb
Minor GPS fixes ( #4630 )
...
1. Remove unused line in GPS::probe
2. update new PositionModule::hasQualityTimeSource to handle
MESHTASTIC_EXCLUDE_GPS
2024-09-05 06:16:06 -05:00
gitbisector
bb9ddcf2b5
Same priority packets processed in enqueue order ( #4608 )
...
* Same priority packets processed in enqueue order
* Prefer same prio pkts on mesh over new ones.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-09-04 08:31:30 -05:00
Thomas Göttgens
ff40a3f120
fix RF switch for Tracker E ( #4621 )
...
* fix RF switch for Tracker E
* fix all flags for Radiolib
* hopefully fix LR1110
* update to latest radiolib master - thanks @GUVWAF
2024-09-03 14:21:40 -05:00
Thomas Göttgens
6fc4a1754b
Radiolib API Changes
2024-09-03 13:12:39 +02:00
Thomas Göttgens
f9e513f4fd
Merge branch 'Tracker-1000E' of github.com:meshtastic/firmware into Tracker-1000E
...
# Conflicts:
# src/mesh/LR11x0Interface.cpp
2024-09-03 09:59:44 +02:00
Thomas Göttgens
7dad2286e2
trunk fmt
2024-09-03 09:58:27 +02:00
Thomas Göttgens
8598645931
- use setRfSwitchTable
...
- ditch Godmode
- fixes Signedness Error in Loop.
- add V3 factory erase for 7.3.0 softdevice
2024-09-03 09:26:41 +02:00
Tom Fifield
cdea602181
Remove unused define ( #4620 )
...
Neither RF95_DIO2 nor LORA_DIO2 are found anywhere in the code.
2024-09-02 20:08:02 -05:00
Ben Meadors
b526a3ad53
Own node should be favorited and have zero hops away ( #4618 )
2024-09-02 17:51:02 -05:00
Thomas Göttgens
2f0c19ebea
- use setRfSwitchTable
...
- ditch Godmode
- fixes Signedness Error in Loop.
- add V3 factory erase for 7.3.0 softdevice
2024-09-02 15:06:06 +02:00
Thomas Göttgens
367d787d74
Merge branch 'master' into pr-fix4154
2024-09-02 10:24:31 +02:00
Thomas Göttgens
c8bf43de93
Merge pull request #4482 from dhskinner/BMP388
...
Add BMP388 as a new pressure and temp sensor
2024-09-02 10:23:57 +02:00
Thomas Göttgens
e543b61dd8
trunk fmt
2024-09-02 10:23:31 +02:00
Thomas Göttgens
719faf4f97
trunk fmt
2024-09-02 10:16:32 +02:00
Thomas Göttgens
3bf20dc3a6
Merge branch 'master' into pr-fix4154
2024-09-02 09:16:52 +02:00
David
d93425fde1
Merge branch 'master' into BMP388
2024-09-02 16:48:38 +10:00
Riley Nielsen
234e652a07
Fix switch
2024-09-01 20:43:56 -07:00
Riley Nielsen
cd16b7b00a
fix display of degree symbol (+ other symbols)
2024-09-01 18:26:08 -07:00
GUVWAF
56223710b5
More priorities for different types of MeshPackets ( #4606 )
2024-09-01 10:29:53 -05:00
github-actions[bot]
e45a358de0
[create-pull-request] automated change ( #4594 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-09-01 09:20:10 -05:00
Jonathan Bennett
b71e12c5e5
Phone admin work ( #4599 )
...
* Don't throw an error on the sessionkey admin tag
* Throw an error on packet sent to 0
2024-08-31 15:04:35 -05:00
David
eb1f80f520
Fix build issue with mutex
2024-08-31 19:40:54 +10:00
David
6c0911038a
Merge branch 'master' into BMP388
2024-08-31 18:18:26 +10:00
David
644e213b13
Added a singleton wrapper for bmp3xx
2024-08-31 18:15:33 +10:00
Ben Meadors
33eb073535
Ignore (from)Net time on positions with an unknown or fixed location source ( #4593 )
...
* Ignore (from)Net time on positions with an unknown or fixed location source
* Dunk a trunk
2024-08-30 19:02:48 -05:00
Ben Meadors
8729cdb699
Merge branch 'master' into pr-fix4154
2024-08-30 16:31:47 -05:00
GUVWAF
eb071ec80d
Set high priority for text messages ( #4592 )
2024-08-30 14:54:44 -05:00
github-actions[bot]
8144dcbc25
[create-pull-request] automated change ( #4591 )
...
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
2024-08-30 13:46:51 -05:00
Jonathan Bennett
2b0113ae82
Consider an admin timestamp to be higher quality than from net ( #4589 )
2024-08-30 06:02:48 -05:00
Manuel
6a24566efb
Lilygo T3S3 E-Paper support ( #4569 )
...
* t3s3 e-paper support
* remove GPS autodetect (which leads to crashes during startup when no GPS present)
* update EINK defines
* keep definitions for external GPS connector but disable GPS auto scan by default
2024-08-30 05:53:06 -05:00
Jonathan Bennett
5bc17a9911
Key regen and MQTT fix ( #4585 )
...
* Add public key regen
* Properly label and handle PKI MQTT packets
* Extra debug message to indicate PKI_UNKNOWN_PUBKEY
* Ternary!
* Don't call non-existant function on stm32
* Actually fix STM32 compilation
2024-08-29 16:28:03 -05:00
David
a1d0af6636
Merge branch 'master' into BMP388
2024-08-30 07:25:27 +10:00
Mark Trevor Birss
22454c95c7
[BOARD] Add Minewsemi MS24SF1 nRF52840 SX1262 Module (SoftDevice 7.3.0) ( #4584 )
...
* Update architecture.h
* Add files via upload
* Add files via upload
* Update variant.h
* Update variant.h
* Update variant.cpp
* Update variant.cpp
* Update variant.cpp
2024-08-29 16:17:44 -05:00
Thomas Göttgens
50631f96fc
trunk fmt
2024-08-29 21:51:06 +02:00
And137
a6cc7041d3
Merge branch 'master' into polish-oled
2024-08-29 20:04:03 +02:00
Ben Meadors
171512d2f6
Fixed buzzer
2024-08-29 11:42:27 -05:00
David
47e1580a62
Integration test
2024-08-29 16:40:17 +02:00
David
fc1e60ac58
Initial upload
2024-08-29 16:40:17 +02:00
And137
f1f66cf54a
Merge branch 'master' into polish-oled
2024-08-29 12:54:06 +02:00
Jonathan Bennett
92eae39a1b
Move Time set from system to main ( #4583 )
2024-08-29 05:39:30 -05:00
Kevin Hester
dc9f6e1360
fix CI warnings (and change CI comment to be correct)
2024-08-28 11:25:54 -07:00
Ben Meadors
f5633bf0c5
Fix T1000-E default to turn on buzzer for Ext. Notification ( #4575 )
2024-08-28 11:25:54 -07:00
Ben Meadors
3ad0af5ce8
Fix super tiny T1114 tft font size and fork repo to fix compiler warnings ( #4573 )
2024-08-28 11:25:54 -07:00
Thomas Göttgens
94c3bb4a56
fix #4390 ( #4571 )
2024-08-28 11:25:54 -07:00
Power Li
cc93df27a5
set current time to system time in portduino build ( #4556 )
...
* set current time to system time in portduino build
* fix includes order
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-08-28 11:25:54 -07:00
Jonathan Bennett
e3ce3a3a4f
Don't compare nodeDB macaddr to owner.macaddr, because in rare cases that may be unset. ( #4562 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-08-28 11:25:54 -07:00
Jonathan Bennett
3c4d964334
Mask out random bits when doing queue ordering ( #4561 )
...
* Mask out random bits when doing queue ordering
* Parenthesis
2024-08-28 11:25:54 -07:00
Jonathan Bennett
574124aee5
Deal with admin_key being repeated ( #4558 )
2024-08-28 11:25:54 -07:00
John Milton
1fe80e0f30
Add support for Adafruit Feather RP2040 with RFM95. ( #4451 )
...
* Add support for Adafruit Feather RP2040 with RFM95.
* Update mesh.pb.h
dropping this change from the file generated by the protobuf
* Update mesh.pb.h
remove these reverting changes
* Update mesh.pb.h
oops, missed a comma
2024-08-28 11:25:54 -07:00
Ben Meadors
927a35ef51
Protos
2024-08-28 11:25:54 -07:00
Ben Meadors
c11a66030f
Userlite mem comparison ( #4552 )
2024-08-28 11:25:54 -07:00
github-actions[bot]
059d5582d1
[create-pull-request] automated change ( #4544 )
...
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-08-28 11:25:54 -07:00
geeksville
9631a1be38
remove deprecated serial/bt logging options and unify in the new ( #4516 )
...
security option. Per discussion in https://github.com/meshtastic/firmware/issues/4375
no need to preserve the old options when changing to this new simpler
single boolean because they were newish, rarely used and only for 'advanced'
developers.
2024-08-28 11:25:54 -07:00
Kevin Hester
8a9cc727a8
for #4154 use a binary gpio transformer to manage vext on heltec-tracker (saves power)
2024-08-28 11:25:54 -07:00
Kevin Hester
cdafa87cef
add lateInitVariant() as a concept. see below for docs
...
(from src/extra_variants/README.md)
This directory tree is designed to solve two problems.
- The ESP32 arduino/platformio project doesn't support the nice "if initVariant() is found, call that after init" behavior of the nrf52 builds (they use initVariant() internally).
- Over the years a lot of 'board specific' init code has been added to init() in main.cpp. It would be great to have a general/clean mechanism to allow developers to specify board specific/unique code in a clean fashion without mucking in main.
So we are borrowing the initVariant() ideas here (by using weak gcc references). You can now define lateInitVariant() if your board needs it.
If you'd like a board specific variant to be run, add the variant.cpp file to an appropriately named
subdirectory and check for \_VARIANT_boardname in the cpp file (so that your code is only built for your board).
You'll need to define \_VARIANT_boardname in your corresponding variant.h file.
See existing boards for examples.
This approach has no added runtime cost.
2024-08-28 11:25:54 -07:00