Ben Meadors
371313080b
Merge branch 'master' into develop
2025-09-24 06:18:13 -05:00
Ben Meadors
db55d8a59d
Trunk
2025-09-24 06:16:51 -05:00
Ben Meadors
8e04f9f631
Merge branch 'master' into develop
2025-09-24 06:03:14 -05:00
Ben Meadors
94d4bdf05c
Revert "Fix build errors ( #8067 )"
...
This reverts commit d998f70b56 .
2025-09-23 08:57:04 -05:00
Ben Meadors
1968a009dd
Clear lasttoradio on BLE disconnect ( #8095 )
...
* On disconnect, clear the lastToRadio buffer
* Move it, bucko!
2025-09-23 07:31:25 -05:00
Ben Meadors
8e608e8186
Heltec V4 is 16mb
2025-09-23 06:04:47 -05:00
Ben Meadors
f55db903b2
Merge branch 'master' into develop
2025-09-23 05:38:52 -05:00
Ben Meadors and Jonathan Bennett
f77ca2533b
Try-fix: Unstick that PhoneAPI state ( #8091 )
...
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2025-09-22 21:46:35 -05:00
Ben Meadors
e1485b530f
Handle ext. notification module things even if not enabled ( #8089 )
2025-09-22 19:59:05 -05:00
Ben Meadors
1e1f2a69b7
Merge branch 'master' into develop
2025-09-21 16:52:20 -05:00
Ben Meadors
b49496d99d
Merge branch 'master' into develop
2025-09-20 12:18:55 -05:00
Ben Meadors
cc3ff1504a
Merge branch 'master' into develop
2025-09-19 16:11:07 -05:00
Ben Meadors
9b6a7ed3bb
Fix icon
2025-09-19 16:00:24 -05:00
Ben Meadors
6677255f6c
Fix
2025-09-19 12:09:56 -05:00
Ben Meadors
edb250e782
Merge branch 'master' into develop
2025-09-19 11:35:46 -05:00
Ben Meadors
cfb34a8816
Merge branch 'master' into develop
2025-09-19 08:46:22 -05:00
Ben Meadors
c11680fcc0
Fix formatting and trunk issues
2025-09-19 08:37:58 -05:00
Ben Meadors
479c1f5346
Merge branch 'master' into develop
2025-09-19 08:35:23 -05:00
Ben Meadors
b1d314db1e
Merge branch 'master' into develop
2025-09-19 08:27:24 -05:00
Ben Meadors
1ac2382d7c
Revert "Fix excluded modules configuration handling ( #7838 )"
...
This reverts commit 9c6544ebfa .
2025-09-19 07:29:54 -05:00
Ben Meadors
2ef5b968f9
Merge branch 'master' into develop
2025-09-19 07:25:54 -05:00
Ben Meadors
6a92358b68
Fix
2025-09-19 07:22:23 -05:00
Ben Meadors
8841c1540d
Merge branch 'master' into develop
2025-09-19 06:46:13 -05:00
Ben Meadors
e2ce369782
Fixes
2025-09-19 06:29:18 -05:00
Ben Meadors
b14e5770d5
Merge pull request #7873 from compumike/compumike/client-base-role
...
Add `CLIENT_BASE` role: `ROUTER` for favorites, `CLIENT` otherwise (for attic/roof nodes!)
2025-09-18 20:40:39 -05:00
Ben Meadors
39648e609a
Merge pull request #8004 from compumike/compumike/debug-heap-add-free-heap-debugging-to-all-log-lines
...
When `DEBUG_HEAP` is defined, add free heap bytes to every log line in `RedirectablePrint::log_to_serial`
2025-09-18 20:36:44 -05:00
Ben Meadors
20bd237ff6
Merge branch 'master' into develop
2025-09-18 19:51:26 -05:00
Ben Meadors
b13d023d58
Merge branch 'master' into develop
2025-09-18 19:50:16 -05:00
Ben Meadors
902405a985
Extra endif
2025-09-18 19:47:16 -05:00
Ben Meadors
017d07e108
Extra chirpy
2025-09-18 19:28:10 -05:00
Ben Meadors
8f0e17a653
Merge branch 'master' into develop
2025-09-18 19:18:53 -05:00
Ben Meadors
173b75a1c0
Merge pull request #7526 from DaneEvans/ci/merge-queue
2025-09-17 19:07:00 -05:00
Ben Meadors
b0dae54c97
Merge branch 'master' into ci/merge-queue
2025-09-17 19:06:24 -05:00
Ben Meadors
46317f413a
Merge pull request #8004 from compumike/compumike/debug-heap-add-free-heap-debugging-to-all-log-lines
...
When `DEBUG_HEAP` is defined, add free heap bytes to every log line in `RedirectablePrint::log_to_serial`
2025-09-16 13:11:18 -05:00
Ben Meadors
f16aa730d3
Merge pull request #8006 from meshtastic/master
...
Backmerge
2025-09-16 07:21:31 -05:00
Ben Meadors
d31e3839fb
Use long name
2025-09-16 06:11:29 -05:00
Ben Meadors
09de0e3edb
Merge branch 'master' into develop
2025-09-14 08:15:25 -05:00
Ben Meadors
70724bef72
Fix overflow of time value ( #7984 )
...
* Fix overflow of time value
* Revert "Fix overflow of time value"
This reverts commit 084796920179e80a7500d36c25fd4d82b3ef4214.
* That got boogered up
2025-09-14 08:12:38 -05:00
Ben Meadors
2dc7760508
Scale probe buffer size based on current baud rate ( #7975 )
...
* Scale probe buffer size based on current baud rate
* Throttle bad time validation logging and fix time comparison logic
* Remove comment
* Missed the other instances
* Copy pasta
2025-09-14 06:31:17 -05:00
Ben Meadors
9977035499
Fix DRAM overflow on old esp32 targets
2025-09-13 20:14:10 -05:00
Ben Meadors
096afa07f8
Tweak maximums
2025-09-13 18:57:00 -05:00
Ben Meadors
760471d620
Fix json report crashes on esp32 ( #7978 )
2025-09-13 18:52:46 -05:00
Ben Meadors
ae814b5463
Drop the limit
2025-09-13 12:07:14 -05:00
Ben Meadors
4ee07226e4
Missed
2025-09-13 11:59:58 -05:00
Ben Meadors
78dfb05eeb
Portduino dynamic alloc
2025-09-13 11:59:50 -05:00
Ben Meadors and WillyJL
9211b1bb4b
Static memory pool allocation ( #7966 )
...
* Static memory pool
* Initializer
* T-Lora Pager: Support LR1121 and SX1280 models (#7956 )
* T-Lora Pager: Support LR1121 and SX1280 models
* Remove ifdefs
---------
Co-authored-by: WillyJL <me@willyjl.dev >
2025-09-13 07:01:07 -05:00
Ben Meadors
70ac3601b0
Trunk
2025-09-13 06:57:12 -05:00
Ben Meadors
51acd92a37
Trunk
2025-09-13 06:51:18 -05:00
Ben Meadors
d00b2afe1d
Merge pull request #7964 from compumike/compumike/fix-nimble-bluetooth-memory-leak
...
Fix memory leak in `NimbleBluetooth`: allocate `BluetoothStatus` on stack, not heap
2025-09-12 18:30:28 -05:00
Ben Meadors
e49b07ac8c
Merge pull request #7965 from compumike/compumike/fix-nrf52-bluetooth-memory-leak
...
Fix memory leak in `NRF52Bluetooth`: allocate `BluetoothStatus` on stack, not heap
2025-09-12 18:30:01 -05:00
Ben Meadors
e6bfc4a97a
Merge pull request #7969 from meshtastic/master
...
Backmerge
2025-09-12 18:23:40 -05:00
Ben Meadors
a297d21707
Merge pull request #7964 from compumike/compumike/fix-nimble-bluetooth-memory-leak
...
Fix memory leak in `NimbleBluetooth`: allocate `BluetoothStatus` on stack, not heap
2025-09-12 17:12:27 -05:00
Ben Meadors
a8cf4dfe2d
Merge pull request #7965 from compumike/compumike/fix-nrf52-bluetooth-memory-leak
...
Fix memory leak in `NRF52Bluetooth`: allocate `BluetoothStatus` on stack, not heap
2025-09-12 17:12:18 -05:00
Ben Meadors
8989de118c
Only queue 2 client notification
2025-09-12 16:07:27 -05:00
Ben Meadors
1914fa0321
Formatting
2025-09-12 15:49:56 -05:00
Ben Meadors
106a052950
Merge pull request #7873 from compumike/compumike/client-base-role
...
Add `CLIENT_BASE` role: `ROUTER` for favorites, `CLIENT` otherwise (for attic/roof nodes!)
2025-09-12 13:11:53 -05:00
Ben Meadors
ac4bcd2f56
Cleanup
2025-09-11 18:57:30 -05:00
Ben Meadors
83ae72cbb2
Merge pull request #7961 from meshtastic/master
...
Backmerge
2025-09-11 08:14:46 -05:00
Ben Meadors
e17c50bb86
Put guards in place around debug heap operations ( #7955 )
...
* Put guards in place around debug heap operations
* Add macros to clean up code
* Add pointer as well
2025-09-11 07:57:42 -05:00
Ben Meadors
701028b749
Unify build epoch to add flag in platformio-custom.py ( #7917 )
...
* Unify build_epoch replacement logic in platformio-custom
* Missed one
2025-09-11 06:29:50 +10:00
Ben Meadors
108bdf7b0d
Close should set heartbeatReceived = false
2025-09-09 19:11:39 -05:00
Ben Meadors
088318512a
Duplicate
2025-09-09 11:20:27 -05:00
Ben Meadors
f267b5f5f7
Exclude trackball if we aren't a trackball device
2025-09-09 11:15:55 -05:00
Ben Meadors
0cd860e300
RangeTest must be enabled
2025-09-09 10:53:18 -05:00
Ben Meadors
31fdb36987
Detection sensor add module only when enabled
2025-09-09 10:46:33 -05:00
Ben Meadors
ca4b98f2b1
Merge branch 'master' into develop
2025-09-09 08:42:29 -05:00
Ben Meadors
d1d16fc25f
Make phone queues use a static pointer queue ( #7919 )
...
* Make phone queues use a static pointer queue
* Static init
* Compile time constants now
* Instead, lets just use the normal pointerqueue for linux native builds and static for IoT platforms
* Add missing method
* Missing methods
* Update variant.h
2025-09-09 08:21:46 -05:00
Ben Meadors and Copilot
c8afbe68b5
Use char buffer for probeResponse ( #7870 )
...
* Use char buffer for probeResponse
* \Update src/gps/GPS.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Revert "\Update src/gps/GPS.cpp"
This reverts commit 54d64e19f710c2971347507bff5e506b2209602f.
* Remove string
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-09-09 06:34:38 -05:00
Ben Meadors
1643249db7
Revert "Remove board_level from Meshtiny. ( #7933 )" ( #7935 )
...
This reverts commit 2191fe465c .
2025-09-09 05:48:05 -05:00
Ben Meadors
803e96800e
ATAK module should be disabled for non-TAK roles ( #7928 )
2025-09-08 17:21:55 -05:00
Ben Meadors
569a911455
Merge pull request #7915 from meshtastic/master
...
Master backmerge
2025-09-08 05:58:00 -05:00
Ben Meadors
8356ad97e4
Cleanup file list
2025-09-05 07:18:29 -05:00
Ben Meadors
bf51c38975
Don't add heap allocations while debugging the heap
2025-09-05 07:18:03 -05:00
Ben Meadors
3df3c876cc
TFTDisplay destructor
2025-09-05 06:22:21 -05:00
Ben Meadors
68f07c5f9d
Board extras
2025-09-04 18:39:02 -05:00
Ben Meadors
789c1ab59d
Merge branch 'master' into develop
2025-09-03 07:02:05 -05:00
Ben Meadors
655c6b51fe
Try-fix Cardkb detection ( #7825 )
...
* Try-fix: CardKB detection regression
* Correct macro
2025-09-02 09:50:15 -05:00
Ben Meadors
3b82d55176
Revert "Add gat562_mesh_tracker_pro device. ( #7815 )" ( #7824 )
...
This reverts commit 7d1300ab66 .
2025-09-02 06:17:01 -05:00
Ben Meadors
a0e14439cb
Merge pull request #7785 from meshtastic/master
...
Backmerge
2025-08-29 13:59:19 -05:00
Ben Meadors
4e03df5ea7
Fix freetext hang ( #7781 )
...
* Fixed freetext hangs by adding canned modules back to self-sourced packets and transition to SENDING_ACTIVE state
* Update meshmodule handling
2025-08-29 12:09:22 -05:00
Ben Meadors and Tom Fifield
9b41131af8
Backmerge ( #7782 )
...
* Merge pull request #7777 from meshtastic/create-pull-request/bump-version
Bump release version
* Only send Neighbours if we have some to send. (#7493 )
* Only send Neighbours if we have some to send.
The original intent of NeighborInfo was that when a NeighbourInfo
was sent all of the nodes that saw it would reply with NeighbourInfo.
So, NeighbourInfo was sent even if there were no hop-zero nodes in
the NodeDB.
Since 2023, when this was implemented, our understanding of running city-wide
meshes has improved substantially. We have taken steps to reduce the impact
of NeighborInfo over LoRa.
This change aligns with those ideas: we will now only send NeighborInfo
if we have some neighbors to contribute.
The impact of this change is that a node must first see another directly
connected node in another packet type before NeighborInfo is sent. This means
that a node with no neighbors is no longer able to trigger other nodes
to broadcast NeighborInfo. It will, however, receive the regular periodic
broadcast of NeighborInfo, and will be able to send NeighborInfo if it
has at least 1 neighbor.
* Include all the things
* AvOid memleak
* We don't gotTime if time is 2019. (#7772 )
There are certain GPS chips that have a hard-coded time in firmware
that they will return before lock. We set our own hard-coded time,
BUILD_EPOCH, that should be newer and use the comparison to not set
a bad time.
In https://github.com/meshtastic/firmware/pull/7261 we introduced
the RTCSetResult and improved it in https://github.com/meshtastic/firmware/pull/7375 .
However, the original try-fix left logic in GPS.cpp that could
still result in broadcasting the bad time.
Further, as part of our fix we cleared the GPS buffer if we didn't
get a good time. The mesh was hurting at the time, so this was a reasonable
approach. However, given time tends to come in when we're trying to get
early lock, this had the potential side effect of throwing away valuable
information to get position lock.
This change reverses the clearBuffer and changes the logic so if time
is not set it will not be broadcast.
Fixes https://github.com/meshtastic/firmware/issues/7771
Fixes https://github.com/meshtastic/firmware/issues/7750
---------
Co-authored-by: Tom Fifield <tom@tomfifield.net >
2025-08-29 10:31:55 -05:00
Ben Meadors
6c7cff7de2
Merge pull request #7777 from meshtastic/create-pull-request/bump-version
...
Bump release version
2025-08-28 06:04:37 -05:00
Ben Meadors
46f797c40d
Merge pull request #7777 from meshtastic/create-pull-request/bump-version
...
Bump release version
2025-08-28 06:02:24 -05:00
Ben Meadors
8685436cbb
Merge pull request #7773 from meshtastic/master
...
Backmerge
2025-08-27 20:53:55 -05:00
Ben Meadors
834c3c5cc2
Add this back in
2025-08-27 16:24:57 -05:00
Ben Meadors
25a19b49ad
This one is not working yet
2025-08-27 15:18:26 -05:00
Ben Meadors
a4d96bebfb
Drop for now
2025-08-27 14:35:29 -05:00
Ben Meadors
26c38ffc8e
Remove debug logging
2025-08-27 11:55:27 -05:00
Ben Meadors
237b8908f7
Chainsaw took too much off the top
2025-08-27 09:54:39 -05:00
Ben Meadors
06bccef462
Reinstitute previous streamapi readStream
2025-08-27 07:17:46 -05:00
Ben Meadors
3120bb8fd7
Fix check
2025-08-27 06:50:53 -05:00
0903ed8232
Mesh solar integrate ( #7764 )
...
* Added HELTEC MeshSolar board. (#7499 )
* Added HELTEC MeshSolar board.
* Set emergency shutdown pin as high impedance
* Set emergency shutdown pin as high impedance
Set emergency shutdown pin as high impedance
* Update variants/nrf52840/heltec_mesh_solar/variant.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update variants/nrf52840/heltec_mesh_solar/variant.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update variants/nrf52840/heltec_mesh_solar/variant.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update I2C SCL pin definition in variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Updates
---------
Co-authored-by: Quency-D <55523105+Quency-D@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-27 06:02:54 -05:00
Ben Meadors and todd-herbert
f8ba392a24
Add BaseUI support for L1 EInk ( #7751 )
...
* Add BaseUI support for L1 EInk
* Fix Eink offset
* Add joystick
* Updates
* Adjust Seeed Wio Tracker L1 E-Ink variant (#7326 )
* Rename variant
Needs the -inkhud suffix to work correctly with the web flasher
* Display driver for ZJY122250_0213BAAMFGN
* Remove dead code from nicheGraphics.h
Remnants of T-Echo's nicheGraphics.h file, which was used as a template.
* Use ZJY122250_0213BAAMFGN driver
Improves display health. We don't need as many full refreshes now.
* Tidying
* board_check = true
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
* Consolidation
* Add hack for existing InkHUD button functionality
---------
Co-authored-by: todd-herbert <herbert.todd@gmail.com >
2025-08-26 20:29:11 -05:00
Ben Meadors
3dd384dd53
Null check
2025-08-26 19:45:26 -05:00
Ben Meadors
67e3a17b28
Merge pull request #7745 from TN666/add-encrypted-packet-tests
...
Add more test case for encrypted packet test
2025-08-26 06:23:20 -05:00
Ben Meadors
24204feb71
Merge pull request #7747 from m1nl/esp32-pm-capabability-flags
...
Setup ESP32 PM-specific capability flags
2025-08-25 19:29:25 -05:00
Ben Meadors
4ace2638e1
Merge pull request #7718 from notmasteryet/err7info
...
Log more information about ignored packet
2025-08-25 14:29:24 -05:00
Ben Meadors
f2ba7d7851
Merge pull request #7744 from meshtastic/master
...
Backmerge to develop
2025-08-25 06:58:05 -05:00
Ben Meadors
8b42bf7a95
Don't reboot when setting lora config with portduino sim radio ( #7716 )
2025-08-23 05:47:51 -05:00
Ben Meadors and whywilson
093a37a2b0
On screen keyboard ( #7705 )
...
* Add on-screen keyboard implementation on Trackball device.
* Update On-Screen Keyboard to new layout.
* The on-screen keyboard dynamically adjusts the key size based on the screen.
* Improve input box display on small screens.
* Optimize the virtual keyboard layout and cursor movement logic, and adjust the keyboard starting position for small and wide screens.
* Optimize the text alignment of numeric keys on ssd1306.
---------
Co-authored-by: whywilson <m.tools@qq.com >
2025-08-21 06:31:27 -05:00