unify advertised name for mDNS and USB, update configuration settings, and enhance setup tool prompts.

This commit is contained in:
PhosphorosVR
2025-09-06 16:25:21 +02:00
parent 8138ffa36d
commit ad7b9b8be9
8 changed files with 110 additions and 55 deletions

View File

@@ -50,12 +50,14 @@ menu "OpenIris: General Configuration"
help
A firmware version string exposed via the get_info command.
config GENERAL_UVC_NAME
string "UVC device name"
config GENERAL_ADVERTISED_NAME
string "Advertised device name (UVC + mDNS)"
default "openiristracker"
help
Default name reported for the UVC interface/device over USB.
This is independent from the mDNS hostname used on WiFi.
Human-readable device name advertised uniformly across interfaces.
Used as the default mDNS hostname and (indirectly) the UVC USB
device name via get_uvc_device_name(). Users can still override
the runtime hostname through preferences.
endmenu
@@ -78,10 +80,7 @@ menu "OpenIris: Camera Configuration"
endmenu
menu "OpenIris: WiFi Configuration"
config WIFI_MDNS_HOSTNAME
string "mDNS hostname"
default "openiristracker"
# mDNS hostname now derives from GENERAL_ADVERTISED_NAME (no separate Kconfig)
config WIFI_SSID
string "WiFi network name (SSID)"