Refine Wi-Fi, mDNS, and terminal lifecycles
- Stage disabled station profile edits without restarting the radio - Make mDNS initialization failure-isolated and reannounce in place - Document deferred admin actions and explicit browser disconnect behavior
This commit is contained in:
+5
-2
@@ -884,8 +884,11 @@ static void handle_message(manager_runtime_t *runtime,
|
||||
|
||||
case MESSAGE_COMMAND_MDNS_REANNOUNCE:
|
||||
if (runtime->online) {
|
||||
mdns_service_stop();
|
||||
start_mdns_announcement();
|
||||
esp_err_t error = mdns_service_reannounce();
|
||||
if (error != ESP_OK) {
|
||||
ESP_LOGW(TAG, "mDNS reannouncement unavailable: %s",
|
||||
esp_err_to_name(error));
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user