Chat freely about anything...

User avatar
By Hairyloon
#87736 Is there a way to identify the devices that are connected to an ESP?
Is there a command to have it return the MAC address or something?
User avatar
By Hairyloon
#87788
eriksl wrote:struct station_info * wifi_softap_get_station_info(void);


Thank you.
If there is more than one client connected, can we tell which one has put some data onto the server?
Sorry if these are silly questions, I'm a bit new to this game.
User avatar
By eriksl
#87789 In that case you will have to keep tabs yourself. Whenever you receive data, request for the sender IP. For UDP you can do that on a received packet base, for TCP you will have to inquire the incoming socket (as the other side is always known during a connection).