Commit Graph

430 Commits

Author SHA1 Message Date
ZanzyTHEbar
05589705dd update: minor formatting 2023-01-08 20:27:57 +00:00
ZanzyTHEbar
fff43f6d16 fix pointer syntax for server object
- fix lower casing for wifi statemanager
2023-01-08 13:39:46 +00:00
ZanzyTHEbar
b770458ca6 update wifimanager to exclusively use std::string 2023-01-08 13:31:52 +00:00
ZanzyTHEbar
227044e5e9 moved AsyncWebServer class to local instance 2023-01-08 13:19:58 +00:00
ZanzyTHEbar
3f779f196d update
- set xclk to 16.5MHz by default
2023-01-03 13:58:04 +00:00
ZanzyTHEbar
2b752e45f0 update
- fix some spelling mistakes in the ini
2023-01-02 00:44:13 +00:00
ZanzyTHEbar
6c5fad8cd9 update
- add minor logging to ADHOC method
2023-01-01 23:40:46 +00:00
ZanzyTHEbar
1d73ea1cf5 update
- speed up HTTP Server
2023-01-01 23:29:16 +00:00
ZanzyTHEbar
015af93efe update
- add dynamic support for ADHOC wifi creds
2023-01-01 22:57:17 +00:00
ZanzyTHEbar
4d3a67baa3 update
- fix bug where ADHOC mode stream pointed to localhost IP
2023-01-01 22:40:50 +00:00
ZanzyTHEbar
dfb66ffda8 update
- minor
2023-01-01 22:26:42 +00:00
ZanzyTHEbar
111b0d4d85 remove github ota 2023-01-01 21:12:14 +00:00
ZanzyTHEbar
a07521bf40 remove github ota 2023-01-01 21:09:37 +00:00
ZanzyTHEbar
3569000520 fix OTA management 2023-01-01 21:07:24 +00:00
ZanzyTHEbar
767fa0e3db comment out editor config until bugs can be fixed 2022-12-31 03:29:13 +00:00
ZanzyTHEbar
0cbf78ed82 update
- minor update
2022-12-31 03:28:20 +00:00
ZanzyTHEbar
b899818984 update
- remove second action file
- update names for environments
2022-12-31 02:52:50 +00:00
ZanzyTHEbar
27fc62a43f remove experimental code 2022-12-31 02:44:49 +00:00
ZanzyTHEbar
8baa6fbef7 remove experimental code 2022-12-31 02:40:04 +00:00
ZanzyTHEbar
cb036af724 fix double esp-eye error
fix version control error
2022-12-31 02:36:13 +00:00
ZanzyTHEbar
fe43b35a3f fix double M5Stack error 2022-12-31 02:32:37 +00:00
ZanzyTHEbar
982a067c8c Merge branch 'feature/mdns-autodiscovery' of https://github.com/lorow/OpenIris 2022-12-31 02:27:47 +00:00
ZanzyTHEbar
b03418765b update 2022-12-31 02:13:37 +00:00
ZanzyTHEbar
5e4e1a971c update
- actions yaml
2022-12-31 02:10:26 +00:00
clienthax
5c7027f09b
Fix CI and use double matrix (#35)
Fix pipeline failing due to typo in ArduinoJson include, Fix pin deprecation warning, Add workaround for M5Stack not having a defined camera for now
2022-12-29 23:09:55 +01:00
ZanzyTHEbar
e771132406 update
- minor version changes
2022-12-29 21:08:54 +00:00
ZanzyTHEbar
c9e523b701 Merge branch 'master' of https://github.com/lorow/OpenIris 2022-12-29 21:08:17 +00:00
ZanzyTHEbar
6ba0ee5a0c update
- fix CI not working do to capitalization errors
2022-12-29 21:08:16 +00:00
DaOfficialWizard
8fc9486214
Feature/esp eye support (#34)
- add support for ESP-EYE
2022-12-29 20:30:32 +01:00
ZanzyTHEbar
e9c51a61be update
- basic formatting
2022-12-27 18:06:53 +00:00
ZanzyTHEbar
c3b7dd1686 update
- add editor config and clang config
2022-12-26 23:12:15 +00:00
ZanzyTHEbar
44ca285792 update
- run successful build on main
2022-12-26 23:11:23 +00:00
ZanzyTHEbar
6e210485ae update
- remove old versioning system
- add new custom firmware name handler
2022-12-26 23:10:11 +00:00
ZanzyTHEbar
faf9a5b347 update
- fix pathing in  autoversioning script
2022-12-26 23:07:48 +00:00
ZanzyTHEbar
e795567988 update
- update config files
2022-12-26 23:04:56 +00:00
ZanzyTHEbar
ca3913d1f6 update
- add clang formatting
- add editor config
- fix multiple redefines of CORE DBUG LEVEL
2022-12-26 22:49:43 +00:00
ZanzyTHEbar
be1530b5c2 update
- migrate to official 1.0.0 release
2022-12-15 17:05:58 +00:00
ZanzyTHEbar
be8c9daeb8 update
- migrate to official 1.0.0 release
2022-12-15 05:28:31 +00:00
ZanzyTHEbar
1597348f19 update
- migrate to official 1.0.0 release
2022-12-15 05:24:49 +00:00
ZanzyTHEbar
fd85d3c8ad update
- include version.txt in repo
- cleanup python code
2022-12-15 05:05:26 +00:00
ZanzyTHEbar
9d74943d01 update
- create proper sematic versioning in autoverioning .py
- removed need for two verson text files
2022-12-15 05:01:12 +00:00
ZanzyTHEbar
c40b1680e9 versioning 2022-12-15 03:35:45 +00:00
ZanzyTHEbar
400bd99207 versioning 2022-12-15 03:34:54 +00:00
ZanzyTHEbar
9a6bdc3549 update environment variable usage 2022-12-15 02:57:09 +00:00
ZanzyTHEbar
c202ee2a78 update 2022-12-15 02:15:02 +00:00
ZanzyTHEbar
42c8cdc944 comment out serialmananger class 2022-12-15 01:51:28 +00:00
ZanzyTHEbar
f6ceacd370 update 2022-12-15 01:38:16 +00:00
ZanzyTHEbar
3ece49d181 update
- fix release and OTA environment debug mode bug
2022-12-15 01:32:04 +00:00
ZanzyTHEbar
cd4c2e6d52 fix pinouts name for ESPCam 2022-12-15 01:23:43 +00:00
ZanzyTHEbar
f8686652af fix pinouts name for ESPCam 2022-12-15 01:22:14 +00:00
ZanzyTHEbar
ce6c5f8964 fix environment name for ESPCam 2022-12-15 01:20:37 +00:00
ZanzyTHEbar
f9022e1a38 update
- try to fix pathing error
2022-12-15 01:18:20 +00:00
ZanzyTHEbar
3155438602 update
- temporary push on feature branch for testing
2022-12-15 01:06:42 +00:00
ZanzyTHEbar
0d827d180f versioning 2022-12-15 00:59:43 +00:00
ZanzyTHEbar
05ba9c5f45 update
- add firmware name txt file and version text file to gitignore
2022-12-15 00:56:16 +00:00
ZanzyTHEbar
f776d74cff update
- fix customname build creating a folder
- implement creating a version.txt file
2022-12-15 00:54:46 +00:00
ZanzyTHEbar
74d09fb1f8 update
- add GitHub OTA Handler to API
2022-12-14 23:33:12 +00:00
ZanzyTHEbar
250a25fb42 update
- set customname to use PIOENV insted of BOARD
2022-12-14 21:12:50 +00:00
ZanzyTHEbar
79bbcdc3e8 update
- set customname to use PIOENV insted of BOARD
2022-12-14 21:10:08 +00:00
ZanzyTHEbar
3123469953 update
- add support for logging tag
2022-12-14 20:19:13 +00:00
ZanzyTHEbar
ec0c344895 update
- begin adding Github OTA support
2022-12-14 19:58:23 +00:00
ZanzyTHEbar
1066caf6cd fix camera FB macro 2022-12-14 18:37:01 +00:00
ZanzyTHEbar
965499e067 update
- begin adding Github OTA support
2022-12-14 18:21:22 +00:00
ZanzyTHEbar
7537c68930 update
- begin adding PSRAM support fix
2022-12-14 17:11:21 +00:00
ZanzyTHEbar
e9fd1fdde7 update
- begin adding support for M5-Stack
2022-12-14 17:03:04 +00:00
ZanzyTHEbar
13c254eb55 update
- begin adding support for M5-Stack
2022-12-14 16:59:49 +00:00
ZanzyTHEbar
c7baf125ce update
- begin adding PSRAM support fix
2022-12-14 16:58:49 +00:00
ZanzyTHEbar
e46f4c29a1 update
- begin adding PSRAM support fix
2022-12-14 16:58:11 +00:00
ZanzyTHEbar
3c4df97b70 update
- minor formatting
2022-12-14 16:53:48 +00:00
ZanzyTHEbar
5d36fbf14a fix bug related to PSRAM error setting 2022-12-14 16:50:08 +00:00
ZanzyTHEbar
258d7c7b5a update
- add support for M5 Stak ESP and fix for PSRAM issue
2022-12-14 16:31:29 +00:00
ZanzyTHEbar
733aba31e1 update
- remove git tag from customname script to fix user SCON error
2022-12-14 00:25:16 +00:00
ZanzyTHEbar
9229a81257 update
- remove git tag from customname script to fix user SCON error
2022-12-14 00:20:26 +00:00
ZanzyTHEbar
2a5c7b07d2 update
- remove git tag from customname script to fix user SCON error
2022-12-14 00:07:35 +00:00
ZanzyTHEbar
1aa9d951da update
- remove underscore
2022-12-13 23:06:22 +00:00
ZanzyTHEbar
0678c5cbda update
- remove callback method
2022-12-13 22:59:52 +00:00
ZanzyTHEbar
f2d5a6f2aa update
- remove callback method
2022-12-13 22:58:18 +00:00
ZanzyTHEbar
b57468a9c1 update
- remove callback method
2022-12-13 22:57:45 +00:00
ZanzyTHEbar
70efcf0988 update
- add underscore to queryService
2022-12-13 22:56:21 +00:00
ZanzyTHEbar
a862e54d4a update
- implement autodiscovery class
2022-12-13 22:46:07 +00:00
ZanzyTHEbar
87a481f7b5 update
- almost ready for testing
2022-12-13 22:17:39 +00:00
ZanzyTHEbar
8597e066d4 update
- begin AutoDiscovery class
2022-12-13 21:48:29 +00:00
ZanzyTHEbar
fc7d1e022b update
- add better logging for buffer failure
2022-12-13 04:02:24 +00:00
ZanzyTHEbar
679c4f552a update
- add ESP32CAM support
- switch old ESP32CAM env to AI TINKER and make it default
2022-12-13 03:27:55 +00:00
ZanzyTHEbar
1c244c2aed update
- add ESP32CAM support
- switch old ESP32CAM env to AI TINKER and make it default
2022-12-13 03:27:42 +00:00
ZanzyTHEbar
45f70e43ef update
- add ESP32CAM support
- switch old ESP32CAM env to AI TINKER and make it default
2022-12-13 03:25:54 +00:00
ZanzyTHEbar
981012550a fix logging bug in streamServer 2022-12-13 03:04:35 +00:00
ZanzyTHEbar
8b1935bd96 update
- add props stream GPIO support
2022-12-13 02:08:34 +00:00
ZanzyTHEbar
8599926313 update
- format error as hex
2022-12-13 01:35:48 +00:00
ZanzyTHEbar
b964bcdaa2 update
- add logging
- change outdated log statements
2022-12-13 01:29:39 +00:00
ZanzyTHEbar
2ecbeab231 update
- remove rts and dts monitor filters
2022-12-13 00:19:51 +00:00
ZanzyTHEbar
7faeeed912 update
- set max framerate as default
2022-12-13 00:02:57 +00:00
ZanzyTHEbar
6f2157f0f6 update
- fix ini camera pinout bug, was breaking OTA and WROVER support
2022-12-12 23:48:24 +00:00
ZanzyTHEbar
4a2c0f66f9 update
- add support for ESP-EYE
2022-12-12 23:47:02 +00:00
lorow
e0c45c1fb5 Merge remote-tracking branch 'origin/master' into feature/storage-with-preferences
# Conflicts:
#	ESP/.gitignore
#	ESP/lib/src/data/utilities/Observer.hpp
#	ESP/lib/src/io/LEDManager/LEDManager.cpp
#	ESP/lib/src/io/camera/cameraHandler.cpp
#	ESP/lib/src/io/camera/cameraHandler.hpp
#	ESP/lib/src/network/OTA/OTA.hpp
#	ESP/lib/src/network/WifiHandler/WifiHandler.hpp
#	ESP/lib/src/network/WifiHandler/wifiHandler.cpp
#	ESP/lib/src/network/mDNS/MDNSManager.cpp
#	ESP/lib/src/network/mDNS/MDNSManager.hpp
#	ESP/lib/src/network/stream/streamServer.cpp
#	ESP/lib/src/network/stream/streamServer.hpp
#	ESP/lib/src/network/webserver/webserverHandler.cpp
#	ESP/lib/src/network/webserver/webserverHandler.hpp
#	ESP/src/main.cpp
2022-12-11 18:28:48 +01:00
ZanzyTHEbar
311fada522 update
- temporarily set GET requests on TxPowerLevel
2022-12-05 18:43:52 +00:00
ZanzyTHEbar
d7024a256b update
- set hostname from config in wifihandler
2022-12-05 16:24:27 +00:00
ZanzyTHEbar
85a5605064 update
- fix a few bugs in adhoc and project config
- format
2022-12-05 15:20:49 +00:00
lorow
935f8c1c20 Rewrite WiFi connection stack 2022-12-04 17:14:02 +01:00
ZanzyTHEbar
b2f9c86205 update
- minor change to log statement
2022-12-03 05:23:23 +00:00
ZanzyTHEbar
061e3cb8d3 update
- setup default mDNS hostname to be user configurable
2022-12-03 05:17:30 +00:00
ZanzyTHEbar
5ca84d2316 update
- set mDNS default valeu to be dynamic
2022-12-03 05:03:40 +00:00
ZanzyTHEbar
70c8d1697b update
- fix bug in mDNS handler
2022-12-03 04:49:08 +00:00
ZanzyTHEbar
09bfc2c964 add back-in missing break statement 2022-12-03 02:30:48 +00:00
ZanzyTHEbar
74f3f27b56 fix mDNS handler not starting bug 2022-12-03 02:27:59 +00:00
ZanzyTHEbar
e7ea1341a3 update
- remove MDNS name build flag
2022-12-03 02:08:08 +00:00
lorow
2827ab8717 make api responses consistent: status -> msg 2022-12-01 23:37:40 +01:00
lorow
e137601fc5 Add ping and save routes, remove atomic saves from config endpoints 2022-12-01 23:03:30 +01:00
ZanzyTHEbar
c850372243 update
- implement setTxPower into main API
- implement temporary dedicated global method
- implement wifiConfig method per network
2022-12-01 21:25:29 +00:00
ZanzyTHEbar
6a1192b356 update
- add deviceConfigSave
- add mdnsConfigSave
- add request send 200 to setDeviceConfig api event
2022-12-01 20:44:04 +00:00
ZanzyTHEbar
a636036365 add setTxPower to initSTA 2022-11-28 18:15:43 +00:00
ZanzyTHEbar
42413febee update
- remove WiFi.mode and WiFi.setSleep from initSTA
- these methods were called twice if there is networks in the config
however they fail to connect for some reason
2022-11-28 18:12:29 +00:00
ZanzyTHEbar
3f3e721519 update
- move Wifi.setTxPower below Wifi.begin
2022-11-28 18:05:59 +00:00
ZanzyTHEbar
05918c8e87 move setTXPowerLevel() below the begin statement 2022-11-28 18:01:34 +00:00
ZanzyTHEbar
8fde33b172 update
- change if to else if for handlers in baseAPI
2022-11-27 21:21:16 +00:00
ZanzyTHEbar
1be8e5fe19 set default TX level to 5dBm 2022-11-27 21:04:22 +00:00
ZanzyTHEbar
4637b16885 update
- set wifi tx power level to 5dBm by default
2022-11-27 20:59:42 +00:00
lorow
18ac6ff484 Fix wifi command not updating/adding new networks 2022-11-23 01:23:51 +01:00
lorow
5dc236af06 Add documentation regarding passing down empty fields in baseAPI 2022-11-23 00:08:51 +01:00
lorow
6a2f003761 Extract queryMDNS to feature/mdns-query 2022-11-23 00:06:25 +01:00
ZanzyTHEbar
e20d960dec update
- fix query service
- save result of query service to the config
2022-11-17 22:51:22 +00:00
ZanzyTHEbar
293c1ed3e4 update
- force 240 Mhz clock
2022-11-17 22:22:23 +00:00
ZanzyTHEbar
656f8e80f5 update
- basic formatting
2022-11-17 21:38:13 +00:00
ZanzyTHEbar
1fec7f6e3e update
- add cpu clock setting
2022-11-17 21:29:55 +00:00
lorow
a223039a5a implement getJsonConfig command 2022-11-11 00:43:55 +01:00
RodDeacon
719fd1156b refactor indentations to four space project standard 2022-11-02 10:58:46 +01:00
ZanzyTHEbar
326ec8e4cd Major Update
- migrate the rest of the toRepresentation methods out of header file
- optimize toRepresentation methods
- add query service to set up service name and hostname
2022-11-01 22:12:16 +00:00
ZanzyTHEbar
746a0a9f9b Major Update
- migrate toRepresentation methods out of header file
- optimize toRepresentation methods
- add helper for string formatting
- put proper include guards in helper and MDNSManager
- begin adding queryMDNS code
2022-11-01 20:24:50 +00:00
ZanzyTHEbar
88f5cf29b7 Major Update
- fixed Hostname issue with ArduinoOTA and mDNS
- fix flashing binary issue on Unix systems
2022-11-01 18:32:05 +00:00
ZanzyTHEbar
ef1fa0314f update
- found bug in config manager
- fixed bug
2022-11-01 17:11:17 +00:00
ZanzyTHEbar
168993128e update
- move the MDNSHandler constructor definition to cpp file
This is cleaner and proper class structure - definitions never go
header files unless it's a template
2022-11-01 17:03:17 +00:00
lorow
b2d7abe954 Add basic toRepresentation serialization methods for config elements 2022-10-25 00:25:58 +02:00
lorow
4baf7a89c4 Remove unused API methods, fix missing pinout issues, fix OTA not having a password set up correctly, fix missing default password in platformio file 2022-10-16 20:07:23 +02:00
Lorow
adb7853c71 Fix default values for camera config, fix brightness setting affecting brightness instead of acg_gain 2022-10-02 21:32:45 +02:00
Lorow
ce8b27dee4 Fix MDNS not starting properly and always having the same service name 2022-10-02 18:49:05 +02:00
ZanzyTHEbar
86084ecd06 update
- basic formatting
2022-09-26 13:40:59 +01:00
ZanzyTHEbar
1c324fc0ac update
- fix pattern struct assignment to be discrete per method
2022-09-25 14:17:05 +01:00
ZanzyTHEbar
69d2666f20 Update
- Added LED debugging to cameraHandler setup method
2022-09-25 13:38:03 +01:00
ZanzyTHEbar
e3de6584f1 update
- add the last remaining states to the map
2022-09-25 13:27:57 +01:00
ZanzyTHEbar
803eea15c2 update
- update LEDManager blink method to use the ledStateMap
- update handleLED method to turn the LED off on an incorrect state-match
2022-09-25 13:25:48 +01:00
ZanzyTHEbar
40ca34c382 update
- Add one new state to LEDStates enum
- Added proper lookup-table based state mapping for led states
- created a handleLED method to call in the loop
2022-09-25 13:12:03 +01:00
ZanzyTHEbar
335abd1de8 update
- Optimizing StateManager
- Create LEDStates enum
- Migrate entire project to StateManager
2022-09-25 11:54:57 +01:00
ZanzyTHEbar
6f68b45704 Update
- fix bug in my_delay function
- edit LEDManager to handle blocking and non-blocking methods
2022-09-25 10:49:38 +01:00
ZanzyTHEbar
4ad516eb77 update
- Added a comment about the elseif chains
2022-09-20 12:12:59 +01:00
ZanzyTHEbar
f7f629240b update
- Add brightness to API
2022-09-20 12:10:16 +01:00
ZanzyTHEbar
94d5872e99 update
- Added CameraConfig_t struct to the initStruct method
- initialized with default values
- Added brightness setting
2022-09-20 11:50:25 +01:00
ZanzyTHEbar
2b745a3d1d update
- return optimize the cameraHandler.cpp methods to remove needless if-else checking
2022-09-20 10:24:40 +01:00
Lorow
01f04fee86 Refactor camera to that it's initialization is signal based, depending on config loading successfully 2022-09-19 23:49:37 +02:00
Lorow
490b1ea6c2 Fix subject calling the base update() method instead of the derived one on notify 2022-09-16 22:20:47 +02:00
ZanzyTHEbar
3c1f3312e7 update
- Fix potential bug in config read and write after 10 iterations through the for loop
2022-09-13 17:24:56 +01:00
ZanzyTHEbar
9b965c224b update
- Re-write bool cast for restartCamera method
- Removed preferencesapi library - no longer needed
2022-09-13 17:13:29 +01:00
ZanzyTHEbar
35d615e96c update
- add support or Git tags in the firmware name
2022-09-10 18:06:38 +01:00
ZanzyTHEbar
711905a1f4 large update
- Added auto-versioning system to firmware name
- Formatted ini file
- setup OTA enabled state to be controllable by the user
2022-09-10 17:25:29 +01:00
ZanzyTHEbar
3f0c0dfee5 update
- Add min_spiffs.csv as default partition table
2022-09-10 15:33:46 +01:00
ZanzyTHEbar
1b90d77f73 minor update
- comment out build_unflags to allow optimization for size by default
- fix last commit build error
- format ini file to be more readable
2022-09-10 15:29:34 +01:00
ZanzyTHEbar
daf44c7e71 update
- Disabled build_partitions by default
to allow for out-of-box OTA support
- Added -O2 build flag to optimize
for speed
- added comments on build flags
to explain what they do
2022-09-10 15:05:32 +01:00
ZanzyTHEbar
dcaefbccac Major Update
- Added proper Automated naming scheme for firmware files.
Looks awesome now :)
- changed "easynetwork" to "openiris" in project_config.cpp
2022-09-09 22:49:11 +01:00
ZanzyTHEbar
30067f7648 update
- Fully deprecate API_Utilities
- Move shaEncoder method to Network_Utilities namespace
- Delete API_Utilities
2022-09-09 11:41:10 +01:00
ZanzyTHEbar
35f61436ab Major Update
- Remove unneeded `data` folder at root of project
- Deprecate API_Utilities class (kept only for the shaEncoder function)
- Begin migration to better organization
2022-09-08 16:01:52 +01:00
ZanzyTHEbar
9a8ff6659a update
- Remove CMake files
2022-09-08 13:54:08 +01:00
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
4eac69a986 minor update
- Fix long long issue with my_delay
Timer was taking longer than anticipated.
2022-09-05 23:04:20 +01:00
ZanzyTHEbar
c040f10b1b minor update
- formatting
2022-09-05 22:56:56 +01:00
Lorow
dd5c6454a6 Update comments with explanation as to why we're setting false to loaded networks
add printing of the stream address
2022-09-05 23:38:25 +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
ZanzyTHEbar
f23c477315 update
- Remove debug_mode option in favour of setting it in the proper environment.
- Now, the user does nothing but pick the environment
2022-09-05 12:43:22 +01:00
ZanzyTHEbar
6217195248 update
- Added debug-mode support
- to disable DebugOutput change debug_mode to 0
2022-09-05 12:37:57 +01:00
ZanzyTHEbar
e4dc25a2a6 update
- remove delay() method and change with my_delay
- my_delay is a for loop that counts down
2022-09-05 12:30:36 +01:00
ZanzyTHEbar
4987144a96 update
- fix minor formatting
2022-09-02 01:08:24 +01:00
ZanzyTHEbar
622ea32fd8 update
- disable turning off the brownout-detector. Was added for personal debugging
no longer needed
2022-09-02 01:05:08 +01:00
ZanzyTHEbar
36162d5d86 update
- make Logo printASCII function inline
2022-09-01 23:01:30 +01:00
ZanzyTHEbar
d965ac466b update
- Fix the casting issue with setCamera
- Fix the linker undefined error with setCameraConfig
2022-09-01 23:00:02 +01:00
Lorow
9726e51446 Add missing logo.hpp 2022-09-01 23:45:55 +02: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
13d307d964 update
- Fix the setWiFi method not writing to the correct config
- Depreciate the to_string method in favour of append method and itoa
2022-08-31 17:43:18 +01:00
ZanzyTHEbar
9fc62b6a36 update
- Revert initConfig to use empty string syntax. Easier to read.
2022-08-31 17:11:16 +01:00
ZanzyTHEbar
30212835fd update
- Fixed a minor bug in the wifihandler
not displaying the connected network properly
2022-08-31 17:10:50 +01:00
ZanzyTHEbar
d8f40da5a6 update
- Fix setWiFi crashing due to incorrect cast of int to byte.
- Update strings to use assign method.
2022-08-31 17:04:28 +01:00
ZanzyTHEbar
7a06a8da5c update
- Add user-configured wifi channel to constructor
2022-08-31 16:25:53 +01:00
ZanzyTHEbar
7fbe2ea446 update
- misspelled successfully - lol
2022-08-31 13:32:42 +01:00
ZanzyTHEbar
2887baabee update
- Begin removing commented/unneeded code
2022-08-31 13:23:37 +01:00
ZanzyTHEbar
80d7e34f3a update
- Fix ESP crashing when camera probe fails
2022-08-31 13:23:21 +01:00
ZanzyTHEbar
7e2a96b967 update
- fix wifihandler while-loop break statement bug. Symbol was checking
<= when it needs to be >=
2022-08-31 00:59:27 +01:00
ZanzyTHEbar
23a5b18dcd update
- Fix WiFiHandler logging network name issue
2022-08-31 00:53:21 +01:00
ZanzyTHEbar
b26f7d7a22 oopsie update
- Forgot to add constructor for WiFiConfig_t struct. Woops.
2022-08-31 00:51:37 +01: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
Lorow
2cc2992388 Fix build failing due to missing includes 2022-08-30 20:42:12 +02:00
DaOfficialWizard
10e88015cf
Update baseAPI.cpp 2022-08-30 15:18:20 +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
41fe047f7a update
- Change the handle request to only handle the request itself
- Allow each function to handle their own parameters
2022-08-29 13:38:58 +01:00
ZanzyTHEbar
c220bf6606 update
- Fixed bug in request handler
- needed to add support for     non-param URL requests
2022-08-29 13:23:55 +01:00
Lorow
440c755568 Bump the httpd buffer to 20480 to fix freezing / buffer overflow issue, turn off brownout detection 2022-08-28 21:03:48 +02:00
Lorow
2d1906c5cc Merge remote-tracking branch 'origin/feature/storage-with-preferences' into feature/storage-with-preferences 2022-08-28 20:58:52 +02:00
Lorow
d65532a6b1 Bump the httpd buffer to 20480 to fix freezing / buffer overflow issue 2022-08-28 20:58:38 +02:00
ZanzyTHEbar
e373cc704f update
- Edited the Wifi Scanner in NetworkUtils namespace
- Added config.grab_mode = CAMERA_GRAB_LATEST;
to camera config to grab the latest frames
- Set httpd stack size to 20480
2022-08-28 18:31:48 +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
Lorow
ccf089d69f Set the ESP to no power saving more 2022-08-28 16:42:45 +02:00
ZanzyTHEbar
c95666307c update
- Add TODO regarding the POST request for JSON handling
- Modify try-catch for handleRequest to catch all exceptions
2022-08-28 15:26:30 +01:00
ZanzyTHEbar
91c3918fdc Update
- Turn off Power Saving mode for the wifi chip
This is to try and prevent freezing
2022-08-28 15:07:01 +01:00