Rename device identity from DigiRadio to igiRadio
SoftAP SSID, Bluetooth name, and mDNS hostname now use the "igiRadio" prefix (igiRadio-<serial>, igiradio-<serial>.local), matching the iOS app's name instead of the firmware project's repo name. Confirmed live: igiradio-CC4DB4.local resolves, the old digiradio-CC4DB4.local no longer does. Also adds the app-side briefs/notes accumulated today (active_source, volume contract, VU-meter polling, RDS availability) as a single up-to-date file to hand to Cursor. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -18,9 +18,9 @@ namespace core {
|
||||
namespace {
|
||||
|
||||
constexpr std::string_view kSerialUnknown = "unknown";
|
||||
constexpr std::string_view kSoftApFallback = "DigiRadio-setup";
|
||||
constexpr std::string_view kBluetoothFallback = "DigiRadio";
|
||||
constexpr std::string_view kHostnameFallback = "digiradio";
|
||||
constexpr std::string_view kSoftApFallback = "igiRadio-setup";
|
||||
constexpr std::string_view kBluetoothFallback = "igiRadio";
|
||||
constexpr std::string_view kHostnameFallback = "igiradio";
|
||||
|
||||
[[nodiscard]] std::string prefixed(std::string_view prefix,
|
||||
std::string_view suffix)
|
||||
@@ -44,9 +44,9 @@ DeviceIdentity DeviceIdentity::fromEui48(Eui48 eui)
|
||||
const std::string suffix = eui.shortSuffix();
|
||||
return DeviceIdentity(eui,
|
||||
eui.serialNumber(),
|
||||
prefixed("DigiRadio-", suffix),
|
||||
prefixed("DigiRadio-", suffix),
|
||||
prefixed("digiradio-", suffix));
|
||||
prefixed("igiRadio-", suffix),
|
||||
prefixed("igiRadio-", suffix),
|
||||
prefixed("igiradio-", suffix));
|
||||
}
|
||||
|
||||
bool DeviceIdentity::isKnown() const noexcept
|
||||
|
||||
Reference in New Issue
Block a user