MAC address


#1

Please help as I’m not able to figure out how to read the the MAC address from my Cactus.

My code looks like this:

debugTekst(“ARDUINO: setup rest client”);

while (!esp.ready());

if (!rest.begin(TS_HOST, TS_PORT, false)) {
debugTekst(“ARDUINO: failed to setup rest client”);
while (1);
}

/setup wifi/
debugTekst(“ARDUINO: setup wifi”);

esp.wifiCb.attach(&wifiCb);
esp.wifiConnect(customVar.ssid, customVar.pass);

I can see the MAC address but how to get it?

ARDUINO: setup rest client
ÄKaAØGqBÆÿÕâcáÞ¸AuÁþÛ8Õ<ßØCãÝ<GuQÙñÖñ•Y Ú±—Ø�)NEuÁÿÙEԈх]øpÃu¢
ÿ„„ápÈêYJ…ã!2ðÀ OÒ²âÒá©ø)+ÉÕÔþu
mode : sta(18:fe:34:f2:8f:3b)
add if0
ARDUINO: setup wifi


#2

I’ve searched the espduino codes but no such a method to read the MAC address.