I would like to scan my network with an ESP8266/NodeMcu for other devices.
I use this library
name=ESP8266Ping
version=1.0
author=Daniele Colanardi
to ping my net from x.x.x.0 to x.x.x.255 to retrive all IP adresses.
Now I would like to retrive additional information from the existing devices
MAC-adresses
Hostinfo/Hostname/NETBIOS info if available for easier identication of the devices
More or less, i would like to get information like in a network-scaner (e.g. AngryIp)
from the description that sketch scans for other wifi AP and retrives MAC and description from others AP.
... but my ESP should be connected to MY wifi and scan MY network ...
"that's not an option as there is no API and I don't want to parse a html output which might change with the next firmware-update again."
Bummer. I think my wireless router by default blocks the "sniffing" of other connected devices by individual connected devices. If it is your network, just change that setting on your network access point. Your request just sounds way sketchy, kind of like you want to connect to an open wifi network and sniff the other connected devices.
It took some time but I found at least one working option: mDNS SD (multicast Domain Name Service - Service Discovery)
Some network devices report the service they offer and so you can find out the name of the device.
For example, if you have enabled OTA upload on the ESP, a service "arduino" will be added to the services by the library. Additionally you can register a port/service on your device and other devices are able to "discover" that registered service.
So at least I can now scan and display information of each device on my network