Commit Graph

13 Commits

Author SHA1 Message Date
Lorow
6a33cb450d Simplify baseAPI - replace calls to projectManager through hardware managers with a pointer to said manager
Fix a bug - saving camera settings was triggering networksConfigUpdated event

Hookup camera update

TODO:
- simplify APi utilities - consider replacing inheritance with composition
- Add brightness control setting to API
2022-09-08 00:38:09 +02:00
ZanzyTHEbar
27ece435cd Revert "Large Update"
This reverts commit 4812ba5f35.
2022-09-05 13:46:42 +01:00
ZanzyTHEbar
4812ba5f35 Large Update
- Clean up main
- Change handling of APIServer start & StreamServer start
to the WiFiHandler
- Call the setupWifi in the WiFiHandler begin method
- Remove WiFiHandler from APIServer and pass in ProjectConfig directly
2022-09-05 13:11:59 +01:00
Lorow
8bb1eccd12 Add cameraReset endpoint, move logo from apiutils to separate package, fix emplace_back - missing param for adhoc
Known issues: doesn't compile, linker can't seem to find a definition of setCameraConfig
2022-09-01 22:50:14 +02:00
ZanzyTHEbar
583a2545f8 Update
- Finally fix preferences lib
- Setup API to use the preferences lib
- Setup the WiFiHandler to use the preferences lib
- Remove the triggerWifiConfigWrite
in favour of handling that in the setWiFi method itself
2022-08-31 00:45:30 +01:00
ZanzyTHEbar
19733adcf8 update
- Optimize std::string in function params by passing in a const reference
2022-08-29 15:02:40 +01:00
ZanzyTHEbar
a5820c674a update
- Revert Constructors for now to fix APIServer not working
- Begin implementation of the Preferences Lib
2022-08-28 17:14:10 +01:00
ZanzyTHEbar
d802b4a5d7 Update
- Optimize the dependency injection model for the API classes
- Removed the constructor params from the base-classes of APIServer
- Allocate data to the base-class members in the Constructor of APIServer
2022-08-28 15:02:58 +01:00
ZanzyTHEbar
37f501c442 update
- remove extranious methods
2022-08-25 17:21:58 +01:00
ZanzyTHEbar
2ea338d0cd update
- Disable Brownout detection
- Begin adding camera settings handlers to API
- fix ADHOC stream server issue
2022-08-24 18:24:41 +01:00
ZanzyTHEbar
3d6f8827a8 hehe update
- Fix pathing issues with Utilities classes
- Adding really nice ASCII art for boot image :)
2022-08-23 00:04:25 +01:00
ZanzyTHEbar
78cc161e45 minor update
- Changed formatting from 2 spaces to 4 for indents
2022-08-20 14:14:58 +01:00
ZanzyTHEbar
687be8afb7 large update
- Fully reworked the API code, wifi handler, and serial manager
- Added proper APIServer
2022-08-20 14:02:10 +01:00