The ping API : https://docs.particle.io/reference/device-cloud/api/#ping-a-device
is not real time as we have tested and even when the device is offline and we send this API the device returns true. Why is that? Also we noticed that the the return of the API call is based on the Blue toggle in the console (whose blinking is not real time, its stays blue even when the device goes offline).
When I ping the device via the web console I receive the real time information if the device is online or offline.
I need to help in having this device ping API to be real time telling me the status of connectivity. The current API is not working.
Please help, this is critical for our application.