Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements #21

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Improvements #21

wants to merge 5 commits into from

Conversation

boraozgen
Copy link
Contributor

@boraozgen boraozgen commented May 12, 2021

I was finally able to fork back from the official Mbed repo. I thought it would be a better cooperation opportunity than separately developing in the original repo.

I made many improvements, some of which break the API. The details are found in the commits. I'm not rushing to merge these as I am using my fork permanently, nevertheless feel free to review and comment.

boraozgen added 5 commits May 12, 2021 10:34
The callback signature was changed to pass MQTTPublishInfo_t,
which contains the previously passed data.
Added a mutex to protect the API against concurrent access.
Added a semaphore to check for publish QoS.
Added missing QoS parameter to unsubscribe.
It is now possible to call processResponses with a single loop.
Do not subscribe to get/rejected topic
Do not subscribe to update response topics
Improve shadow robustness by calling processResponses
until all responses are received
Each subscription now has its own callback.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant