Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleans up visibility in GPS.h #5426

Merged

Conversation

charlieh0tel
Copy link
Contributor

Cleans up visibility in GPS.h to pave the way for additional clean ups and additions (gpsd support).

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
@charlieh0tel charlieh0tel force-pushed the charlieh0tel/gps_vis_cleanup branch from e67dd1f to cc7cacb Compare November 23, 2024 04:21
@charlieh0tel
Copy link
Contributor Author

charlieh0tel commented Nov 23, 2024

This is ready to go, @thebentern

@thebentern thebentern merged commit fadcbd5 into meshtastic:master Nov 23, 2024
47 checks passed
@charlieh0tel charlieh0tel deleted the charlieh0tel/gps_vis_cleanup branch November 28, 2024 01:02
fifieldt pushed a commit to nebman/meshtastic-firmware that referenced this pull request Dec 14, 2024
Signed-off-by: Christopher Hoover <ch@murgatroid.com>
fifieldt added a commit that referenced this pull request Dec 22, 2024
…battery sensor (#5271)

* INA219 charging detection

minimal implementation: if there is a configured INA219 sensor for battery monitoring we can take the current flow across the shunt resistor to know if we are charging the battery - negative milliamps indicate charging

* Update Power.cpp

added comments and 2 extra defines to disable and swap detection direction

* Update Power.cpp

fix disabled case

* move getCurrentMa() to new CurrentSensor class

* INA219 charging detection

minimal implementation: if there is a configured INA219 sensor for battery monitoring we can take the current flow across the shunt resistor to know if we are charging the battery - negative milliamps indicate charging

* Update Power.cpp

added comments and 2 extra defines to disable and swap detection direction

* Update Power.cpp

fix disabled case

* move getCurrentMa() to new CurrentSensor class

* add INA3221 charging detection

* RP2040: Update core; add mDNS support (#5355)

* Update arduino-pico core

* RP2040: Add mDNS support

* SimpleMDNS `begin` now returns a bool

* Add `-g` option to `debug_build_flags` to link files for gdb

* RAK11310 needs old platform as well

* Change defines to specific architecture

* Core version 4.2.1 is out

* Add sudo to apt-get commands for Raspbian Build (#5364)

Without sudo, inadequate permissions to runs the commands meant
the build was failing.

* Typo fix in build_raspbian.yml (#5365)

s/sudp/sudo :(:(:(

* Rework some things

* Trunk

* Separate littlefs bundle

* version tags

* Diag

* Add littlefswebui

* Bug fixed in ExternalNotificationModule (#5375)

While `nagging` setExternalState wasn't written to Buzzer & Vibra so output was never toggled.

Possible fix for #5348

* 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

* Move some actions to after `startTransmit()` (#5383)

To minimize the time between channel scan and actual transmit

* [create-pull-request] automated change (#5380)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* 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.

* [create-pull-request] automated change (#5388)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* add smiley emoji (#5391)

* add smiley emoji

* clang-formatted

* Anable trace route function on wismeshtap platform (#5389)

* fix 'symbal' typo (#5395)

* [create-pull-request] automated change (#5399)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* /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: #5385

Tested on Heltec V3.

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

* Make heart emoji usable (#5403)

* 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

* Fix RTC time injection and consolidate position logic (#5396)

* Fix RTC time injection and consolidate position logic

* Comment out unused var warning

* Backerds

* Update arduino-pico core to fix sporadic hangs (#5406)

* Update platform-raspberrypi also (#5407)

* Update arduino-pico core to fix sporadic hangs

* Update platform-raspberrypi also

* --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>

* add GPS in indicator board (#5411)

* Fixed NMEA sentence issue in CalTopo as well as bug with no printing all of the nodes (#5412)

* --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>

* Temporarily disable MDNS when MQTT is enabled (#5418)

Leads to a panic

* Check for OkToMqtt flag presence before uplinking to MQTT (#5413)

* Check for oktomqtt flag presence before uplinking to MQTT

* Move to mqtt->onSend

* Temetry can respond to want-response for LocalStats variant (#5414)

* Seems like the last DIY board that's not "extra" (#5420)

* 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>

* 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>

* 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

* Cleans up visibility in GPS.h (#5426)

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

* 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>

* try to detect dfrobot station to tell it apart from an ublox gps. (#5393)

* Remove BMA-423 and STK8X by default (#5429)

* Remove BMA-423 by default

* STK

* Wrong macro

* Helps if you include the file

* [create-pull-request] automated change (#5431)

Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>

* Support for the ClimateGuard RadSens Geiger-Muller tube (#5425)

* fixes #5434 (#5435)

* update libpax
* fix interval init

* 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.

* Removing 1.0 legacy boards from releases and completely removing Heltec wireless capsule from support (#5436)

Co-authored-by: Tom Fifield <tom@tomfifield.net>

* 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>

* enable MQTT with TLS on RPi picow (#5442)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

* Don't powersave on Wifi (#5443)

* Don't go into light sleep with wifi enabled

* Move

* Trunk

* Revert "Seems like the last DIY board that's not "extra" (#5420)" (#5446)

This reverts commit e6fb6b1.

* Actually gunzip all the files when building a .deb (#5449)

* [create-pull-request] automated change (#5457)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* 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

* Clean up some inline functions (#5454)

* Use isWithinTimespanMs to avoid refererence to NodeDb instance inside of NodeDb (#5453)

* fix cors for meshtasticd to allow use of cross origin clients (#5463)

* Remove ATECC crypto chip placeholder code (#5461)

* 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>

* Fix ukrainian fonts (#5468)

* FIX:  rollback to !4624

* UPDATE: new 16 and 24 UA Fonts and fixes

* fix: Solve the lightsleep crash problem via disable  lightsleep for indicator. (#5470)

* Trunk

* Warnings and log cleanup (#5472)

* Don't log if keyboard not found

* Signed comparison issue

* [create-pull-request] automated change (#5475)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* Adds libusb dev package to Raspbian build steps (#5480)

* [create-pull-request] automated change (#5478)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* Portduino fixes (#5479)

* Set config.yaml defaults even if General is missing

* Unsigned values should get %u in logging

* Update arduino-pico core and remove MDNS restriction (#5483)

* Update xiao_esp32 fully support L67K (#5488)

L67K module hardware changed

* 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

* 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

* add nodeId to nodeinfo update log lines and removed redundant nodeinfo update log line (#5493)

* Refact the macro definition of GPS initialization of GPSDEFAULTD_NOT_PRESENT and added  seeeed Indicator to this sequence (#5494)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

* Extend Length of Source and Destination Node IDs Logged (#5492)

* show 8 chars for logging source and destination ids

* extend legnth of source and destination nodes in log

* Added femtofox configs (#5477)

* added femtofox configs

* Rename bin/config.d/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml to bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

* moved femtofox configs to subdir

* [Add] LR1110, LR1120 and LR1121 to linux native Portduino (#5496)

* Update main.cpp

* Update PortduinoGlue.h

* Update PortduinoGlue.cpp

* Update PortduinoGlue.cpp

* Update PortduinoGlue.cpp

* Update main.cpp

* [create-pull-request] automated change (#5500)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* Fix minor typos in package workflows (#5505)

* Don't use channel index for encrypted packet (#5509)

* Don't use channel index for encrypted packet

* Remove assert in `getKey`, set invalid key length
So encrypting will fail without reboot

* Reset channel to 0 when unable to encrypt
Such that the NAK doesn't use the failing channel hash

* Always Announce MDNS meshtastic service (#5503)

* refactor server api port into define

* always announce MDNS meshtastic service

* fix nodeDB erase loop when free mem returns invalid value (0, -1). (#5519)

Co-authored-by: mverch67 <manuel.verch@gmx.de>

* Add heltec capsule back

* Revert "Add heltec capsule back"

This reverts commit fc16d93.

* Lets try this again minus device ui

* Add popular nrf52 pro micro to the builds (#5523)

* Add MACAddress to config.yaml (#5506)

* Add MACAddress to config.yaml

* Better error handling on native, including failing to launch with blank MAC Address and real hardware.

* Re-arrange Mac Address handling and add MACAddressSource

* Bump portduino to remove macaddr function there

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

* Configure Seeed Xiao S3 RX enable pin (#5517)

* Create OpenWRT_One_mikroBUS_sx1262.yaml (#5529)

* tlora_v2_1_16: Unset BUTTON_PIN and BUTTON_NEED_PULLUP (#5535)

Unset BUTTON_PIN and BUTTON_NEED_PULLUP as the board ships without a user button.

Devices and users expecting a button on GPIO12 have to set [GPIO for user button](https://meshtastic.org/docs/configuration/radio/device/#gpio-for-user-button) to 12 (or any GPIO pin the momentary switch was connected to) to restore functionality.

Signed-off-by: Andrew Yong <me@ndoo.sg>

* [create-pull-request] automated change (#5530)

Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

* Fix detection for some RadSens hardware versions (#5542)

Co-authored-by: Jake-B <jake-b@users.noreply.github.com>

* Initialize dmac array to nulls (#5538)

* Initialize dmac array to nulls

* Use std::cout for print before console is init.

* Update OpenWRT_One_mikroBUS_sx1262.yaml (#5544)

* Add portduino-buildroot variant (#5540)

* Add portduino-buildroot variant

* Update platform-native for platform-buildroot

* portduino-buildroot: Define c standard (#5547)

* Portduino: Move meshtasticd/web out of /usr/share/doc/ (#5548)

* Portduino: fix transitional symlinks (#5550)

* Windows Support - Trunk and Platformio (#5397) (#5518)

* Add support for GPG
* Add usb device support
* Add trunk.io to devcontainer
* Trunk things
* trunk fmt
* formatting
* fix trivy/DS002, checkov/CKV_DOCKER_3
* hide docker extension popup
* fix trivy/DS026, checkov/CKV_DOCKER_2

Co-authored-by: Kalle Lilja <15094562+ThatKalle@users.noreply.github.com>

* Synch minor changes from TFT branch (#5520)

* Synch minor changes from TFT branch

Includes:
* New nordicnrf52 minor version (10.5.0 --> 10.6.0)
* Optimisations for T_DECK
* preparation for MESH_TAB
* add ext notification module to portduino

---------

Co-authored-by: mverch67 <manuel.verch@gmx.de>

* DIO3_TCXO_VOLTAGE in config.yaml can now take an exact voltage (#5558)

* Support TLORA_V3.0 (#5563)

- Support TLORA_V3.0. Update of the legendary 2.1_1.6.1 with solar charger, TCXO and IPEX connector.
- 'extra' some short-lived EOL intermediate boards in that range. If possible use T3S3 instead of all of these!
- update trunk to latest version

* Create OpenWRT-One-mikroBUS-LR-IOT-CLICK.yaml (#5564)

* Portduino: fix setting hwId via argument (#5565)

* INA219 charging detection

minimal implementation: if there is a configured INA219 sensor for battery monitoring we can take the current flow across the shunt resistor to know if we are charging the battery - negative milliamps indicate charging

* Update Power.cpp

added comments and 2 extra defines to disable and swap detection direction

* Trunk Fixes

* Add INA226 support

---------

Signed-off-by: Christopher Hoover <ch@murgatroid.com>
Signed-off-by: Andrew Yong <me@ndoo.sg>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Co-authored-by: Tom Fifield <tom@tomfifield.net>
Co-authored-by: Michael Gjelsø <36234524+gjelsoe@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
Co-authored-by: jcyrio <50239349+jcyrio@users.noreply.github.com>
Co-authored-by: Daniel.Cao <144674500+DanielCao0@users.noreply.github.com>
Co-authored-by: Catalin Patulea <cronos586@gmail.com>
Co-authored-by: dylanli <dylan3000dylan@gmail.com>
Co-authored-by: mverch67 <manuel.verch@gmx.de>
Co-authored-by: madeofstown <33820964+madeofstown@users.noreply.github.com>
Co-authored-by: Christopher Hoover <ch@murgatroid.com>
Co-authored-by: Mictronics <github@mictronics.de>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>
Co-authored-by: jake-b <1012393+jake-b@users.noreply.github.com>
Co-authored-by: César de Tassis Filho <CTassisF@users.noreply.github.com>
Co-authored-by: Tomas Dubec <tomas.dubec@gmail.com>
Co-authored-by: Liam Cottle <liam@liamcottle.com>
Co-authored-by: panaceya <panaceya@users.noreply.github.com>
Co-authored-by: virgil <virgil.wang.cj@gmail.com>
Co-authored-by: Robert <r@rbrt.io>
Co-authored-by: noon92 <40807970+noon92@users.noreply.github.com>
Co-authored-by: Mark Trevor Birss <markbirss@gmail.com>
Co-authored-by: broglep <20624281+broglep@users.noreply.github.com>
Co-authored-by: Matthias Granberry <matthias.granberry@gmail.com>
Co-authored-by: Andrew Yong <me@ndoo.sg>
Co-authored-by: Jake-B <jake-b@users.noreply.github.com>
Co-authored-by: Austin <vidplace7@gmail.com>
Co-authored-by: Kalle Lilja <15094562+ThatKalle@users.noreply.github.com>
tavdog added a commit to tavdog/meshtastic-firmware that referenced this pull request Dec 22, 2024
commit 91d6a4e
Merge: dc260bc 80fc0f2
Author: Tavis <github@tavis.la>
Date:   Sat Dec 21 18:55:39 2024 -1000

    Merge remote-tracking branch 'upstream/master'

commit 80fc0f2
Author: nebman <nebman@users.noreply.github.com>
Date:   Sun Dec 22 05:02:50 2024 +0100

    Detect charging status by measuring current flow with configured INA battery sensor (meshtastic#5271)

    * INA219 charging detection

    minimal implementation: if there is a configured INA219 sensor for battery monitoring we can take the current flow across the shunt resistor to know if we are charging the battery - negative milliamps indicate charging

    * Update Power.cpp

    added comments and 2 extra defines to disable and swap detection direction

    * Update Power.cpp

    fix disabled case

    * move getCurrentMa() to new CurrentSensor class

    * INA219 charging detection

    minimal implementation: if there is a configured INA219 sensor for battery monitoring we can take the current flow across the shunt resistor to know if we are charging the battery - negative milliamps indicate charging

    * Update Power.cpp

    added comments and 2 extra defines to disable and swap detection direction

    * Update Power.cpp

    fix disabled case

    * move getCurrentMa() to new CurrentSensor class

    * add INA3221 charging detection

    * RP2040: Update core; add mDNS support (meshtastic#5355)

    * Update arduino-pico core

    * RP2040: Add mDNS support

    * SimpleMDNS `begin` now returns a bool

    * Add `-g` option to `debug_build_flags` to link files for gdb

    * RAK11310 needs old platform as well

    * Change defines to specific architecture

    * Core version 4.2.1 is out

    * Add sudo to apt-get commands for Raspbian Build (meshtastic#5364)

    Without sudo, inadequate permissions to runs the commands meant
    the build was failing.

    * Typo fix in build_raspbian.yml (meshtastic#5365)

    s/sudp/sudo :(:(:(

    * Rework some things

    * Trunk

    * Separate littlefs bundle

    * version tags

    * Diag

    * Add littlefswebui

    * Bug fixed in ExternalNotificationModule (meshtastic#5375)

    While `nagging` setExternalState wasn't written to Buzzer & Vibra so output was never toggled.

    Possible fix for meshtastic#5348

    * Cleanup static files from bad Web UI bundle on 2.5.13 release (meshtastic#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

    * Move some actions to after `startTransmit()` (meshtastic#5383)

    To minimize the time between channel scan and actual transmit

    * [create-pull-request] automated change (meshtastic#5380)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * Allows all 3 PKI keys to be added to userPrefs.h (meshtastic#4969) and a tool. (meshtastic#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 (meshtastic#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 (meshtastic#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.

    * [create-pull-request] automated change (meshtastic#5388)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * add smiley emoji (meshtastic#5391)

    * add smiley emoji

    * clang-formatted

    * Anable trace route function on wismeshtap platform (meshtastic#5389)

    * fix 'symbal' typo (meshtastic#5395)

    * [create-pull-request] automated change (meshtastic#5399)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * /api/v1/fromradio: add OPTIONS handler for CORS. (meshtastic#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: meshtastic#5385

    Tested on Heltec V3.

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

    * Make heart emoji usable (meshtastic#5403)

    * Create a specific hw_model for WisMesh Tap (meshtastic#5400)

    * Create a specific hw_model for WisMesh Tap

    * Trunk

    * HAS_ETHERNET

    * Remove it altogether

    * Don't need these either

    * Fix RTC time injection and consolidate position logic (meshtastic#5396)

    * Fix RTC time injection and consolidate position logic

    * Comment out unused var warning

    * Backerds

    * Update arduino-pico core to fix sporadic hangs (meshtastic#5406)

    * Update platform-raspberrypi also (meshtastic#5407)

    * Update arduino-pico core to fix sporadic hangs

    * Update platform-raspberrypi also

    * --web added to device-install(.sh/.bat) (meshtastic#5405)

    * Add --web

    * Update device-install.bat

    Forgot a "-" a few places.

    ---------

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

    * add GPS in indicator board (meshtastic#5411)

    * Fixed NMEA sentence issue in CalTopo as well as bug with no printing all of the nodes (meshtastic#5412)

    * --web littlefswebui-* typo fix (meshtastic#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>

    * Temporarily disable MDNS when MQTT is enabled (meshtastic#5418)

    Leads to a panic

    * Check for OkToMqtt flag presence before uplinking to MQTT (meshtastic#5413)

    * Check for oktomqtt flag presence before uplinking to MQTT

    * Move to mqtt->onSend

    * Temetry can respond to want-response for LocalStats variant (meshtastic#5414)

    * Seems like the last DIY board that's not "extra" (meshtastic#5420)

    * Cherry pick tdeck fixes (meshtastic#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>

    * add canned message and keyboard in indicator board (meshtastic#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>

    * Update build-native.sh (meshtastic#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

    * Cleans up visibility in GPS.h (meshtastic#5426)

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

    * Fix admin key loading from userPrefs.h (meshtastic#5417)

    * Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28

    * Merge PR meshtastic#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>

    * try to detect dfrobot station to tell it apart from an ublox gps. (meshtastic#5393)

    * Remove BMA-423 and STK8X by default (meshtastic#5429)

    * Remove BMA-423 by default

    * STK

    * Wrong macro

    * Helps if you include the file

    * [create-pull-request] automated change (meshtastic#5431)

    Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>

    * Support for the ClimateGuard RadSens Geiger-Muller tube (meshtastic#5425)

    * fixes meshtastic#5434 (meshtastic#5435)

    * update libpax
    * fix interval init

    * Fix memory leaks by adding missing `free()` calls before early returns in `MQTT::onReceive` (meshtastic#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.

    * Removing 1.0 legacy boards from releases and completely removing Heltec wireless capsule from support (meshtastic#5436)

    Co-authored-by: Tom Fifield <tom@tomfifield.net>

    * A second round of cleanup on GPS.h. (meshtastic#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>

    * enable MQTT with TLS on RPi picow (meshtastic#5442)

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

    * Don't powersave on Wifi (meshtastic#5443)

    * Don't go into light sleep with wifi enabled

    * Move

    * Trunk

    * Revert "Seems like the last DIY board that's not "extra" (meshtastic#5420)" (meshtastic#5446)

    This reverts commit e6fb6b1.

    * Actually gunzip all the files when building a .deb (meshtastic#5449)

    * [create-pull-request] automated change (meshtastic#5457)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * Cleanup i2c scan logs and macro to save some bytes and remain consistent (meshtastic#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

    * Clean up some inline functions (meshtastic#5454)

    * Use isWithinTimespanMs to avoid refererence to NodeDb instance inside of NodeDb (meshtastic#5453)

    * fix cors for meshtasticd to allow use of cross origin clients (meshtastic#5463)

    * Remove ATECC crypto chip placeholder code (meshtastic#5461)

    * GPS.h cleanups round 3. (meshtastic#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>

    * Fix ukrainian fonts (meshtastic#5468)

    * FIX:  rollback to !4624

    * UPDATE: new 16 and 24 UA Fonts and fixes

    * fix: Solve the lightsleep crash problem via disable  lightsleep for indicator. (meshtastic#5470)

    * Trunk

    * Warnings and log cleanup (meshtastic#5472)

    * Don't log if keyboard not found

    * Signed comparison issue

    * [create-pull-request] automated change (meshtastic#5475)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * Adds libusb dev package to Raspbian build steps (meshtastic#5480)

    * [create-pull-request] automated change (meshtastic#5478)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * Portduino fixes (meshtastic#5479)

    * Set config.yaml defaults even if General is missing

    * Unsigned values should get %u in logging

    * Update arduino-pico core and remove MDNS restriction (meshtastic#5483)

    * Update xiao_esp32 fully support L67K (meshtastic#5488)

    L67K module hardware changed

    * Convert userprefs to a json file instead of header file which has to be included everywhere (meshtastic#5471)

    * WIP

    * Got string quoting and macro expansion working

    * Need the placeholder

    * Cleanup

    * Missed a user prefs reference

    * Update jsonc

    * SimRadio: clean-up and emulate collisions (meshtastic#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

    * add nodeId to nodeinfo update log lines and removed redundant nodeinfo update log line (meshtastic#5493)

    * Refact the macro definition of GPS initialization of GPSDEFAULTD_NOT_PRESENT and added  seeeed Indicator to this sequence (meshtastic#5494)

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

    * Extend Length of Source and Destination Node IDs Logged (meshtastic#5492)

    * show 8 chars for logging source and destination ids

    * extend legnth of source and destination nodes in log

    * Added femtofox configs (meshtastic#5477)

    * added femtofox configs

    * Rename bin/config.d/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml to bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

    * moved femtofox configs to subdir

    * [Add] LR1110, LR1120 and LR1121 to linux native Portduino (meshtastic#5496)

    * Update main.cpp

    * Update PortduinoGlue.h

    * Update PortduinoGlue.cpp

    * Update PortduinoGlue.cpp

    * Update PortduinoGlue.cpp

    * Update main.cpp

    * [create-pull-request] automated change (meshtastic#5500)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * Fix minor typos in package workflows (meshtastic#5505)

    * Don't use channel index for encrypted packet (meshtastic#5509)

    * Don't use channel index for encrypted packet

    * Remove assert in `getKey`, set invalid key length
    So encrypting will fail without reboot

    * Reset channel to 0 when unable to encrypt
    Such that the NAK doesn't use the failing channel hash

    * Always Announce MDNS meshtastic service (meshtastic#5503)

    * refactor server api port into define

    * always announce MDNS meshtastic service

    * fix nodeDB erase loop when free mem returns invalid value (0, -1). (meshtastic#5519)

    Co-authored-by: mverch67 <manuel.verch@gmx.de>

    * Add heltec capsule back

    * Revert "Add heltec capsule back"

    This reverts commit fc16d93.

    * Lets try this again minus device ui

    * Add popular nrf52 pro micro to the builds (meshtastic#5523)

    * Add MACAddress to config.yaml (meshtastic#5506)

    * Add MACAddress to config.yaml

    * Better error handling on native, including failing to launch with blank MAC Address and real hardware.

    * Re-arrange Mac Address handling and add MACAddressSource

    * Bump portduino to remove macaddr function there

    ---------

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

    * Configure Seeed Xiao S3 RX enable pin (meshtastic#5517)

    * Create OpenWRT_One_mikroBUS_sx1262.yaml (meshtastic#5529)

    * tlora_v2_1_16: Unset BUTTON_PIN and BUTTON_NEED_PULLUP (meshtastic#5535)

    Unset BUTTON_PIN and BUTTON_NEED_PULLUP as the board ships without a user button.

    Devices and users expecting a button on GPIO12 have to set [GPIO for user button](https://meshtastic.org/docs/configuration/radio/device/#gpio-for-user-button) to 12 (or any GPIO pin the momentary switch was connected to) to restore functionality.

    Signed-off-by: Andrew Yong <me@ndoo.sg>

    * [create-pull-request] automated change (meshtastic#5530)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

    * Fix detection for some RadSens hardware versions (meshtastic#5542)

    Co-authored-by: Jake-B <jake-b@users.noreply.github.com>

    * Initialize dmac array to nulls (meshtastic#5538)

    * Initialize dmac array to nulls

    * Use std::cout for print before console is init.

    * Update OpenWRT_One_mikroBUS_sx1262.yaml (meshtastic#5544)

    * Add portduino-buildroot variant (meshtastic#5540)

    * Add portduino-buildroot variant

    * Update platform-native for platform-buildroot

    * portduino-buildroot: Define c standard (meshtastic#5547)

    * Portduino: Move meshtasticd/web out of /usr/share/doc/ (meshtastic#5548)

    * Portduino: fix transitional symlinks (meshtastic#5550)

    * Windows Support - Trunk and Platformio (meshtastic#5397) (meshtastic#5518)

    * Add support for GPG
    * Add usb device support
    * Add trunk.io to devcontainer
    * Trunk things
    * trunk fmt
    * formatting
    * fix trivy/DS002, checkov/CKV_DOCKER_3
    * hide docker extension popup
    * fix trivy/DS026, checkov/CKV_DOCKER_2

    Co-authored-by: Kalle Lilja <15094562+ThatKalle@users.noreply.github.com>

    * Synch minor changes from TFT branch (meshtastic#5520)

    * Synch minor changes from TFT branch

    Includes:
    * New nordicnrf52 minor version (10.5.0 --> 10.6.0)
    * Optimisations for T_DECK
    * preparation for MESH_TAB
    * add ext notification module to portduino

    ---------

    Co-authored-by: mverch67 <manuel.verch@gmx.de>

    * DIO3_TCXO_VOLTAGE in config.yaml can now take an exact voltage (meshtastic#5558)

    * Support TLORA_V3.0 (meshtastic#5563)

    - Support TLORA_V3.0. Update of the legendary 2.1_1.6.1 with solar charger, TCXO and IPEX connector.
    - 'extra' some short-lived EOL intermediate boards in that range. If possible use T3S3 instead of all of these!
    - update trunk to latest version

    * Create OpenWRT-One-mikroBUS-LR-IOT-CLICK.yaml (meshtastic#5564)

    * Portduino: fix setting hwId via argument (meshtastic#5565)

    * INA219 charging detection

    minimal implementation: if there is a configured INA219 sensor for battery monitoring we can take the current flow across the shunt resistor to know if we are charging the battery - negative milliamps indicate charging

    * Update Power.cpp

    added comments and 2 extra defines to disable and swap detection direction

    * Trunk Fixes

    * Add INA226 support

    ---------

    Signed-off-by: Christopher Hoover <ch@murgatroid.com>
    Signed-off-by: Andrew Yong <me@ndoo.sg>
    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
    Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
    Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
    Co-authored-by: Tom Fifield <tom@tomfifield.net>
    Co-authored-by: Michael Gjelsø <36234524+gjelsoe@users.noreply.github.com>
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>
    Co-authored-by: jcyrio <50239349+jcyrio@users.noreply.github.com>
    Co-authored-by: Daniel.Cao <144674500+DanielCao0@users.noreply.github.com>
    Co-authored-by: Catalin Patulea <cronos586@gmail.com>
    Co-authored-by: dylanli <dylan3000dylan@gmail.com>
    Co-authored-by: mverch67 <manuel.verch@gmx.de>
    Co-authored-by: madeofstown <33820964+madeofstown@users.noreply.github.com>
    Co-authored-by: Christopher Hoover <ch@murgatroid.com>
    Co-authored-by: Mictronics <github@mictronics.de>
    Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
    Co-authored-by: caveman99 <25002+caveman99@users.noreply.github.com>
    Co-authored-by: jake-b <1012393+jake-b@users.noreply.github.com>
    Co-authored-by: César de Tassis Filho <CTassisF@users.noreply.github.com>
    Co-authored-by: Tomas Dubec <tomas.dubec@gmail.com>
    Co-authored-by: Liam Cottle <liam@liamcottle.com>
    Co-authored-by: panaceya <panaceya@users.noreply.github.com>
    Co-authored-by: virgil <virgil.wang.cj@gmail.com>
    Co-authored-by: Robert <r@rbrt.io>
    Co-authored-by: noon92 <40807970+noon92@users.noreply.github.com>
    Co-authored-by: Mark Trevor Birss <markbirss@gmail.com>
    Co-authored-by: broglep <20624281+broglep@users.noreply.github.com>
    Co-authored-by: Matthias Granberry <matthias.granberry@gmail.com>
    Co-authored-by: Andrew Yong <me@ndoo.sg>
    Co-authored-by: Jake-B <jake-b@users.noreply.github.com>
    Co-authored-by: Austin <vidplace7@gmail.com>
    Co-authored-by: Kalle Lilja <15094562+ThatKalle@users.noreply.github.com>

commit fa1a1fd
Author: noon92 <40807970+noon92@users.noreply.github.com>
Date:   Sun Dec 22 01:04:18 2024 +0200

    Update Femtofox configs (meshtastic#5646)

    * Delete bin/config.d/femtofox/femtofox_EByte-E22-900M30S_Ebyte-E22-900M22S.yaml

    * Delete bin/config.d/femtofox/femtofox_EByte-E22-900MM22S.yaml

    * Delete bin/config.d/femtofox/femtofox_Heltec-HT-RA62_Seeed-WIO-SX1262.yaml

    * Delete bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

    * Add files via upload

    * Update and rename bin/config.d/femtofox_SX1262_XTAL.yaml to bin/config.d/femtofox/femtofox_SX1262_XTAL.yaml

    * Update and rename bin/config.d/femtofox_LR1121_TCXO.yaml to bin/config.d/femtofox/femtofox_LR1121_TCXO.yaml

    * Update and rename bin/config.d/femtofox_SX1262_TCXO.yaml to bin/config.d/femtofox/femtofox_SX1262_TCXO.yaml

commit 2fd5a48
Author: Eric Severance <esev@esev.com>
Date:   Sat Dec 21 12:07:20 2024 -0800

    Separate host:port before checking for private IP (x2) (meshtastic#5643)

commit f4cff33
Author: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Date:   Sat Dec 21 18:13:03 2024 +0100

    Portduino: specify C++ version and add link pthread (meshtastic#5642)

commit 1c8b165
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 21 11:03:17 2024 -0600

    Add libusb to dockerfile for ch341 (meshtastic#5641)

commit 8e6ef4e
Author: Thomas Göttgens <tgoettgens@gmail.com>
Date:   Sat Dec 21 14:57:01 2024 +0100

    add nugget and nibble boards for 38c3 (meshtastic#5609)

    * add nugget and nibble boards for 38c3

    * mark those boards extra for now

commit fb7866f
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 21 07:49:25 2024 -0600

    Revert "Check if MQTT remote IP is private (meshtastic#5627)" (meshtastic#5636)

    This reverts commit 9a10907.

commit d9b2878
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 21 07:48:47 2024 -0600

    Revert "Separate host/port before checking for private IP (meshtastic#5630)" (meshtastic#5635)

    This reverts commit 398d290.

commit f39a9c5
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Fri Dec 20 21:42:54 2024 -0600

    Clean up some straggler NRF52 json (meshtastic#5628)

commit 398d290
Author: Eric Severance <esev@esev.com>
Date:   Fri Dec 20 19:06:01 2024 -0800

    Separate host/port before checking for private IP (meshtastic#5630)

commit df63423
Author: Tom Fifield <tom@tomfifield.net>
Date:   Sat Dec 21 12:26:23 2024 +1100

    Let RangeTest Module use Phone position if there's no GPS (meshtastic#5623)

    As reported by @Fastomat, if a user had enabled "Share Phone
    Position" in the app, RangeTest did not use this position and
    recorded a 0,0 lat/lon.

    This change preferences GPS where avaialble, but otherwise
    uses the position stored for the node in NodeDB.

    fixes meshtastic#5620

commit 9a10907
Author: Eric Severance <esev@esev.com>
Date:   Fri Dec 20 17:25:31 2024 -0800

    Check if MQTT remote IP is private (meshtastic#5627)

commit 5fed679
Author: Tom Fifield <tom@tomfifield.net>
Date:   Sat Dec 21 12:24:29 2024 +1100

    Add detection code for INA226 (meshtastic#5605)

    INA226 is a high accuracy current and voltage sensor.

commit 58d80b8
Author: Eric Severance <esev@esev.com>
Date:   Fri Dec 20 16:21:27 2024 -0800

    Use IPAddress.fromString for parsing private IPs (meshtastic#5621)

commit 960626e
Author: Jonathan Bennett <jbennett@incomsystems.biz>
Date:   Fri Dec 20 17:34:02 2024 -0600

    Ch341 (meshtastic#5474)

    * Very hacky first attempt at usermod ech341

    * Fixes and debug printfs

    * Move to library version of libpinedio-usb

    * Add spidev: ch341 option in meshtasticd config.yaml

    * Only check settingsStrings on native

    * Use new CH341 code

    * Bump ch341 lib

    * Cleanup USBHal

    * Add ch341 config.d files

    * Remove ch341quirk

    * Bump to most recent spi-userspace driver

    * Add handling for ch341 serial, pid, and vid

    * Minor fixes from pio check

    * Trunk

    * Add include for musl compliance

    * Point to upstream libch341

commit 658459a
Author: Eric Severance <esev@esev.com>
Date:   Fri Dec 20 12:59:23 2024 -0800

    Use encoded ServiceEnvelope in mqttQueue (meshtastic#5619)

commit e1de439
Author: Eric Severance <esev@esev.com>
Date:   Thu Dec 19 17:14:27 2024 -0800

    Remove unnecessary memcpy for PKI crypto (meshtastic#5608)

    * Remove unnecessary memcpy for PKI crypto

    * Update comment s/packet_id/id/

    * Create a copy of bytes for each channel decrypt

    ---------

    Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>

commit 827553f
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Thu Dec 19 08:42:49 2024 -0600

    Only execute on workflow_dispatch

commit 445c641
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Thu Dec 19 07:52:17 2024 -0600

    Version

commit 7075a05
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Thu Dec 19 06:27:19 2024 -0600

    Fix docker secret permission

commit 63091b7
Author: Lewis He <lewishe@outlook.com>
Date:   Thu Dec 19 20:21:54 2024 +0800

    [T-Deck] Fixed the issue that some devices may experience low voltage reset due to excessive startup current (meshtastic#5607)

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

commit 8c6eec5
Author: Eric Severance <esev@esev.com>
Date:   Thu Dec 19 03:47:46 2024 -0800

    Refactor MQTT::onReceive to reduce if/else nesting (meshtastic#5592)

    * Refactor MQTT::onReceive to reduce if/else nesting

    * Fix missing #include <functional>

    * const DecodedServiceEnvelope e

    * Combine validDecode if statement.

    * Only call pb_release when validDecode.

    * s/ptr/channelName/

    * Use reference type for deleter

    * Use lambda instead of bind

    * Document deleter

    * Reorder 'if's to avoid object creation

    * Remove unnecessary comment

    * Remove 'else'; simpifies meshtastic#5516

    ---------

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

commit 6841348
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Wed Dec 18 07:15:48 2024 -0600

    Switch back docker/login-action

commit af79970
Author: 📡 WatskeBart 🤖 <bartistic@gmail.com>
Date:   Wed Dec 18 05:46:18 2024 +0100

    Added product url (meshtastic#5594)

commit 4edeca5
Author: Tom <116762865+Nestpebble@users.noreply.github.com>
Date:   Tue Dec 17 16:25:37 2024 +0000

    Added support for the LR1121 radio to the NRF52 Pro-Micro (meshtastic#5515)

    * Added support for the LR1121 radio

    Added support for the LR1121 radio, tested as functional with an E80-900M2213S from CDEbyte.

    * Swap PNG for PDF

    * remove PNG

    * put TCXO voltage to 1.8, as in example file

    It worked at 1.6v, but ¯\_(ツ)_/¯

    * Hopefully this will appease Trunk

    * Update rf switch pins and Schematic

    ---------

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

commit b0e3039
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Tue Dec 17 06:52:26 2024 -0600

    Bump platform

commit 92511ab
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Tue Dec 17 06:33:17 2024 -0600

    [create-pull-request] automated change (meshtastic#5597)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

commit b0a4087
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Tue Dec 17 06:12:23 2024 -0600

    Bump nano-pb

commit 1b2fc00
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Tue Dec 17 05:45:31 2024 -0600

    Update main_matrix.yml

commit 69d01a8
Author: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Date:   Sun Dec 15 20:11:13 2024 +0100

    StoreForward: (tapback) reply support (meshtastic#5585)

commit 09c082f
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sun Dec 15 09:59:14 2024 -0600

    Fix omission of AQ metrics (meshtastic#5584)

commit 020e910
Author: Tom Fifield <tom@tomfifield.net>
Date:   Mon Dec 16 00:14:48 2024 +1100

    Define BUTTON_PIN as -1 for RP2040-lora (meshtastic#5574)

    The previous approach of undef'ing meant that it was impossible
    for users to change the button pin in the apps.

    Fixes meshtastic#5566

commit 2d45afa
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sun Dec 15 06:52:45 2024 -0600

    Try docker authentication with command-line instead

commit 5600215
Author: Tom Fifield <tom@tomfifield.net>
Date:   Sun Dec 15 23:23:27 2024 +1100

    Based default Node Names on NodeNum, rather than MAC address (meshtastic#5576)

    Presently we base the default long name (Meshtastic XXXX) and short
    names (XXXX) on a node's MAC address. This works fine, unless you
    have a node with no bluetooth, like Portduino.

    Our logic for node numbers is also based on MAC address. However,
    it has the added feature that it will create a random node number
    if the Mac address is no good. The name is always "Meshtastic 0001".

    This change switches node names (long and short) to instead rely
    on the node number for defaults. For nodes with mac addresses,
    there should be no user-visible change. For nodes without, they'll
    now have a name other than "Meshtastic 0001".

    Fixes meshtastic#5370

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

commit 547a572
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Sun Dec 15 05:23:15 2024 -0600

    [create-pull-request] automated change (meshtastic#5577)

    Co-authored-by: fifieldt <1287116+fifieldt@users.noreply.github.com>

commit ea72abf
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 14 20:21:19 2024 -0600

    Posthumous tronk

commit 4024bfd
Author: Aaron.Lee <32860565+Heltec-Aaron-Lee@users.noreply.github.com>
Date:   Sun Dec 15 10:20:29 2024 +0800

    Add screen detection function (meshtastic#5533)

commit 6d8be13
Author: Austin <vidplace7@gmail.com>
Date:   Sat Dec 14 20:19:19 2024 -0500

    Portduino-buildroot: Remove pkg-config optional libs (meshtastic#5573)

commit 4a1239f
Author: André Perdigão Gonçalves <andrepcg@gmail.com>
Date:   Sun Dec 15 00:43:41 2024 +0000

    Add new endpoint to retrieve node info (meshtastic#5557)

commit 44cf6d3
Author: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Date:   Sat Dec 14 11:55:32 2024 +0100

    Portduino: fix setting hwId via argument (meshtastic#5565)

commit c3f89a6
Author: Mark Trevor Birss <markbirss@gmail.com>
Date:   Sat Dec 14 12:46:35 2024 +0200

    Create OpenWRT-One-mikroBUS-LR-IOT-CLICK.yaml (meshtastic#5564)

commit 332dbaf
Author: Thomas Göttgens <tgoettgens@gmail.com>
Date:   Sat Dec 14 10:59:15 2024 +0100

    Support TLORA_V3.0 (meshtastic#5563)

    - Support TLORA_V3.0. Update of the legendary 2.1_1.6.1 with solar charger, TCXO and IPEX connector.
    - 'extra' some short-lived EOL intermediate boards in that range. If possible use T3S3 instead of all of these!
    - update trunk to latest version

commit 92225eb
Author: Jonathan Bennett <jbennett@incomsystems.biz>
Date:   Fri Dec 13 11:48:27 2024 -0600

    DIO3_TCXO_VOLTAGE in config.yaml can now take an exact voltage (meshtastic#5558)

commit 03770b7
Author: Tom Fifield <tom@tomfifield.net>
Date:   Fri Dec 13 03:42:41 2024 +1100

    Synch minor changes from TFT branch (meshtastic#5520)

    * Synch minor changes from TFT branch

    Includes:
    * New nordicnrf52 minor version (10.5.0 --> 10.6.0)
    * Optimisations for T_DECK
    * preparation for MESH_TAB
    * add ext notification module to portduino

    ---------

    Co-authored-by: mverch67 <manuel.verch@gmx.de>

commit 1790407
Author: Tom Fifield <tom@tomfifield.net>
Date:   Fri Dec 13 02:58:19 2024 +1100

    Windows Support - Trunk and Platformio (meshtastic#5397) (meshtastic#5518)

    * Add support for GPG
    * Add usb device support
    * Add trunk.io to devcontainer
    * Trunk things
    * trunk fmt
    * formatting
    * fix trivy/DS002, checkov/CKV_DOCKER_3
    * hide docker extension popup
    * fix trivy/DS026, checkov/CKV_DOCKER_2

    Co-authored-by: Kalle Lilja <15094562+ThatKalle@users.noreply.github.com>

commit 7dd3629
Author: Austin <vidplace7@gmail.com>
Date:   Tue Dec 10 16:02:38 2024 -0500

    Portduino: fix transitional symlinks (meshtastic#5550)

commit cabeb40
Author: Austin <vidplace7@gmail.com>
Date:   Tue Dec 10 14:58:16 2024 -0500

    Portduino: Move meshtasticd/web out of /usr/share/doc/ (meshtastic#5548)

commit 761a99d
Author: Austin <vidplace7@gmail.com>
Date:   Tue Dec 10 11:09:54 2024 -0500

    portduino-buildroot: Define c standard (meshtastic#5547)

commit cf46e67
Author: Austin <vidplace7@gmail.com>
Date:   Tue Dec 10 10:14:52 2024 -0500

    Add portduino-buildroot variant (meshtastic#5540)

    * Add portduino-buildroot variant

    * Update platform-native for platform-buildroot

commit 438f627
Author: Mark Trevor Birss <markbirss@gmail.com>
Date:   Tue Dec 10 09:46:50 2024 +0200

    Update OpenWRT_One_mikroBUS_sx1262.yaml (meshtastic#5544)

commit 0e3dae4
Author: Jonathan Bennett <jbennett@incomsystems.biz>
Date:   Mon Dec 9 21:51:55 2024 -0600

    Initialize dmac array to nulls (meshtastic#5538)

    * Initialize dmac array to nulls

    * Use std::cout for print before console is init.

commit d0e3427
Author: jake-b <1012393+jake-b@users.noreply.github.com>
Date:   Mon Dec 9 20:46:13 2024 -0500

    Fix detection for some RadSens hardware versions (meshtastic#5542)

    Co-authored-by: Jake-B <jake-b@users.noreply.github.com>

commit f3850ee
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Mon Dec 9 06:50:30 2024 -0600

    [create-pull-request] automated change (meshtastic#5530)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

commit 3ae85e2
Author: Andrew Yong <me@ndoo.sg>
Date:   Mon Dec 9 19:38:51 2024 +0800

    tlora_v2_1_16: Unset BUTTON_PIN and BUTTON_NEED_PULLUP (meshtastic#5535)

    Unset BUTTON_PIN and BUTTON_NEED_PULLUP as the board ships without a user button.

    Devices and users expecting a button on GPIO12 have to set [GPIO for user button](https://meshtastic.org/docs/configuration/radio/device/#gpio-for-user-button) to 12 (or any GPIO pin the momentary switch was connected to) to restore functionality.

    Signed-off-by: Andrew Yong <me@ndoo.sg>

commit f81d3b0
Author: Mark Trevor Birss <markbirss@gmail.com>
Date:   Sun Dec 8 12:06:45 2024 +0200

    Create OpenWRT_One_mikroBUS_sx1262.yaml (meshtastic#5529)

commit 59ed5c9
Author: Matthias Granberry <matthias.granberry@gmail.com>
Date:   Sat Dec 7 14:32:49 2024 -0600

    Configure Seeed Xiao S3 RX enable pin (meshtastic#5517)

commit 4a34bf6
Author: Jonathan Bennett <jbennett@incomsystems.biz>
Date:   Sat Dec 7 10:29:49 2024 -0600

    Add MACAddress to config.yaml (meshtastic#5506)

    * Add MACAddress to config.yaml

    * Better error handling on native, including failing to launch with blank MAC Address and real hardware.

    * Re-arrange Mac Address handling and add MACAddressSource

    * Bump portduino to remove macaddr function there

    ---------

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

commit b99e57a
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 7 07:03:58 2024 -0600

    Add popular nrf52 pro micro to the builds (meshtastic#5523)

commit 46eab20
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 7 05:30:59 2024 -0600

    Lets try this again minus device ui

commit 39b5fb0
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Sat Dec 7 05:29:13 2024 -0600

    Revert "Add heltec capsule back"

    This reverts commit fc16d93.

commit fc16d93
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Fri Dec 6 20:01:47 2024 -0600

    Add heltec capsule back

commit bac9fec
Author: Tom Fifield <tom@tomfifield.net>
Date:   Sat Dec 7 11:39:30 2024 +1100

    fix nodeDB erase loop when free mem returns invalid value (0, -1). (meshtastic#5519)

    Co-authored-by: mverch67 <manuel.verch@gmx.de>

commit de77418
Author: broglep <20624281+broglep@users.noreply.github.com>
Date:   Thu Dec 5 13:02:10 2024 +0100

    Always Announce MDNS meshtastic service (meshtastic#5503)

    * refactor server api port into define

    * always announce MDNS meshtastic service

commit c3d6034
Author: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Date:   Thu Dec 5 03:00:19 2024 +0100

    Don't use channel index for encrypted packet (meshtastic#5509)

    * Don't use channel index for encrypted packet

    * Remove assert in `getKey`, set invalid key length
    So encrypting will fail without reboot

    * Reset channel to 0 when unable to encrypt
    Such that the NAK doesn't use the failing channel hash

commit d3e3985
Author: Jonathan Bennett <jbennett@incomsystems.biz>
Date:   Wed Dec 4 12:15:17 2024 -0600

    Fix minor typos in package workflows (meshtastic#5505)

commit 8eca6a2
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Dec 4 08:15:50 2024 -0600

    [create-pull-request] automated change (meshtastic#5500)

    Co-authored-by: thebentern <9000580+thebentern@users.noreply.github.com>

commit e4f5367
Author: Mark Trevor Birss <markbirss@gmail.com>
Date:   Wed Dec 4 13:39:02 2024 +0200

    [Add] LR1110, LR1120 and LR1121 to linux native Portduino (meshtastic#5496)

    * Update main.cpp

    * Update PortduinoGlue.h

    * Update PortduinoGlue.cpp

    * Update PortduinoGlue.cpp

    * Update PortduinoGlue.cpp

    * Update main.cpp

commit 10e1045
Author: noon92 <40807970+noon92@users.noreply.github.com>
Date:   Tue Dec 3 14:33:27 2024 +0200

    Added femtofox configs (meshtastic#5477)

    * added femtofox configs

    * Rename bin/config.d/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml to bin/config.d/femtofox/femtofox_Waveshare-SX126X-XXXM_AI-Thinker-RA-01SH.yaml

    * moved femtofox configs to subdir

commit f846503
Author: Robert <r@rbrt.io>
Date:   Tue Dec 3 06:30:19 2024 -0600

    Extend Length of Source and Destination Node IDs Logged (meshtastic#5492)

    * show 8 chars for logging source and destination ids

    * extend legnth of source and destination nodes in log

commit 85b2bad
Author: dylanli <dylan3000dylan@gmail.com>
Date:   Tue Dec 3 20:29:33 2024 +0800

    Refact the macro definition of GPS initialization of GPSDEFAULTD_NOT_PRESENT and added  seeeed Indicator to this sequence (meshtastic#5494)

    Co-authored-by: Ben Meadors <benmmeadors@gmail.com>

commit 7ad137b
Author: Robert <r@rbrt.io>
Date:   Tue Dec 3 06:28:46 2024 -0600

    add nodeId to nodeinfo update log lines and removed redundant nodeinfo update log line (meshtastic#5493)

commit 57ea6a2
Author: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Date:   Tue Dec 3 13:21:24 2024 +0100

    SimRadio: clean-up and emulate collisions (meshtastic#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

commit d00e0f6
Author: Ben Meadors <benmmeadors@gmail.com>
Date:   Tue Dec 3 06:17:25 2024 -0600

    Convert userprefs to a json file instead of header file which has to be included everywhere (meshtastic#5471)

    * WIP

    * Got string quoting and macro expansion working

    * Need the placeholder

    * Cleanup

    * Missed a user prefs reference

    * Update jsonc

commit 594af0c
Author: dylanli <dylan3000dylan@gmail.com>
Date:   Mon Dec 2 16:59:34 2024 +0800

    Update xiao_esp32 fully support L67K (meshtastic#5488)

    L67K module hardware changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants