MatthewColvin 
								
							 
						 
						
							
							
							
							
								
							
							
								f5b7b7bc5f 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/abstraction' into UIRefactor  
							
							
							
						 
						
							2023-09-17 19:45:03 -05:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Paul Hortiatis 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								59897369ec 
								
							 
						 
						
							
							
								
								Fixing settings in the abstraction branch ( #39 )  
							
							... 
							
							
							
							* Fixing settings
* updating the simulator 
							
						 
						
							2023-09-17 12:14:39 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6a78c4cfa1 
								
							 
						 
						
							
							
								
								Refine and implement hardware interface ( #37 )  
							
							
							
						 
						
							2023-09-14 06:34:04 +02:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Paul Hortiatis 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8f84423f7e 
								
							 
						 
						
							
							
								
								Remove dead code  
							
							
							
						 
						
							2023-09-12 12:02:53 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Paul Hortiatis 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f8ed2efacb 
								
							 
						 
						
							
							
								
								Cleanup  
							
							
							
						 
						
							2023-09-12 10:10:21 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									paul 
								
							 
						 
						
							
							
							
							
								
							
							
								6467c70f56 
								
							 
						 
						
							
							
								
								Merge branch 'wifi_fix' into backlight_fix  
							
							
							
						 
						
							2023-09-12 00:04:19 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									paul 
								
							 
						 
						
							
							
							
							
								
							
							
								94de4d165e 
								
							 
						 
						
							
							
								
								enabling connecting to wifi  
							
							
							
						 
						
							2023-09-12 00:03:52 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									paul 
								
							 
						 
						
							
							
							
							
								
							
							
								2adff0f1af 
								
							 
						 
						
							
							
								
								fix backlight  
							
							
							
						 
						
							2023-09-11 23:56:33 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									paul 
								
							 
						 
						
							
							
							
							
								
							
							
								db75db33d8 
								
							 
						 
						
							
							
								
								fixing issue when wifi connects but no connection was requested  
							
							
							
						 
						
							2023-09-11 21:27:23 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									MatthewColvin 
								
							 
						 
						
							
							
							
							
								
							
							
								11d4e8d7e5 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/abstraction' into RefineAndImplementHardwareInterface  
							
							
							
						 
						
							2023-09-09 22:38:48 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									MatthewColvin 
								
							 
						 
						
							
							
							
							
								
							
							
								6747c40df3 
								
							 
						 
						
							
							
								
								Fix bug in Display fade code with mutexes  
							
							
							
						 
						
							2023-09-09 21:47:36 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									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 
								
							 
						 
						
							
							
							
							
								
							
							
								3318265e0a 
								
							 
						 
						
							
							
								
								restore logic for voltage charge up  
							
							... 
							
							
							
							still would like to investigate this
early return on display sleep and wake functions
use new sleep and wake functions in the hardware class to replace timing math. 
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								4ce4739ab0 
								
							 
						 
						
							
							
								
								add display fade logic via a task  
							
							
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								86edbbc541 
								
							 
						 
						
							
							
								
								remove hardware ref from display and  
							
							... 
							
							
							
							add touch handler to reset standby timer 
							
						 
						
							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 
								
							 
						 
						
							
							
							
							
								
							
							
								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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Thomas Bittner 
								
							 
						 
						
							
							
							
							
								
							
							
								02d973f8b1 
								
							 
						 
						
							
							
								
								Updated user interface with wifi settings page  
							
							
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								fe51337458 
								
							 
						 
						
							
							
								
								Remove timer passed into display and convert to a notification send out by the display class  
							
							... 
							
							
							
							Handle that notification by resetting the sleep timer. 
							
						 
						
							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 
								
							 
						 
						
							
							
							
							
								
							
							
								ddccfa141d 
								
							 
						 
						
							
							
								
								Rename DisplayInterface file to DisplayAbstract  
							
							
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								305541bc52 
								
							 
						 
						
							
							
								
								Rename from Display Interface to abstract  
							
							
							
						 
						
							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 
								
							 
						 
						
							
							
							
							
								
							
							
								419ac45e98 
								
							 
						 
						
							
							
								
								update Display interface and downstream code to add flush callback  
							
							... 
							
							
							
							Hoping to allow implementation of interface to allow Hardware abstract to setup LVGL 
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								40841c8d09 
								
							 
						 
						
							
							
								
								remove unnecessary battery in HardwareRevX  
							
							
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								bbcb6368d0 
								
							 
						 
						
							
							
								
								remove wifi code from hardwareRevX  
							
							
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								b3aa617a59 
								
							 
						 
						
							
							
								
								Implement Battery Update Task in HardwareRevX  
							
							
							
						 
						
							2023-09-09 21:47:04 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Thomas Bittner 
								
							 
						 
						
							
							
							
							
								
							
							
								03c4441bb0 
								
							 
						 
						
							
							
								
								Added seperate UI HAL interface  
							
							... 
							
							
							
							* DisplayInterface now is for hardware display only
* UIInterface is the general interface for UI 
							
						 
						
							2023-09-09 21:44:47 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								1bbafd4bb5 
								
							 
						 
						
							
							
								
								update wifi interface and handler  
							
							... 
							
							
							
							add the wifi interface to the hardware abstract 
							
						 
						
							2023-09-09 21:44:47 -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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Thomas Bittner 
								
							 
						 
						
							
							
							
							
								
							
							
								e2138764ac 
								
							 
						 
						
							
							
								
								Added new interface abstract classes  
							
							
							
						 
						
							2023-09-09 21:44:47 -04:00 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
							
							
								
							
							
								bcfda0641c 
								
							 
						 
						
							
							
								
								clean up build defines by using platform.ini to override default lv_config.  
							
							... 
							
							
							
							remove unneeded include directory.
Change-Id: Id63baa80dae89977d239a539b5db9ff67266e1d6 
							
						 
						
							2023-09-09 21:44:46 -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 
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Colvin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7a9ee138db 
								
							 
						 
						
							
							
								
								Add platform io sim ( #31 )  
							
							... 
							
							
							
							* Lower default SPI Clock
Lowered the default SPI clock as some displays might show glitches with the SPI frequency set above 40MHz.
* Added missing library components
Added the missing library symbols, footprints and 3D-models. These are all in a project-specific library called "omoteLib" (#19 )
* Implement MQTT publish in HardwareRevX
Change-Id: I7b6955a662716f83dd8daf34128a353efa26bf80
* add batteryStatus info and allow access to it through the interface.
Change-Id: Ieb748b1478d532f52ffff9edc783de3cbcf9f303
* rename hardwareAbstractionInterface
Change-Id: I39a9bcd7fc4d92b271a40a869faae7870d6d88a1
* rename HardwareAbstractionInterface files
Change-Id: Ifb6a96c38da61cb80aabc6c929e392a2fc91cf29
* fixed a typo
* Re work directory structure to support new architecture
Still need to get the Sim building
* lvgl simulator working.
* put init code into HardwareSimulator Class
* ensure all targets build
remove unused assets.c
add new github actions that reflect new simulator
* clean up build defines by using platform.ini to override default lv_config.
remove unneeded include directory.
Change-Id: Id63baa80dae89977d239a539b5db9ff67266e1d6
* Fix ESP32 Windows build after battling escape characters.
Add esp32 Windows target to Actions.
* Fixed screen height
- corrected the SCREEN_HEIGHT
- small graphical changes in OmoteUI to make it look like in the main branch
---------
Co-authored-by: Max <Max-MKA@web.de>
Co-authored-by: Matthew Colvin <Matthew.Colvin@garmin.com>
Co-authored-by: Matthew Colvin <35540398+Mc067415@users.noreply.github.com> 
							
						 
						
							2023-08-12 00:16:48 +02:00