|Paho Java client, turning off automatic ping messages [message #930282]
||Tue, 02 October 2012 03:08
| tobi hofer
Registered: October 2012
Im currently working on an android mqtt based app using the paho java client. Here is my Question:
Is there a qay to turn of the automatically created ping messages that the client sends the broker every "keepAliveInterval" seconds?
Since the CPU of my device can go to sleep every now and then i need to implement my own ping service, wich wakes the CPU when its time to ping. The "problem" is that now i ping twice when the cpu is running.It would be nice to have an option in the ConnectionOptions to tell the client that i gonna do the pinging stuff on my own.
Powered by FUDForum
. Page generated in 0.01758 seconds