Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Reconnect (the Paho library style) #18

Closed
stefanoco opened this issue Feb 15, 2018 · 8 comments
Closed

Reconnect (the Paho library style) #18

stefanoco opened this issue Feb 15, 2018 · 8 comments

Comments

@stefanoco
Copy link

The Eclipse Paho MQTT library provides a method mosquitto_reconnect() useful in order to restart a broken connection to a broker. Is there anything similar here? What's the suggested policy?

@alexa-noxon
Copy link
Contributor

At this time a reconnect function is not provided, and applications must call connect again with the same connection parameters.
Thank you for the input and we will consider support for automatic reconnect functionality in the future.

@stefanoco
Copy link
Author

Would you consider pull requests on this or any other development?

@alexa-noxon
Copy link
Contributor

We are still working on our pull request process and guidelines. We welcome contributions to the project, but the decisions and criteria on whether each change will be merged will be shared in a forthcoming update.

@xiongyu0523
Copy link

Any process on auto reconnect?

@stefanoco
Copy link
Author

can't see any contribution policy so far so didn't invest on this

@lt72
Copy link
Contributor

lt72 commented Feb 7, 2019

We are re-writing MQTT to be transport independent in the context of supporting BLE in Amazon FreeRTOS. We did not implement auto-reconnect yet, but it is definitely on our radar. Please check the ble beta branch in this repo and/or the v4_beta branch in C-SDK for the latest updates. It is a work in progress, but we'd like your feedback!
P.S. the C-SDK is slightly ahead...

@stefanoco
Copy link
Author

@lt72 we may have a chance of testing this new branch in the next few weeks, thanks for commenting

@mradulan mradulan added this to List in Feature Requests Feb 10, 2019
@dcgaws
Copy link
Contributor

dcgaws commented Aug 16, 2019

@stefanoco and @xiongyu0523, hello, our new MQTT library interface can be found in iot_mqtt.h. While we have not implemented reconnect, we do have an official contribution policy and welcome pull requests.

@dcgaws dcgaws closed this as completed Aug 16, 2019
jcmvbkbc pushed a commit to foss-xtensa/amazon-freertos that referenced this issue Jan 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

6 participants