Commit Graph

124 Commits

Author SHA1 Message Date
Lorow
dbcee66fa8 Fix getLEDCurrentCommand after rebase, cleanup todos, add current monitoring to setup script 2025-10-19 19:29:04 +02:00
Lorow
d67c0251fa cleanup after rebasing 2025-10-18 21:23:40 +02:00
Lorow
5c66c9ca77 Rework str based responses to json 2025-10-18 19:51:29 +02:00
Lorow
e5ce325e3f Remove cJSON 2025-10-18 19:51:29 +02:00
Lorow
f241603a82 Remove heartbeats in favor of ping command 2025-10-18 19:51:27 +02:00
Lorow
ecf881a552 Remove reset camera 2025-10-18 19:35:24 +02:00
Lorow
44b5fe157a Rewrite commands to nlohmann-json 2025-10-18 19:35:22 +02:00
Lorow
e35413a0a6 Add nlohmann-json 3.12.0 2025-10-18 19:21:17 +02:00
Lorow
4ae552abca Revert stopping serial manager in wifi mode 2025-10-18 19:09:29 +02:00
Lorow
1a06c1a053 Merge branch 'main' into main 2025-10-18 19:02:41 +02:00
PhosphorosVR
05cc906988 Adjust camera configuration 2025-09-30 13:49:56 +02:00
PhosphorosVR
66b4264d73 Update USB configuration descriptor to advertise max bus power consumption as 200 mA 2025-09-27 21:06:23 +02:00
PhosphorosVR
e47735c720 Changes made based on pr feedback. 2025-09-23 01:46:53 +02:00
PhosphorosVR
15641753f0 Improve frame handling in UVCStream to prevent corruption and ensure proper pacing
maybe fix to camera glitches
2025-09-17 12:30:19 +02:00
PhosphorosVR
69406e62b3 Fixe: name not saving 2025-09-16 21:55:17 +02:00
Lorow
82c24e57a7 Fix MDNS name not getting saved after a single command 2025-09-16 20:49:23 +02:00
PhosphorosVR
e6305536e6 Add CDC interface string index and unify user-visible names to advertised name 2025-09-15 13:42:26 +02:00
PhosphorosVR
b1db58ee4c Enhance LED status documentation and patterns in LEDManager and StateManager 2025-09-07 13:07:16 +02:00
PhosphorosVR
6f926306b5 Adding new Kconfig options and updating LEDManager code for conditional debug LED and external error mirroring 2025-09-07 12:59:18 +02:00
Lorow
196b3da566 Fix serial manager bug where sending commands too slowly would break 2025-09-07 00:08:29 +02:00
Lorow
2ac49fcd02 Add support for keeping serial manager alive when in WiFi mode but connected to serial, fix resolving heartbeats 2025-09-07 00:06:24 +02:00
PhosphorosVR
909a2779ac cleaning up board config and switch tool 2025-09-06 17:10:46 +02:00
PhosphorosVR
ad7b9b8be9 unify advertised name for mDNS and USB, update configuration settings, and enhance setup tool prompts. 2025-09-06 16:25:21 +02:00
PhosphorosVR
8138ffa36d Add UVC device name configuration and update device name retrieval logic 2025-09-05 19:36:09 +02:00
PhosphorosVR
21e7589546 Refactor wireless command error handling and update device mode terminology in setup tool 2025-09-05 18:38:13 +02:00
PhosphorosVR
93b2f7f23f Add 'get_who_am_i' command and related configurations for device identification 2025-09-05 17:47:04 +02:00
PhosphorosVR
83d7805e9e - Updated README to reflect changes in device mode terminology from "Auto" to "Setup".
- Changed configuration macros from CONFIG_GENERAL_DEFAULT_WIRED_MODE to CONFIG_GENERAL_INCLUDE_UVC_MODE across multiple files.
- Introduced new command for retrieving LED current in CommandManager.
- Added MonitoringManager and CurrentMonitor classes to handle LED current monitoring.
- Updated Kconfig to include options for LED current monitoring.
- Modified main application logic to integrate MonitoringManager and handle new device modes.
- Adjusted CMakeLists and source files to include new monitoring components.
2025-09-05 01:08:11 +02:00
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