Matthew Colvin
4a1eb8abfa
Added ability for sim to simulate brightness and battery along with displaying it via the title.
2023-09-09 21:47:36 -04: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
23fedd8052
move construction of Hardware sim components
...
to member init list
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
628ae37b9d
add fake battery Drain to simulator
...
Fake drain of a period of 3 minuets
2023-09-09 21:47:04 -04:00
Matthew Colvin
92c559df5e
rework battery Interface and downstream usages of battery
2023-09-09 21:47:04 -04:00
Thomas Bittner
43a930d7a8
Updated simulator to support new wifi selection UI
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
7a9dc1d93d
Implement Simulator Display Abstract without public function support.
2023-09-09 21:47:04 -04:00
Matthew Colvin
b182f0b75d
move display abstract to first parameter of hardware
...
abstract and no longer provide a default for it.
2023-09-09 21:47:04 -04:00
Matthew Colvin
5731148bf6
Turn Display Interface into a singleton Abstract class that can do the registration of callbacks to LVGL and allow implementers of the abstract to support LVGL.
2023-09-09 21:47:04 -04:00
Matthew Colvin
a4e35a2219
remove IR and
...
mqtt functions from hardwareAbstraction
2023-09-09 21:44:47 -04:00
Matthew Colvin
a771c64c71
rename interface folder to HardwareInterfaces
...
rename HardwareInterface file to hardware
abstract.
update ini to reflect new file structure
2023-09-09 21:44:47 -04:00
Matthew Colvin
44b5d8cf14
rename HardwareInterface to HardwareAbstract in file
2023-09-09 21:44:47 -04:00
Matthew Colvin
85343d9bd4
Further update battery Interface and downstream code
2023-09-09 21:44:47 -04:00
Matthew Colvin
cd603a2a83
Update Battery Interface by adding it to hardwareInterface
...
Remove Display out of some classes and leave comments to replace for callbacks
I dont know about the function of this code but it compiles :)
2023-09-09 21:44:47 -04:00
Matthew Colvin
c4547917c8
Move Battery Status Struct to Battery Interface
...
Fix small compiler errors in new interfaces
2023-09-09 21:44:47 -04:00
Matthew Colvin
d2051daf8b
ensure all targets build
...
remove unused assets.c
add new github actions that reflect new simulator
2023-09-09 21:44:46 -04:00
Matthew Colvin
4185ff3bb6
put init code into HardwareSimulator Class
2023-09-09 21:44:46 -04:00
Matthew Colvin
5b1228b167
Re work directory structure to support new architecture
...
Still need to get the Sim building
2023-09-09 21:44:46 -04:00