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
70c8d1697b
update
...
- fix bug in mDNS handler
2022-12-03 04:49: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
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
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
lorow
a223039a5a
implement getJsonConfig command
2022-11-11 00:43:55 +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
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
ce8b27dee4
Fix MDNS not starting properly and always having the same service name
2022-10-02 18:49:05 +02:00
ZanzyTHEbar
335abd1de8
update
...
- Optimizing StateManager
- Create LEDStates enum
- Migrate entire project to StateManager
2022-09-25 11:54:57 +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
9b965c224b
update
...
- Re-write bool cast for restartCamera method
- Removed preferencesapi library - no longer needed
2022-09-13 17:13:29 +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
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
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
d965ac466b
update
...
- Fix the casting issue with setCamera
- Fix the linker undefined error with setCameraConfig
2022-09-01 23:00:02 +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
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
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
2887baabee
update
...
- Begin removing commented/unneeded code
2022-08-31 13:23:37 +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
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
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