Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Paho Java client, turning off automatic ping messages
Paho Java client, turning off automatic ping messages [message #930282] Tue, 02 October 2012 03:08 Go to previous message
tobi hofer is currently offline tobi hofer
Messages: 2
Registered: October 2012
Junior Member
Hi guys,
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.

kind regards!
Tobi
 
Read Message
Read Message
Read Message
Previous Topic:How to install Paho ?
Next Topic:Paho SSL with pre-shared key
Goto Forum:
  


Current Time: Sat May 25 03:15:39 EDT 2013

Powered by FUDForum. Page generated in 0.01622 seconds