MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / get_efuse_mac_as_string

Function get_efuse_mac_as_string

src/settings.cpp:467–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465 setBrightness(bright, false);
466}
467String get_efuse_mac_as_string() {
468 uint8_t mac[6] = {0};
469 String str = "";
470 esp_efuse_mac_get_default(mac);
471 for (int i = 0; i < 6; i++) {
472 if (i > 0) str += ":";
473 str += String(mac[i], 16);
474 }
475 return str;
476}
477bool config_exists() {
478 if (!SDM.exists(CONFIG_FILE)) {
479 File conf = SDM.open(CONFIG_FILE, FILE_WRITE, true);

Callers 3

config_existsFunction · 0.85
getConfigsFunction · 0.85
saveConfigsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected