[core] Replace Application name/friendly_name std::string with StringRef (#14532)

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2026-03-06 06:58:13 -10:00
committed by GitHub
co-authored by Copilot
parent 07e51886f3
commit 74e4b69654
14 changed files with 181 additions and 41 deletions
+1 -1
View File
@@ -273,7 +273,7 @@ bool ESP32BLE::ble_setup_() {
device_name = this->name_;
}
} else {
const std::string &app_name = App.get_name();
const auto &app_name = App.get_name();
size_t name_len = app_name.length();
if (name_len > 20) {
if (App.is_name_add_mac_suffix_enabled()) {