Post topics, source code that relate to the Arduino Platform

User avatar
By Silux
#26459 Ok, if not a whole list it could be useful to get a list of other ESP connected as station to the same access point.
The chip asks IPs which are like 192.168.1.x to provide a page, and if the page exists, it means that they are a module with that firmware.
@eldonb46 trying the apps now, thanks!
User avatar
By Silux
#26460
RogerClark wrote:If you just want to know what other devices are on the network you could ping scan the entire subnet. But it will take a while to complete e.g. wait 200ms on all 253 subnet addresses (that are not the esp and not the router)

But I'm not sure if ping_start is implemented for Arduino


Yes, I was thinking to implement a kind of ping scan, with priority for common addresses.
Usually the access points register addresses incrementally and from 0-99 for dinamic addresses, 100-200 for reservations and 200-255 for special purposes(like broadcast, ftp server or other services).
So a ping scan for 50ms for each address (to the 100 most common addresses) would take ~5seconds which is an acceptable time.
I tried to ping all my devices in WAN and the worst ping was 24ms(the first ping, successive are smaller), on a device at borders of wifi range and busy downloading. I think 50ms is a timeout.