firmware/src/mesh
todd-herbert eabec5ae34
Show specific frame when updating screen (#4264)
* Updated setFrames in Screen.cpp

Added code to attempt to revert back to the same frame that user was on prior to setFrame reload.

* Space added Screen.cpp

* Update Screen.cpp

Make screen to revert to Frame 0 if the originally displayed frame is no longer there.

* Update Screen.cpp

Inserted boolean holdPosition into setFrames to indicate the requirement to stay on the same frame ( if =true) or else it will switch to new frame .
Only Screen::handleStatusUpdate calls with setFrame(true). ( For Node Updates)
All other types of updates call as before setFrame(), so it will change focus as needed.

* Hold position, even if number of frames increases

* Hold position, if handling an outgoing text message

* Update Screen.cpp

* Reverted chnages related to devicestate.has_rx_text_message

* Reset to master

* CannedMessages only handles routing packets when waiting for ACK
Previously, this was calling Screen::setFrames at unexpected times

* Gather position info about screen frames while regenerating

* Make admin module observable
Notify only when relevant. Currently: only to handle remove_nodenum.

* Optionally specify which frame to focus when setFrames runs

* UIFrameEvent uses enum instead of multiple booleans

* Allow modules to request their own frame to be focussed
This is done internally by calling MeshModule::requestFocus()
Easier this way, insteady of passing the info in the UIFrameEvent:
* Modules don't always know whether they should be focussed until after the UIFrameEvent has been raised, in dramFrame
* Don't have to pass reference to module instance as parameter though several methods

* E-Ink screensaver uses FOCUS_PRESERVE
Previously, it had its own basic implementation of this.

* Spelling: regional variant

* trunk

* Fix HAS_SCREEN guarding

* More HAS_SCREEN guarding

---------

Co-authored-by: BIST <77391720+slash-bit@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: slash-bit <v-b2@live.com>
2024-07-11 18:51:26 -05:00
..
api
compression
eth Fix build when HAS_NETWORKING is false on nrf52 (#4237) 2024-07-07 07:08:49 -05:00
generated [create-pull-request] automated change (#4263) 2024-07-10 15:15:57 -05:00
http minor cleanup proposal (#4169) 2024-07-03 17:39:09 -05:00
raspihttp Crash fix and remove hard-coded path from PiWebServer (#3478) 2024-03-23 12:29:05 -05:00
wifi minor cleanup proposal (#4169) 2024-07-03 17:39:09 -05:00
Channels.cpp Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). (#3469) 2024-03-25 06:33:57 -05:00
Channels.h
CryptoEngine.cpp
CryptoEngine.h
Default.cpp
Default.h Added one minute throttling to NodeDB save to disk (#3648) 2024-04-18 14:20:39 -05:00
FloodingRouter.cpp Deprecate Router Client role (and make it Client) (#4201) 2024-06-29 19:03:00 -05:00
FloodingRouter.h Fix #3452: only alter received packet if port number matches (#3474) 2024-03-23 07:31:58 -05:00
InterfacesTemplates.cpp LR1110 support (#3013) 2024-06-03 16:04:40 -05:00
LLCC68Interface.cpp
LLCC68Interface.h
LR11x0Interface.cpp Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
LR11x0Interface.h LR1110 support (#3013) 2024-06-03 16:04:40 -05:00
LR1110Interface.cpp LR1110 support (#3013) 2024-06-03 16:04:40 -05:00
LR1110Interface.h LR1110 support (#3013) 2024-06-03 16:04:40 -05:00
LR1120Interface.cpp LR1110 support (#3013) 2024-06-03 16:04:40 -05:00
LR1120Interface.h LR1110 support (#3013) 2024-06-03 16:04:40 -05:00
MemoryPool.h
mesh-pb-constants.cpp
mesh-pb-constants.h Make MAX_NUM_NODES configurable in variant.h (#3453) 2024-03-21 18:26:37 -05:00
MeshModule.cpp Show specific frame when updating screen (#4264) 2024-07-11 18:51:26 -05:00
MeshModule.h Show specific frame when updating screen (#4264) 2024-07-11 18:51:26 -05:00
MeshPacketQueue.cpp
MeshPacketQueue.h
MeshRadio.h
MeshService.cpp If toPhoneQueue is full, still increment fromNum to avoid client never getting packets (#4246) 2024-07-07 09:06:42 -05:00
MeshService.h Rebrand "send network ping" to more honest "try send position" with better output (#3737) 2024-04-27 08:55:04 -05:00
MeshTypes.h
NodeDB.cpp Trunk fmt 2024-07-09 12:16:56 -05:00
NodeDB.h Standardize lat/lon position logs (#4156) 2024-06-21 17:25:54 -05:00
PacketHistory.cpp Add MaxNodes to Native config (#3427) 2024-03-21 09:06:37 -05:00
PacketHistory.h
PhoneAPI.cpp When talking via serial, encapsulate log messages in protobufs if necessary (#4187) 2024-06-30 18:41:27 -05:00
PhoneAPI.h Fix flakey phone api transition from file manifest to complete (#4209) 2024-06-30 08:22:24 -05:00
PointerQueue.h
ProtobufModule.cpp
ProtobufModule.h make clang-format happy again. Also fix assorted variable shrouding and logic bleeps 2024-05-03 15:10:57 +02:00
RadioInterface.cpp Typo fix in logs - mhz - MHz (#4225) 2024-07-03 09:04:39 -05:00
RadioInterface.h Set unused header bytes to zero for future use (#3479) 2024-03-23 12:38:29 -05:00
RadioLibInterface.cpp Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
RadioLibInterface.h Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
RadioLibRF95.cpp Add support for RadioMaster Bandit Nano (#4005) 2024-05-31 10:56:04 -05:00
RadioLibRF95.h
ReliableRouter.cpp Add MaxNodes to Native config (#3427) 2024-03-21 09:06:37 -05:00
ReliableRouter.h
RF95Interface.cpp Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
RF95Interface.h
Router.cpp New new BLE logging characteristic with LogRecord protos (#4220) 2024-07-03 16:29:07 -05:00
Router.h
SinglePortModule.h
STM32WLE5JCInterface.cpp
STM32WLE5JCInterface.h
StreamAPI.cpp When talking via serial, encapsulate log messages in protobufs if necessary (#4187) 2024-06-30 18:41:27 -05:00
StreamAPI.h When talking via serial, encapsulate log messages in protobufs if necessary (#4187) 2024-06-30 18:41:27 -05:00
SX126xInterface.cpp Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
SX126xInterface.h
SX128xInterface.cpp Add PowerMon support (#4155) 2024-07-03 18:02:20 -05:00
SX128xInterface.h
SX1262Interface.cpp
SX1262Interface.h
SX1268Interface.cpp
SX1268Interface.h
SX1280Interface.cpp
SX1280Interface.h
Throttle.cpp Added one minute throttling to NodeDB save to disk (#3648) 2024-04-18 14:20:39 -05:00
Throttle.h Added one minute throttling to NodeDB save to disk (#3648) 2024-04-18 14:20:39 -05:00
TypeConversions.cpp Skip favorite nodes when clearing out oldest in NodeDB (#3464) 2024-03-21 19:51:02 -05:00
TypeConversions.h
TypedQueue.h