-->
Page 1 of 1

Scan ip addresses of all devices in network.

PostPosted: Fri Mar 29, 2019 7:48 am
by Yoni Stern
Hi.

I do a project that I using a computer as a local server, and my nodemcu 1.0 (esp8266 12e module) communicates with it by connecting to hotspot of my computer.
the ip of the computer changes every time i turn off the hotspot of the computer. the nodemcu is the only device that connects to the hotspot. is the esp8266 can scan all the ip addresses of all the devices that in the network of the hotspot (which is just the computer and the esp8266)?

thanks(:

Re: Scan ip addresses of all devices in network.

PostPosted: Sat Mar 30, 2019 12:04 pm
by Yoni Stern
Or, alternatively, how can I find the ip address of the router that the esp8266 is connected to.

Re: Scan ip addresses of all devices in network.

PostPosted: Sun Mar 31, 2019 4:59 am
by rainfay
Have you tried setting your Wifi network to a /31 subnet (255.255.255.254)? that would only allow two hosts total on that link.