WiFi.ping() on Pi - particle


#1

Is the WiFi.ping supported on the particle agent for Raspberry PI ? Can’t find any WiFi documentation for Pi, but is supported on all the other particle platforms.

I get an compile error undefined reference to inet_ping when trying to use a simple ping command on the PI.

Seems to be a bit of a shortcoming if not supported.


#2

Anyone ???


#3

Probably not, but @rickkas7 might know.


#4

It is not supported, however you can just call the actual native Linux ping program using Process:run().

https://docs.particle.io/reference/firmware/raspberry-pi/#process-control


#5

Thanks Rikkas, would be nicer if the WiFi.Ping was supported as on the Photon, but will give this a try