Skip to main content

[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.
 
You can follow the progress of the Java functionality here: https://github.com/eclipse/paho.mqtt.java/issues/9
 
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Technical Trojan - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: 
Personal Website: www.jsutton.co.uk
Find me on:      
IBM

Hursley Park
HursleySO212JN
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
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev
 
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


Back to the top