Hi
I'm trying to get all existing Device Name's and IP Address in my Local Network, with wireless or wired connection,
I have adafruit ethernet feather wing shield and Adafruit HUZZAH32 – ESP32 Feather Board.
Please anybody help me, whit example code.
Thank you in advance
Please anybody help me, whit example code.
How would you approach this task, without an Arduino? That is, how would you use your PC to get the same information?
The only approach I can think of would be to iterate over the last two octets in the IP address range (192.68.n.m) where n ranges from 0 to 255 and m ranges from 0 to 255, trying to ping the device. If you get a response, that IP address is part of the LAN at the time the scan was done. If you don't get a response, then the IP address is currently not in use.
Yes
I want to use Arduino, and if possible with esp32 or esp8266.
Thank you for replay
I want to use Arduino, and if possible with esp32 or esp8266.
Figure out how to accomplish the goal with a PC first. Then, implement the solution on the ESP.