Commit Graph
19 Commits
Author SHA1 Message Date
hank 1e10574a1f Reformatting code 2025-06-01 20:02:31 -07:00
hank 81a39f04d9 Refactored MyMesh, advert on doublepress
Pulled the class out of main.cpp, made a header to go along with it, externed globals in headers to make them accessible to button code. Added button code to send an advert on double press. Refactored ini files to prevent linker errors.
2025-05-31 19:11:28 -07:00
JQ 0be8d64ace add ack for quiet mode 2025-05-30 22:55:53 -07:00
JQ c522482edd usability fixes, fix t114 build src filter 2025-05-30 20:32:49 -07:00
JQ 07204aedee initial button manager 2025-05-27 19:10:56 -07:00
seagull9000 0e6e6f96bc Connect RTTTL shutdown melody to shutdown procedure
Added a new UITask shutdown method to run non-board specific shutdown code.  This avoids having to update all the board files for different hardware.

UITask::shutdown(bool restart = false);

Where the buzzer is available and defined, the RTTTL shutdown melody is played when the button is held down for >5s.
2025-05-27 11:07:51 +12:00
seagull9000 2042033bf6 fix location and naming of enum 2025-05-20 19:33:21 +12:00
seagull9000 a719466871 RTTTL on message types 2025-05-20 19:09:49 +12:00
Scott Powell 30a6b12196 * refactored buzzer concept to UITask
* moved buzzer.h/cpp to helpers/ui
2025-05-20 11:52:55 +10:00
Scott Powell 19d506f4b3 * big refactor of the 'display' object. Now defined in variants/*/target modules. 2025-05-19 14:16:55 +10:00
Jacob Quatier 7065c1438e UI: battery indicator, boot screen, radio settings 2025-04-20 19:17:02 -07:00
Florent de Lamotte 41af329c44 display and btn handling starts working ... 2025-04-10 16:24:17 +02:00
liamcottle 54e26a6b42 remove unused variables 2025-04-08 23:17:22 +12:00
liamcottle e213cc2765 show firmware version and build date on companion screen 2025-04-08 22:58:17 +12:00
Scott Powell 968ccc47a3 * companion: SSD1306 display now dynamically detected at runtime. 2025-03-16 13:42:36 +11:00
Scott Powell c00ee96d86 * some fixes around the powerOff(). Tidy ups 2025-03-14 19:08:41 +11:00
Florent de Lamotte afd52de03d enhancement on the UI and support for power off and status_led for t1000e 2025-03-10 18:11:15 +01:00
Scott Powell 2719e5195a * companion: UITask now shows BLE PIN (when no connection)
* companion, HeltecV3: new installs, now chooses random BLE PIN
* companion: prefs load/save improvements (sanitises bad values)
2025-03-05 15:47:29 +11:00
Scott Powell 6bc5946661 * new ui/DisplayDriver classes (just SSD1306Display impl for now)
* companion radio: now with optional UITask (enabled by DISPLAY_CLASS config in target/env)
2025-03-04 23:09:43 +11:00