Commit Graph

97 Commits

Author SHA1 Message Date
Lorow
68998ad727 Refactor the startup flow, cleanup old progress logs, cleanup globals 2025-09-03 00:39:22 +02:00
Lorow
0c9e254aba Initial CDC implementation 2025-09-03 00:39:22 +02:00
Lorow
3de6211992 Fix xiao failing to load the default pwm duty cycle 2025-08-27 00:02:30 +02:00
Lorow
4a8aacf99e Fix UVC not starting on Babble and Xiao boards due to a miss-configuration 2025-08-26 23:31:34 +02:00
Lorow
cbcb9b492e Add get device name command for displaying the current name in the setup tool 2025-08-26 22:20:54 +02:00
PhosphorosVR
cb569c9e47 60fps Limit + GENERAL_DEFAULT_WIRED_MODE can be set in sdkconfig 2025-08-26 01:39:40 +02:00
PhosphorosVR
06394f9654 Fixed PR comments2 2025-08-25 23:47:50 +02:00
PhosphorosVR
8c8db170b0 Fixed PR comments 2025-08-25 22:52:06 +02:00
PhosphorosVR
6e2a591348 Fixing small stuff 2025-08-24 22:21:06 +02:00
PhosphorosVR
3f96e468f0 Refactor global state management for startup commands and USB handover (no Race-Condition); enhance SerialManager shutdown process and buffer handling in UVCStream. 2025-08-23 19:12:53 +02:00
PhosphorosVR
e1838b4ca4 Refactor UVCStream buffer management and improve serial number formatting 2025-08-23 15:55:30 +02:00
PhosphorosVR
4778ae6c52 Update README and improve LEDManager and StreamServer functionality
- Enhanced LEDManager state update logic to allow recovery from error states
- Fixed buffer declaration in StreamServer for multipart headers
- Updated LEDManager instantiation to use shared_ptr for better memory management
2025-08-23 15:28:55 +02:00
PhosphorosVR
817101e40d Add command for retrieving device serial number and MAC address 2025-08-22 02:24:02 +02:00
PhosphorosVR
19e707cabb Refactor USB Video Class descriptor comments for clarity and maintainability 2025-08-22 01:33:02 +02:00
PhosphorosVR
40163446b6 Merge branch 'feature/facefocus-duty-cycle-poc' 2025-08-22 01:14:53 +02:00
PhosphorosVR
76735a2695 test2 2025-08-22 01:06:33 +02:00
PhosphorosVR
8ff2e4ca1a test 2025-08-22 01:06:22 +02:00
PhosphorosVR
5a201d875e Added PWM live control and get_led_duty_cycle 2025-08-22 01:01:49 +02:00
Lorow
21e8dbe264 Add PoC PWN duty cycle adjustment command for FaceFocus 2025-08-19 00:03:31 +02:00
PhosphorosVR
18a4b73428 USB Descriptor Rework 2025-08-16 18:52:14 +02:00
Lorow
ee5a73895c Merge remote-tracking branch 'origin/main' into mutimodal
# Conflicts:
#	components/CameraManager/CameraManager/CameraManager.cpp
#	dependencies.lock
#	main/openiris_main.cpp
#	sdkconfig
2025-08-13 23:46:13 +02:00
Lorow
6f1b5f68ee Merge branch 'main' into mutimodal 2025-08-13 23:19:31 +02:00
Lorow
3a97548f3c Add missing lastHeartbeat after fixing merge conflicts 2025-08-13 23:17:14 +02:00
Lorow
a23f7dacb1 Fix merge conflicts 2025-08-13 23:01:53 +02:00
Lorow
5a86ae042f Improvements and refactors after CR, add option to modify mdns name and simplify setup tool 2025-08-12 23:48:44 +02:00
PhosphorosVR
4c2e183f11 - Changed return; to return ESP_FAIL; to match esp_err_t return type
- Prevent build errors by properly handling missing wired mode configuration
2025-08-09 20:42:36 +02:00
PhosphorosVR
0c4a300647 - Applied changes based on PR feedback
- Remove redundant menu entries from default config (will be set by Kconfig.projbuild)
2025-08-09 17:13:04 +02:00
PhosphorosVR
35821507ef Added CONFIG_CAMERA_WIFI_XCLK_FREQ 2025-08-09 03:25:02 +02:00
PhosphorosVR
03822f90c8 fb_location to DRAM, no need for psram with small files and DRAM should be more stable 2025-08-09 03:10:44 +02:00
PhosphorosVR
a5d4ac3c7d Added Camera_USB_XCLK_FREQ and CONFIG_GENERAL_UVC_DELAY 2025-08-08 22:45:28 +02:00
PhosphorosVR
2346d0ec6c -Add configurable PWM frequency and duty cycle for external LED control
-Reworked Kconfig menu structure for better organization
2025-08-08 21:26:06 +02:00
PhosphorosVR
74c6004ef8 fix: Prevent buffer overflow in get_serial_number 2025-08-01 01:46:55 +02:00
Summer
d9ace4bc05 upload mutimodal 2025-07-29 23:02:29 +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
ec4369df7f Add support for setting a custom device name and per-board serial number for UVC 2025-06-17 22:21:22 +02:00
Summer
3a70577223 upload mutimodal 2025-06-11 04:55:38 -07: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