[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] [Android Service]Does the MqttConnection reconnect works?
|
Hi,
The Android service currently has a specific form of Automatic reconnect that is only used when the device transitions from one network type to another (e.g. No Wifi to Wifi, or Bad cellular connection with no internet to 4G).
Proper Automatic Reconnect and Offline buffering is on it's way to the Android Client though as part of the updates to the Java client which it relies on. Once those changes are in the Java client then the relevant updates will be made to the Android client to allow Automatic reconnect upon connection loss.
Kind regards,
James Sutton Software Engineer - IoT Foundation - MQTT Open Source Projects Technical Trojan - Wimbledon Project |
|
| Hursley Park Hursley, SO212JN United Kingdom |
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
----- Original message -----
From: "zhangkai.gis"<zhangkai.gis@xxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: "paho-dev"<paho-dev@xxxxxxxxxxx>
Cc:
Subject: [paho-dev] [Android Service]Does the MqttConnection reconnect works?
Date: Sat, Mar 26, 2016 1:49 PM
Hi all.
Does the MqttConnection Automatic reconnect works?How can I reconnect to MqttServer when I lost the connection?or fail to connect to the server?
Thanks,
zhangkai
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU