coslad Well-Known Member Licensed User Longtime User Mar 25, 2017 #1 Hi how can I set the keep alive timeout ?
MarcoRome Expert Licensed User Longtime User Mar 25, 2017 #2 coslad said: Hi how can I set the keep alive timeout ? Click to expand... okHttputil ? Upvote 0
coslad Well-Known Member Licensed User Longtime User Mar 25, 2017 #3 MarcoRome said: okHttputil ? Click to expand... I mean : http://www.hivemq.com/blog/mqtt-essentials-part-10-alive-client-take-over Upvote 0
MarcoRome said: okHttputil ? Click to expand... I mean : http://www.hivemq.com/blog/mqtt-essentials-part-10-alive-client-take-over
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2017 #4 The keep alive timeout is set in the client side. The default value is 60 seconds. Why do you need to change it? Upvote 0
The keep alive timeout is set in the client side. The default value is 60 seconds. Why do you need to change it?
coslad Well-Known Member Licensed User Longtime User Mar 26, 2017 #5 The client is behind a very noised 3G network and I would like to set a lower ack time, otherwise I have to send a void message every x second. Upvote 0
The client is behind a very noised 3G network and I would like to set a lower ack time, otherwise I have to send a void message every x second.
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2017 #6 B4X: Dim jo As JavaObject = MqttOptions1 jo.RunMethod("setKeepAliveInterval", Array(300)) '300 seconds Upvote 0
B4X: Dim jo As JavaObject = MqttOptions1 jo.RunMethod("setKeepAliveInterval", Array(300)) '300 seconds