# Compile-time secrets for the sound-machine firmware. # # Copy this file to `cfg.toml` (which is gitignored) and fill in the real # values for your network and MQTT broker. The build will read these via # the `toml-cfg` crate and bake them into the binary at compile time. # # Empty values cause the firmware to panic at boot — better than silently # trying to connect to nothing forever. [sound-machine] wifi_ssid = "your-wifi-ssid" wifi_password = "your-wifi-password" # Full URL form so we can swap to mqtts://host:8883 later without a schema change. mqtt_url = "mqtt://mqtt.example.local:1883" # Base URL the device fetches OTA images from. Image URL is # `/sound-machine-.bin`. Plain HTTP is fine on a # trusted LAN; TLS-without-code-signing only protects transit, not authenticity. ota_url_base = "http://firmware.example.lan/sound-machine"