diff --git a/src/system.cpp b/src/system.cpp index ecaacbe1f..a80521db3 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -1651,4 +1651,12 @@ bool System::ntp_connected() { return ntp_connected_; } +std::string System::getMacAddress() const { +#ifndef EMSESP_STANDALONE + return WiFi.macAddress().c_str(); +#else + return "10:10:10:10:10:10"; +#endif +} + } // namespace emsesp