Commit Graph

63 Commits

Author SHA1 Message Date
Lorow
899e00a5fb Find a bug with multi-command execution, fix crash when data was missing 2025-05-10 21:01:39 +02:00
Lorow
833f69092f switch default led state not to be repeatable 2025-05-10 16:19:16 +02:00
Lorow
a955199bb5 Fix wifi state handling for when we have no stored networks 2025-05-10 16:12:48 +02:00
Lorow
db7d4fa8b0 Serial manager cleanup 2025-05-10 15:38:25 +02:00
Lorow
1eeba31efd Add PoC Serial communication implementation 2025-05-09 19:45:05 +02:00
Lorow
9ce9a7da74 Fill commandTypeMap with missing commands 2025-05-09 19:41:44 +02:00
Lorow
d2a857724a Fix WIFI_PASSOWRD typo in kconfig.projbuild 2025-05-09 13:59:33 +02:00
Lorow
911ba8fb5d Add support for setting up wifi credentials with switchBoardType tool, rework the diff logic a bit 2025-04-24 22:34:43 +02:00
Lorow
50447db15b Up the uri handlers count, port timeouts 2025-04-24 22:05:37 +02:00
Lorow
f0fab81a18 Cleanup sdkconfig wifi definitions 2025-04-24 22:05:02 +02:00
Lorow
4095f00bb0 Rewrite state manager, clean up states, fixup typos - todo test state display 2025-04-21 23:50:41 +02:00
Lorow
f1cf3baf46 Finish led manager rewrite 2025-04-20 21:08:14 +02:00
Lorow
a580d0f097 Move REST API poll and led manager state display to tasks, beginng led manager refactor 2025-04-19 16:28:10 +02:00
Lorow
b3354935fa remove unneeded .vscode directory 2025-04-15 22:32:47 +02:00
Lorow
85077ce4ec extend gitignore 2025-04-15 22:32:24 +02:00
Lorow
2aec0aaacd Add proper support for Babble illuminator LEDS 2025-04-13 21:22:52 +02:00
Lorow
9db29f0a01 Fix dry-run truncating the main config file 2025-04-13 20:25:54 +02:00
Lorow
e4bf0dc5d4 make the switchBoardType compute diff against main config file 2025-04-13 20:12:31 +02:00
Lorow
543a499a9e Add a tool to easily switch between board configs, cleanup configs 2025-04-13 15:38:18 +02:00
Lorow
c2cbab079a Remove faulty devcontainer config 2025-04-13 13:58:23 +02:00
Lorow
eaa60cb877 Refactor command system - remove BaseCommand class implementation in favour of std::function 2025-04-09 21:43:49 +02:00
Lorow
8a2695977c clean up projbuild in main 2025-04-03 22:42:04 +02:00
Lorow
ef0db4557f WIP - Initial changes to support multiple boards, add test config for xiao and babble boards 2025-04-03 22:41:47 +02:00
Lorow
95864251f0 update epsidf to 5.3.2 and do some minor clean up 2025-04-03 21:16:18 +02:00
Lorow
d483a3eecb Fix UVC failing to compile 2025-04-02 19:50:51 +02:00
Lorow
055d27b306 Improve searching for route handle in rest api 2025-04-01 23:31:00 +02:00
Lorow
345e10175a Port restart tasks - TODO test and enable them 2025-04-01 23:30:21 +02:00
Lorow
cb41038181 Refactor project config - simplify the implementation, move out the logic into separate modules 2025-04-01 23:29:38 +02:00
Lorow
f127ca7286 Implement UpdateAPWiFiPayload command 2024-12-11 22:58:31 +01:00
Lorow
983c5fa473 cleanup project config from unused observer code 2024-12-11 22:40:34 +01:00
Lorow
fff9ce422f Add RESTART_CAMERA, RESET_CONFIG, RESTART_DEVICE commands and implement related endpoints 2024-12-07 22:02:49 +01:00
Lorow
44179cee65 Implement get config command and api endpoint for testing purposes 2024-12-05 00:40:06 +01:00
Lorow
e033f663ff Redo commands structure, simplify it and clean it up 2024-12-03 23:57:35 +01:00
Lorow
f453db9476 Fix compiling issues, optimize commands a bit, implement some endpoints
TODO break down commands into separate files, implement the rest
2024-11-24 23:24:34 +01:00
Lorow
6b603f5574 Fix compilation issues, change ProjectConfig into a shared_ptr with updated definitions
// todo implement the API and missing features
2024-11-23 21:00:05 +01:00
Lorow
60e2e7cc36 Implement update camera command 2024-11-20 22:59:34 +01:00
Lorow
aaa24812f5 Fixup project not compiling
that's what I get for rushing commits
2024-11-20 22:34:03 +01:00
Lorow
ef94fd7648 Add skeletal implementation of the rest of the commands 2024-11-12 00:09:23 +01:00
Lorow
2e51a9ae42 Implement wifi update command 2024-11-10 22:43:11 +01:00
Lorow
9fb7e53824 Implement some commands 2024-11-10 17:48:21 +01:00
Lorow
edce9e6ce4 Fix rest API 2024-11-09 20:19:47 +01:00
Lorow
aaf8fa41cf Fix up commands parsing, implement proper json parsing 2024-11-09 20:19:37 +01:00
Lorow
0b0318bc99 Add cJSON parser 2024-11-09 20:18:09 +01:00
Lorow
89f8d23421 Implement rudimentary command manager architecture 2024-11-06 00:10:01 +01:00
Lorow
a5276f4d1d implement basic version of missing endpoints 2024-11-03 21:16:17 +01:00
Lorow
c96e1c9042 Add basic rest_api handler 2024-11-02 19:21:34 +01:00
Lorow
951584035e Add mongoose webserver 2024-11-02 19:20:33 +01:00
Lorow
b27037d04b Add missing project config options 2024-10-29 20:53:43 +01:00
Lorow
2e76dd0276 Add support for AP and provisioned wifi networks 2024-10-27 16:01:13 +01:00
Lorow
19a2c25ce3 Cleanup UVC implementation 2024-10-22 23:42:03 +02:00