Commit Graph

8905 Commits

Author SHA1 Message Date
Ben Meadors
32f81568aa Use isWithinTimespanMs to avoid refererence to NodeDb instance inside of NodeDb (#5453) 2024-12-15 10:16:48 +11:00
Ben Meadors
46eb534d76 Clean up some inline functions (#5454) 2024-12-15 10:16:48 +11:00
Ben Meadors
cf62c6d4d0 Cleanup i2c scan logs and macro to save some bytes and remain consistent (#5455)
* Cleanup i2c scan logs and macro to save some bytes and remain consistent

* Functions are better than macros

* Exclude i2c scan for STM32

* Useless log
2024-12-15 10:16:48 +11:00
github-actions[bot]
603e723e4d [create-pull-request] automated change (#5457)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Jonathan Bennett
e0eae54487 Actually gunzip all the files when building a .deb (#5449) 2024-12-15 10:16:48 +11:00
Ben Meadors
e746905b5f Revert "Seems like the last DIY board that's not "extra" (#5420)" (#5446)
This reverts commit e6fb6b115a.
2024-12-15 10:16:48 +11:00
Ben Meadors
adb244e255 Don't powersave on Wifi (#5443)
* Don't go into light sleep with wifi enabled

* Move

* Trunk
2024-12-15 10:16:48 +11:00
Tomas Dubec
5347ee2ae4 enable MQTT with TLS on RPi picow (#5442)
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:48 +11:00
Christopher Hoover
14c4475b50 A second round of cleanup on GPS.h. (#5433)
* Move yet more stuff out of GPS.h and into file scope.

* Protect code macros from eating semicolons.

* Remove unused (and unimplemented) getDOPString.

* clang-format with project style file on affected files.

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
37bb28a4c0 Removing 1.0 legacy boards from releases and completely removing Heltec wireless capsule from support (#5436)
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-12-15 10:16:48 +11:00
César de Tassis Filho
fe1ed0dd08 Fix memory leaks by adding missing free() calls before early returns in MQTT::onReceive (#5439)
This fix addresses memory leaks in the `MQTT::onReceive` function by ensuring that dynamically allocated resources (`e.channel_id`, `e.gateway_id` and `e.packet`) are properly freed before each early return. Previously, these resources were only freed at the end of the function, leaving them unhandled in certain exit paths. Adding the missing `free()` calls prevents memory leaks and ensures proper resource cleanup in all scenarios.
2024-12-15 10:16:48 +11:00
Thomas Göttgens
66e219dd39 fixes https://github.com/meshtastic/firmware/issues/5434 (#5435)
* update libpax
* fix interval init
2024-12-15 10:16:48 +11:00
jake-b
79589df898 Support for the ClimateGuard RadSens Geiger-Muller tube (#5425) 2024-12-15 10:16:48 +11:00
github-actions[bot]
86b504f886 [create-pull-request] automated change (#5431)
Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
cc7440b8f8 Remove BMA-423 and STK8X by default (#5429)
* Remove BMA-423 by default

* STK

* Wrong macro

* Helps if you include the file
2024-12-15 10:16:48 +11:00
Thomas Göttgens
563aeba72a try to detect dfrobot station to tell it apart from an ublox gps. (#5393) 2024-12-15 10:16:48 +11:00
Mictronics
350a89d0e2 Fix admin key loading from userPrefs.h (#5417)
* 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.

* Remove log spam when reading INA voltage sensor.

* Remove static declaration for admin keys from userPrefs.h. Load hard coded admin keys in case config file has empty slots.

* Removed newlines from log.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-12-15 10:16:48 +11:00
Christopher Hoover
636b791f86 Cleans up visibility in GPS.h (#5426)
Signed-off-by: Christopher Hoover <ch@murgatroid.com>
2024-12-15 10:16:48 +11:00
madeofstown
513b030ec0 Update build-native.sh (#5415)
* Update build-native.sh

Device-install.sh and device-update.sh are not used on native platform, skip copying to release directory after build and copy native-install.sh and native-run.sh instead.

* Update build-native.sh

Skip native-run.sh copy
2024-12-15 10:16:48 +11:00
dylanli
ae8ef2957d add canned message and keyboard in indicator board (#5410)
* add canned message and keyboard in indicator board

* Added virtual keyboard macro and enabled for Indicator

* Cleanup macros by applying USE_VIRTUAL_KEYBOARD and DISPLAY_CLOCK_FRAME

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
c14c7aed7f Cherry pick tdeck fixes (#5422)
* Try-fix (workaround) T-Deck audio crash

* set T-Deck audio to unused 48 (mem mclk)

* swap mclk to gpio 21

* dreamcatcher: assign GPIO44 to audio mclk

---------

Co-authored-by: mverch67 <manuel.verch@gmx.de>
2024-12-15 10:16:48 +11:00
Jonathan Bennett
d1e9330304 Seems like the last DIY board that's not "extra" (#5420) 2024-12-15 10:16:48 +11:00
Ben Meadors
2d10094ed3 Temetry can respond to want-response for LocalStats variant (#5414) 2024-12-15 10:16:48 +11:00
Ben Meadors
ede61e04c6 Check for OkToMqtt flag presence before uplinking to MQTT (#5413)
* Check for oktomqtt flag presence before uplinking to MQTT

* Move to mqtt->onSend
2024-12-15 10:16:48 +11:00
GUVWAF
baad3e5943 Temporarily disable MDNS when MQTT is enabled (#5418)
Leads to a panic
2024-12-15 10:16:48 +11:00
Michael Gjelsø
2f3d6eda28 --web littlefswebui-* typo fix (#5416)
* Add --web

* Update device-install.bat

Forgot a "-" a few places.

* Typo fix.

* Typo fix

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
3e3c3d65e8 Fixed NMEA sentence issue in CalTopo as well as bug with no printing all of the nodes (#5412) 2024-12-15 10:16:48 +11:00
dylanli
3101f21931 add GPS in indicator board (#5411) 2024-12-15 10:16:48 +11:00
Michael Gjelsø
f1b7956fa4 --web added to device-install(.sh/.bat) (#5405)
* Add --web

* Update device-install.bat

Forgot a "-" a few places.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:48 +11:00
GUVWAF
fc35ecaacd Update platform-raspberrypi also (#5407)
* Update arduino-pico core to fix sporadic hangs

* Update platform-raspberrypi also
2024-12-15 10:16:48 +11:00
GUVWAF
13d2b62117 Update arduino-pico core to fix sporadic hangs (#5406) 2024-12-15 10:16:48 +11:00
Ben Meadors
3e5a18f594 Fix RTC time injection and consolidate position logic (#5396)
* Fix RTC time injection and consolidate position logic

* Comment out unused var warning

* Backerds
2024-12-15 10:16:48 +11:00
Ben Meadors
4258372201 Create a specific hw_model for WisMesh Tap (#5400)
* Create a specific hw_model for WisMesh Tap

* Trunk

* HAS_ETHERNET

* Remove it altogether

* Don't need these either
2024-12-15 10:16:48 +11:00
jcyrio
46d2369a7c Make heart emoji usable (#5403) 2024-12-15 10:16:48 +11:00
Catalin Patulea
d5bc401f5a /api/v1/fromradio: add OPTIONS handler for CORS. (#5386)
This avoids hitting the 404 Not Found handler, which breaks connection
keep-alive, so this change fixes a big performance regression for Web Client in
Chrome: https://github.com/meshtastic/firmware/issues/5385

Tested on Heltec V3.

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-15 10:16:48 +11:00
github-actions[bot]
9136fed5fb [create-pull-request] automated change (#5399)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
jcyrio
72010f6612 fix 'symbal' typo (#5395) 2024-12-15 10:16:48 +11:00
Daniel.Cao
0193e570da Anable trace route function on wismeshtap platform (#5389) 2024-12-15 10:16:48 +11:00
jcyrio
03c3845456 add smiley emoji (#5391)
* add smiley emoji

* clang-formatted
2024-12-15 10:16:48 +11:00
github-actions[bot]
810a014d6a [create-pull-request] automated change (#5388)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Michael Gjelsø
3aba46e627 Allows all 3 PKI keys to be added to userPrefs.h (#4969) and a tool. (#5368)
* more userPrefs.h

Added PKI Admin keys to userPrefs.h

* Update userPrefs.h

Allows all 3 PKI keys to be added to userPrefs.h (#4969)

* Update NodeDB.cpp

Trunk

* Update userPrefs.h

Changed wording

* Create base64_to_hex.py

A little tool for converting base64 PKI Keys to decoded byte that userPrefs.h can understand.

* more userPrefs.h

Added PKI Admin keys to userPrefs.h

* Update userPrefs.h

Allows all 3 PKI keys to be added to userPrefs.h (#4969)

* Update NodeDB.cpp

Trunk

* Update userPrefs.h

Changed wording

* Create base64_to_hex.py

A little tool for converting base64 PKI Keys to decoded byte that userPrefs.h can understand.
2024-12-15 10:16:48 +11:00
github-actions[bot]
41379aef43 [create-pull-request] automated change (#5380)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
GUVWAF
4f4224b4aa Move some actions to after startTransmit() (#5383)
To minimize the time between channel scan and actual transmit
2024-12-15 10:16:48 +11:00
Ben Meadors
58a206dd1d Cleanup static files from bad Web UI bundle on 2.5.13 release (#5376)
* Cleanup static files from bad Web UI bundle on 2.5.13 release

* Check existence first

* Esp32 is the only one we care about
2024-12-15 10:16:48 +11:00
Michael Gjelsø
1114430504 Bug fixed in ExternalNotificationModule (#5375)
While `nagging` setExternalState wasn't written to Buzzer & Vibra so output was never toggled.

Possible fix for #5348
2024-12-15 10:16:47 +11:00
Ben Meadors
0470094723 Add littlefswebui 2024-12-15 10:16:47 +11:00
Ben Meadors
11ff0fa757 Diag 2024-12-15 10:16:47 +11:00
Ben Meadors
09eef88ffc version tags 2024-12-15 10:16:47 +11:00
Ben Meadors
4ebb2c1f07 Separate littlefs bundle 2024-12-15 10:16:47 +11:00
Ben Meadors
7192d8ad1c Trunk 2024-12-15 10:16:47 +11:00