ESP8266 Arduino - How to get the MAC addres of devices connected to the same network/router?

Dear forum users,

premise that I program my ESP8266 with Arduino IDE,
someone would kindly help me to retrieve the MAC address of the various devices connected to the same network / router of my ESP8266.

Because due to DHCP, the IP address of the devices I have to communicate with sometimes changes…

Thank you very much.

Hi @david8266,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.