You can use the AT protocol and query AT+CIPAPMAC?reference
See the Espruino reference on ESP8266 specifically wifi.at and try wifi.at.cmd("AT+CIPAPMAC?", 1000, function() {}); there's probably a better way, maybe. I have not looked.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
You can use the AT protocol and query
AT+CIPAPMAC?
referenceSee the Espruino reference on ESP8266 specifically
wifi.at
and trywifi.at.cmd("AT+CIPAPMAC?", 1000, function() {});
there's probably a better way, maybe. I have not looked.