Hi.
I am trying to ping the Device in order to see if it is really online because, Device goes to sleep quite fast.
I am sending a command device.send(“ping”, 0); to the device but I have not managed to write the code to the device where the device wakes up first and then returns “alive” (if the device is truly connected) when the device is connected again…
If this takes more than 5 seconds, perhaps the device is truly offline and the Agent only then reuturns “dead”.
Sample codes really do not illustrate how…
Can some one help a bit?