Commit Graph

8921 Commits

Author SHA1 Message Date
Robert
0d7b82db1b add nodeId to nodeinfo update log lines and removed redundant nodeinfo update log line (#5493) 2024-12-15 10:16:48 +11:00
GUVWAF
2bad8570ee SimRadio: clean-up and emulate collisions (#5487)
* Clean up SimRadio and don't let it use PKC

* Add collision emulation for SimRadio

* Add stats from SimRadio to LocalStats

* Make emulating collisions optional
2024-12-15 10:16:48 +11:00
Ben Meadors
18b1928f97 Convert userprefs to a json file instead of header file which has to be included everywhere (#5471)
* WIP

* Got string quoting and macro expansion working

* Need the placeholder

* Cleanup

* Missed a user prefs reference

* Update jsonc
2024-12-15 10:16:48 +11:00
dylanli
b8c84a19a1 Update xiao_esp32 fully support L67K (#5488)
L67K module hardware changed
2024-12-15 10:16:48 +11:00
GUVWAF
cff0cea345 Update arduino-pico core and remove MDNS restriction (#5483) 2024-12-15 10:16:48 +11:00
Jonathan Bennett
bb5f07f9f9 Portduino fixes (#5479)
* Set config.yaml defaults even if General is missing

* Unsigned values should get %u in logging
2024-12-15 10:16:48 +11:00
github-actions[bot]
a33276fd9b [create-pull-request] automated change (#5478)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Jonathan Bennett
c53e614d1d Adds libusb dev package to Raspbian build steps (#5480) 2024-12-15 10:16:48 +11:00
github-actions[bot]
902a0d270c [create-pull-request] automated change (#5475)
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
2024-12-15 10:16:48 +11:00
Ben Meadors
b4ae5e399d Warnings and log cleanup (#5472)
* Don't log if keyboard not found

* Signed comparison issue
2024-12-15 10:16:48 +11:00
Ben Meadors
85d23d6988 Trunk 2024-12-15 10:16:48 +11:00
virgil
49f0f7ab90 fix: Solve the lightsleep crash problem via disable lightsleep for indicator. (#5470) 2024-12-15 10:16:48 +11:00
panaceya
6c6b323d3f Fix ukrainian fonts (#5468)
* FIX:  rollback to !4624

* UPDATE: new 16 and 24 UA Fonts and fixes
2024-12-15 10:16:48 +11:00
Christopher Hoover
6d14c1a943 GPS.h cleanups round 3. (#5447)
* GPS.h cleanups round 3.

No effective behavior change.

Protected members can be private so make it so.  (Supporting
subclasses needs a lot more work.)

Moves uBloxGnssModelInfo into file scope.

Moves uBloxProtocolVersion into uBloxGnssModelInfo.

Moves baud rate arrays into file scope.

Removes unused/ unimplemented powerStateToString.

Signed-off-by: Christopher Hoover <ch@murgatroid.com>

* Trunk Format.

---------

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
2024-12-15 10:16:48 +11:00
Ben Meadors
ca4bfa1eb7 Remove ATECC crypto chip placeholder code (#5461) 2024-12-15 10:16:48 +11:00
Liam Cottle
1f89ee5cce fix cors for meshtasticd to allow use of cross origin clients (#5463) 2024-12-15 10:16:48 +11:00
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