Commit Graph

80 Commits

Author SHA1 Message Date
PhosphorosVR
74c6004ef8 fix: Prevent buffer overflow in get_serial_number 2025-08-01 01:46:55 +02:00
Lorow
b30a00900f Merge pull request #4 from nponsard/main
fix: capitalisation of helper for linux build
2025-07-13 13:26:03 +02:00
Nils Ponsard
afc61276a9 fix: capitalisation of helper for linux build
Signed-off-by: Nils Ponsard <nilsponsard@gmail.com>
2025-07-12 20:07:24 +02:00
Lorow
9479c1c592 Set the tinyusb version to 0.15.0~10 to fix uvc becoming unresponsive, add missing proper device mode handling, update progress docs 2025-06-27 22:10:29 +02:00
Lorow
3476c36779 Merge pull request #2 from lorow/feature/uvc-custom-name-and-serial
Add support for setting a custom device name and per-board serial nuber for UVC
2025-06-26 21:46:48 +02:00
Lorow
ec4369df7f Add support for setting a custom device name and per-board serial number for UVC 2025-06-17 22:21:22 +02:00
Lorow
39002e2335 Fix typo in device commands 2025-05-28 22:53:43 +02:00
Lorow
b5c6bc3765 Minor cleanup, add missing command for updating OTA credentials 2025-05-25 16:31:42 +02:00
Lorow
cd2791ba6f Add command to set device mode between auto/uvc/wifi, add config to represent streaming mode, implement restart task, implement restart device command 2025-05-21 23:21:56 +02:00
Lorow
b7bae7fb3e Add Proof of concept switching between UVC and Wi-Fi streaming based on the presence of Wi-Fi creds, rewrite restart task to esp_timer
TODO: Think about letting people set the mode explicitly so the board comes online faster
2025-05-20 23:09:06 +02:00
Lorow
4f0ab541cb Modernize the code a bit, clean up most compilation warnings 2025-05-18 17:35:39 +02:00
Lorow
0635bbd5c2 Make command manager output proper json 2025-05-13 22:53:51 +02:00
Lorow
ab0b1db432 FIx typo preventing stored networks from being loaded 2025-05-13 21:45:31 +02:00
Lorow
c7ac2e3b1a Fix multiple commands not being executed correctly 2025-05-11 21:53:05 +02:00
Lorow
698a775c88 Fix wifi config representation ,fix ap_network representation 2025-05-11 21:12:45 +02:00
Lorow
3e6efe84cd Fix typo preventing command payload to be passed down 2025-05-11 20:09:53 +02:00
Lorow
06c307a821 Fix SerialManager not reading the entire message 2025-05-10 21:02:30 +02:00
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