Skip to content

Commit 183aee6

Browse files
committed
upd
1 parent 1be8a7e commit 183aee6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Settings
2-
version=1.0.12
2+
version=1.0.13
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Simple UI webface builder for esp8266/esp32

src/SettingsBase.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ class SettingsBase {
9999
String str(F(R"raw({"type":"discover","name":")raw"));
100100
if (_title.length()) str += _title;
101101
else str += F("Unnamed");
102+
str += F(R"raw(","mac":")raw");
103+
str += WiFi.macAddress();
102104
str += "\"}";
103105
send((uint8_t*)str.c_str(), str.length());
104106
} break;

0 commit comments

Comments
 (0)