Commit graph

13 commits

Author SHA1 Message Date
MatthewColvin
ae7bc0da54 added full ability to connect to wifi 2023-10-17 17:30:41 -05:00
MatthewColvin
38ec26dce7 rework Notifications by adding handler class that can unregister when it falls out of scope.
rework wifi Interface around this new concept and patch up some old uses of notifications to follow new paradigm

compile out old UI code because notification refactor broke it.
2023-10-15 00:22:43 -05:00
Matthew Colvin
02b664b893 fix linux build breaks of sim build 2023-10-12 15:24:38 -05:00
MatthewColvin
4a5c83c8b9 fully implement Key press handeling in HAL for esp32 hardware and switch hardware to use the refactored UI
make UI add widgets on button presses as a demo
2023-10-05 09:53:07 -05:00
MatthewColvin
160114f54c move from constructing keypress abstract with handler into setting the handler so that it can be set by the UI. 2023-09-29 15:27:54 -05:00
MatthewColvin
414f711373 Add KeyPress Abstract and a KeyPress Simulator
as beginning stages for forwarding key events to the UI.
2023-09-29 11:52:48 -05:00
Matthew Colvin
b45de68ebb Add get brightness to the displayAbstract to allow
removal of backlight brightness stored in OmoteUI class
"implement" new getter function in sim and esp32.
2023-09-09 21:47:36 -04:00
Matthew Colvin
65162049b3 convert notification driven battery to lvgl timer based polling
using new poller class to simplify the battery interface and
downstream usages of battery.

tweaked poller destructor and remove the default constructor
in preference of using a unique pointer

convert simulator to use a std::thread for lvgl Tick api because
the SDL thread sleep was not true to time. (and is simplified the code...)
2023-09-09 21:47:36 -04:00
Thomas Bittner
47ccc214a0 Added new queues for inter task communication 2023-09-09 21:47:36 -04:00
Matthew Colvin
92c559df5e rework battery Interface and downstream usages of battery 2023-09-09 21:47:04 -04:00
Thomas Bittner
5cd4c6f379 Updated wifi handler to use general wifiHandlerInterface 2023-09-09 21:47:04 -04:00
Thomas Bittner
53fa7b7c87 Added wifi UI and change debug print function
* HardwareAbstract debug print function now uses VA_LIST
* Added wifi handling UI
* Notification items currently part of hardware abstract
2023-09-09 21:47:04 -04:00
Matthew Colvin
509d71cdaa rename HardwareInterfaces folder to hardwaremodules
since it now contains an abstract
2023-09-09 21:47:04 -04:00