Get Mac address of client connected with esp8266
问题 I turned my esp8266 as an access point, so that the mobile devices could connect to it. Want to get the macAddress of the devices connected to it. How could I get it? 回答1: I got the answer from here and it works #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> extern "C" { #include<user_interface.h> } /* configuration wifi */ const char *ssid = "COblaster"; ESP8266WebServer server(80); void handleRoot() { server.send(200, "text/html", "<h1>You are connected</h1>"); String addy = server