Can a station transmit ping packets using the SDK ?
Posted: Fri May 29, 2015 2:50 am
Hi, I would like to use my ESP8266 in station mode to monitor how many other clients are currently connected to the wifi router, and their IP addresses. I am a noob when it comes to networking, I got the idea that I could send out ping packets to the broadcast address and check the replies.
In any case, is it possible to build an ICMP echo request packet and transmit it via the SDK ? I have seen ping implementations in C on Windows using sockets (raw packets), but is this possible with the native Espressif SDK api ?
I just started with the nodemcu lua api a couple days ago, so am a bit raw myself
In any case, is it possible to build an ICMP echo request packet and transmit it via the SDK ? I have seen ping implementations in C on Windows using sockets (raw packets), but is this possible with the native Espressif SDK api ?
I just started with the nodemcu lua api a couple days ago, so am a bit raw myself