firmware/src/mesh
Jonathan Bennett 4feaec651f
Unify the native display config between legacy display and MUI (#6838)
* Add missed include

* Another Warning fix

* Add another HAS_SCREEN

* Namespace fixes

* Removed depricated destination types and re-factored destination screen

* Get rid of Arduino Strings

* Clean up after Copilot

* SixthLine Def, Screen Rename

Added Sixth Line Definition Screen Rename, and Automatic Line Adjustment

* Consistency is hard - fixed "Sixth"

* System Frame Updates

Adjusted line construction to ensure we fit maximum content per screen.

* Fix up notifications

* Add a couple more ifdef HAS_SCREEN lines

* Add screen->isOverlayBannerShowing()

* Don't forget the invert!

* Adjust Nodelist Center Divider

Adjust Nodelist Center Divider

* Fix variable casting

* Fix entryText variable as empty before update to fix validation

* Altitude is int32_t

* Update PowerTelemetry to have correct data type

* Fix cppcheck warnings (#6945)

* Fix cppcheck warnings

* Adjust logic in Power.cpp for power sensor

---------

Co-authored-by: Jason P <applewiz@mac.com>

* More pixel wrangling so things line up NodeList edition

* Adjust NodeList alignments and plumb some background padding for a possible title fix

* Better alignment for banner notifications

* Move title into drawCommonHeader; initial screen tested

* Fonts make spacing items difficult

* Improved beeping booping and other buzzer based feedback (#6947)

* Improved beeping booping and other buzzer based feedback

* audible button feedback (#6949)

* Refactor

---------

Co-authored-by: todd-herbert <herbert.todd@gmail.com>

* Sandpapered the corners of the notification popup

* Finalize drawCommonHeader migration

* Update Title of Favorite Node Screens

* Update node metric alignment on LoRa screen

* Update the border for popups to separate it from background

* Update PaxcounterModule.cpp with CommonHeader

* Update WiFi screen with CommonHeader and related data reflow

* It was not, in fact, pointing up

* Fix build on wismeshtap

* T-deck trackball debounce

* Fix uptime on Device Focused page to actually detail

* Update Sys screen for new uptime, add label to Freq/Chan on LoRa

* Don't display DOP any longer, make Uptime consistent

* Revert Uptime change on Favorites, Apply to Device Focused

* Label the satelite number to avoid confusion

* Boop boop boop boop

* Correct GPS positioning and string consistency across strings for GPS

* Fix GPS text alignment

* Enable canned messages by default

* Don't wake screen on new nodes

* Cannedmessage list emote support added

* Fn+e emote picker for freetext screen

* Actually block CannedInput actions while display is shown

* Add selection menu to bannerOverlay

* Off by one

* Move to unified text layouts and spacing

* Still my Fav without an "e"

* Fully remove EVENT_NODEDB_UPDATED

* Simply LoRa screen

* Make some char pointers const to fix compilation on native targets

* Update drawCompassNorth to include radius

* Fix warning

* button thread cleanup

* Pull OneButton handling from PowerFSM and add MUI switch (#6973)

* Trunk

* Onebutton Menu Support

* Add temporary clock icon

* Add gps location to fsi

* Banner message state reset

* Cast to char to satisfy compiler

* Better fast handling of input during banner

* Fix warning

* Derp

* oops

* Update ref

* Wire buzzer_mode

* remove legacy string->print()

* Only init screen if one found

* Unsigned Char

* More buttonThread cleaning

* screen.cpp button handling cleanup

* The Great Event Rename of 2025

* Fix the Radiomaster

* Missed trackball type change

* Remove unused function

* Make ButtonThread an InputBroker

* Coffee hadn't kicked in yet

* Add clock icon for Navigation Bar

* Restore clock screen definition code - whoops

* ExternalNotifications now observe inputBroker

* Clock rework (#6992)

* Move Clock bits into ClockRenderer space

* Rework clock into all device navigation

* T-Watch Actually Builds Different

* Compile fix

---------

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

* Add AM/PM to Digital Clock

* Flip Seconds and AM/PM on Clock Display

* Tik-tok pixels are hard

* Fix builds on Thinknode M1

* Check for GPS and don't crash

* Don't endif til the end

* Rework the OneButton thread to be much less of a mess. (#6997)

* Rework the OneButton thread to be much less of a mess. And break lots of targets temporarily

* Update src/input/ButtonThread.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix GPS toggle

* Send the shutdown event, not just the kbchar

* Honor the back button in a notificaiton popup

* Draw the right size box for popup with options

* Try to un-break all the things

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* 24-hour Clock Should have leading zero, but not 12-hour

* Fixup some compile errors

* Add intRoutine to ButtonThread init, to get more responsive user button back

* Add Timezone picker

* Fix Warning

* Optionally set the initial selection for the chooser popup

* Make back buttons work in canned messages

* Drop the wrapper classes

* LonPressTime now configurable

* Clock Frame can not longer be blank; just add valid time

* Back buttons everywhere!

* Key Verification confirm banner

* Make Elecrow M* top button a back button

* Add settings saves

* EInk responsiveness fixes

* Linux Input Fixes

* Add Native Trackball/Joystick support, and move UserButton to Input

* No Flight Stick Mode

* Send input event

* Add Channel Utilization to Device Focused frame

* Don't shift screens when we draw new ones

* Add showOverlayBanner arguments to no-op

* trunk

* Default Native trackball to NC

* Fix crash in simulator mode

* Add longLong button press

* Get the args right

* Adjust Bluetooth Pairing Screen to account for bottom navigation.

* Trackball everywhere, and unPhone buttons

* Remap visionmaster secondary button to TB_UP

* Kill ScanAndSelect

* trunk

* No longer need the canned messages input filter

* All Canned All the time

* Fix stm32 compile error regarding inputBroker

* Unify tft lineheights (#7033)

* Create variable line heights based upon SCREEN_HEIGHT

* Refactor textPositions into method -> getTextPositions

* Update SharedUIDisplay.h

---------

Co-authored-by: Jason P <applewiz@mac.com>

* Adjust top distance for larger displays

* Adjust icon sizes for larger displays

* Fix Paxcounter compile errors after code updates

* Pixel wrangling to make larger screens fit better

* Alert frame has precedence over banner -- for now

* Unify on ALT_BUTTON

* Align AM/PM to the digit, not the segment on larger displays

* Move some global pin defines into configuration.h

* Scaffolding for BMM150 9-axis gyro

* Alt button behavior

* Don't add the blank GPS frames without HAS_GPS

* EVENT_NODEDB_UPDATED has been retired

* Clean out LOG_WARN messages from debugging

* Add dismiss message function

* Minor buttonThread cleanup

* Add BMM150 support

* Clean up last warning from dev

* Simplify bmm150 init return logic

* Add option to reply to messages

* Add minimal menu upon selecting home screen

* Move Messages to slot 2, rename GPS to Position, move variables nearer functional usage in Screen.cpp

* Properly dismiss message

* T-Deck Trackball press is not user button

* Add select on favorite frame to launch cannedMessage DM

* Minor wording change

* Less capital letters

* Fix empty message check, time isn't reliable

* drop dead code

* Make UIRenderer a static class instead of namespace

* Fix the select on favorite

* Check if message is empty early and then 'return'

* Add kb_found, and show the option to launch freetype if appropriate

* Ignore impossible touchscreen touches

* Auto scroll fix

* Move linebreak after "from" for banners to maximize screen usage.

* Center "No messages to show" on Message frame

* Start consolidating buzzer behavior

* Fixed signed / unsigned warning

* Cast second parameter of max() to make some targets happy

* Cast kbchar to (char) to make arduino string happy

* Shorten the notice of "No messages"

* Add buzzer mode chooser

* Add regionPicker to Lora icon

* Reduce line spacing and reorder Position screen to resolve overlapping issues

* Update message titles, fix GPS icons, add Back options

* Leftover boops

* Remove chirp

* Make the region selection dismissable when a region is already set

* Add read-aloud functionality on messages w/ esp8266sam

* "Last Heard" is a better label

* tweak the beep

* 5 options

* properly tear down freetext upon cancel

* de-convelute canned messages just a bit

* Correct height of Mail icon in navigation bar

* Remove unused warning

* Consolidate time methods into TimeFormatters

* Oops

* Change LoRa Picker Cancel to Back

* Tweak selection characters on Banner

* Message render not scrolling on 5th line

* More fixes for message scrolling

* Remove the safety next on text overflow - we found that root cause

* Add pin definitions to fix compilation for obscure target

* Don't let the touchscreen send unitialized kbchar values

* Make virtual KB just a bit quicker

* No more double tap, swipe!

* Left is left, and Right is right

* Update horizontal lightning bolt design

* Move from solid to dashed separator for Message Frame

* Single emote feature fix

* Manually sort overlapping elements for now

* Freetext and clearer choices

* Fix ESP32 InkHUD builds on the unify-tft branch (#7087)

* Remove BaseUI branding

* Capitalization is fun

* Revert Meshtastic Boot Frame Changes

* Add ANZ_433 LoRa region to picker

* Update settings.json

---------

Co-authored-by: HarukiToreda <116696711+HarukiToreda@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Jason P <applewiz@mac.com>
Co-authored-by: todd-herbert <herbert.todd@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-21 06:36:04 -05:00
..
api Rak13800 Ethernet works on rak11310 too 2025-04-20 18:51:01 +10:00
compression chore: update unishox2.h (#6092) 2025-02-19 12:58:41 +01:00
eth Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
generated [create-pull-request] automated change (#7082) 2025-06-19 18:57:18 -05:00
http Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
raspihttp Stop the madness! Run as a user (not root) (#6718) 2025-05-15 06:40:46 -05:00
udp udp-multicast: remove the thread from the multicast thread API (#6685) 2025-04-30 05:52:42 -05:00
wifi Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
aes-ccm.cpp Fix issue #5665. (#5678) 2024-12-27 16:12:26 +01:00
aes-ccm.h Re-implement PKI from #1509 (#4379) 2024-08-13 18:43:19 -05:00
Channels.cpp MQTT userprefs (#6802) 2025-05-14 13:39:46 -05:00
Channels.h 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
CryptoEngine.cpp Generate keys when Lora Region is set (#6951) 2025-06-04 12:16:37 -05:00
CryptoEngine.h Remove unnecessary memcpy for PKI crypto (#5608) 2024-12-19 19:14:27 -06:00
Default.cpp Convert userprefs to a json file instead of header file which has to be included everywhere (#5471) 2024-12-03 06:17:25 -06:00
Default.h Added new map report opt-in for compliance and limit map report (and default) to one hour (#6813) 2025-05-14 15:31:28 -05:00
FloodingRouter.cpp 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
FloodingRouter.h 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
InterfacesTemplates.cpp new device: Lilygo T-Eth-Elite (#6321) 2025-03-15 14:15:35 +01:00
LLCC68Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LLCC68Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR11x0Interface.cpp feat(RadioInterface): Tx power gain calculation rework (#6796) 2025-05-25 06:26:31 -05:00
LR11x0Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR1110Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR1110Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR1120Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR1120Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR1121Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
LR1121Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
MemoryPool.h Refactor MQTT::onReceive to reduce if/else nesting (#5592) 2024-12-19 05:47:46 -06:00
mesh-pb-constants.cpp Cherrypick "add more locking for shared SPI devices (#5595) " (#5728) 2025-01-03 10:05:26 +08:00
mesh-pb-constants.h Increase the debt ceiling 2025-05-20 20:31:01 -05:00
MeshModule.cpp Space out periodic broadcasts of modules automatically (#5931) 2025-01-26 13:59:59 -06:00
MeshModule.h Space out periodic broadcasts of modules automatically (#5931) 2025-01-26 13:59:59 -06:00
MeshPacketQueue.cpp Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
MeshPacketQueue.h Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
MeshRadio.h
MeshService.cpp Don't use assert() in MeshService to guard queueing packets (#6388) 2025-03-24 23:26:59 +01:00
MeshService.h Cleanup 2025-03-16 08:19:46 -05:00
MeshTypes.h 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
NextHopRouter.cpp Don't cancel sending ReTx for relayer if we're ROUTER(_LATE)/REPEATER (#6904) 2025-05-27 18:10:14 -05:00
NextHopRouter.h 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
NodeDB.cpp Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
NodeDB.h More clear key warning messages. 2025-06-14 19:35:57 -05:00
PacketHistory.cpp Unify the native display config between legacy display and MUI (#6838) 2025-06-21 06:36:04 -05:00
PacketHistory.h PacketHistory debloat RAM allocations (#7034) 2025-06-17 07:18:59 -05:00
PhoneAPI.cpp Add some no-nonsense coercion for self-reporting node values (#6793) 2025-05-11 18:08:29 -05:00
PhoneAPI.h Only send nodes on want_config of 69421 (#6792) 2025-05-11 15:18:53 -05:00
PointerQueue.h
ProtobufModule.cpp
ProtobufModule.h More reduction (#5256) 2024-11-04 19:15:59 -06:00
RadioInterface.cpp Add ANZ_433 Region (#7036) 2025-06-20 21:39:42 -05:00
RadioInterface.h 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
RadioLibInterface.cpp Fix spurious button presses on some T-Echos (#6590) 2025-04-15 20:33:44 -05:00
RadioLibInterface.h Fix preamble detected IRQ flag (#6653) 2025-04-22 14:21:29 -05:00
RadioLibRF95.cpp remove newline from logging statements. (#5022) 2024-10-14 15:11:43 +11:00
RadioLibRF95.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
ReliableRouter.cpp 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
ReliableRouter.h 2.6 changes (#5806) 2025-03-01 06:18:33 -06:00
RF95Interface.cpp feat(RadioInterface): Tx power gain calculation rework (#6796) 2025-05-25 06:26:31 -05:00
RF95Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
Router.cpp Key erase (#7018) 2025-06-12 12:13:39 -05:00
Router.h Revert "router: on linux add a mutex around the queue (#6709)" (#6726) 2025-05-02 13:53:25 -04:00
SinglePortModule.h Make SPI frequency and TOPHONE queue size configurable on Native (#4369) 2024-08-01 19:29:49 -05:00
STM32WLE5JCInterface.cpp feat(RadioInterface): Tx power gain calculation rework (#6796) 2025-05-25 06:26:31 -05:00
STM32WLE5JCInterface.h Fix STM32WL TCXO setting; enable logs and modules (#6063) 2025-02-15 09:06:10 -06:00
StreamAPI.cpp remove newline from logging statements. (#5022) 2024-10-14 15:11:43 +11:00
StreamAPI.h uClibc compatibility (#5270) 2024-11-07 14:23:08 +01:00
SX126xInterface.cpp feat(RadioInterface): Tx power gain calculation rework (#6796) 2025-05-25 06:26:31 -05:00
SX126xInterface.h fix: TCXO_OPTIONAL featuring SenseCAP Indicator (V1/V2) (#5948) 2025-01-27 14:00:12 -06:00
SX128xInterface.cpp feat(RadioInterface): Tx power gain calculation rework (#6796) 2025-05-25 06:26:31 -05:00
SX128xInterface.h Encapsulate RadioLibInterface receive IRQ logic (#4866) 2024-09-25 16:19:18 -05:00
SX1262Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
SX1262Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
SX1268Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
SX1268Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
SX1280Interface.cpp Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
SX1280Interface.h Allow for better target level Radiolib exclude plumbing (#4906) 2024-09-30 05:14:22 -05:00
Throttle.cpp Refactor and consolidate time window logic (#4826) 2024-09-23 08:58:14 -05:00
Throttle.h Refactor and consolidate time window logic (#4826) 2024-09-23 08:58:14 -05:00
TypeConversions.cpp Fix is_unmessagable plumbing (#6886) 2025-05-25 07:24:28 -05:00
TypeConversions.h User to UserLite in NodeDB (#4438) 2024-08-13 18:43:37 -05:00
TypedQueue.h Initial commit of a fuzzer for Meshtastic (#5790) 2025-01-16 18:42:21 -06:00