Minor Changes
-
#11
9392d7eThanks @TooTallNate! - Add optional file logging for the sysmodule. Since a sysmodule has no console
output, diagnostics can now be captured by settinglog = truein
config.ini; output is appended tosdmc:/config/sys-autopilot/log.txt.
Logging is off by default and gated at runtime, so it has no cost when unused. -
#10
4851df6Thanks @TooTallNate! - Add mDNS / DNS-SD network discovery. The console now advertises itself on the
local network as<hostname>.localand publishes the_sys-autopilot._tcp
service with a TXT record describing the version/path/auth/model/firmware/
Atmosphère version, so MCP clients andcurlcan target a stable name instead
of a hard-coded IP.- New
hostnamekey inconfig.ini. When blank it auto-generates
switch-<last 4 of serial>, which is unique per console so two devices on
the same network don't collide. - The LAN address is obtained from
nifm(a sysmodule'sgethostid()only
ever returns loopback), with the server retrying until the interface is up. - New
scripts/discover.shhelper browses for consoles on the LAN.
- New