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

Expose MQTT client functions for fetching connection status. #72

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

Conversation

aka-mj
Copy link
Contributor

@aka-mj aka-mj commented Oct 26, 2022

No description provided.

aka-mj and others added 26 commits October 26, 2022 08:30
The done channel is used to track connection state and should only be created on Connect() rather than New().
Connect() no longer checks for already connected so we can reconnect with new credentials.
This fork has some changes that are unlikely to be merged into the original project as they fit needs my project had.
At the MQTT layer publishing and receiving twin state is a []byte. This
eliminates the conversion of that data to map[string]interface{} at the
Client layer. I believe the original implementation expected twin data
to only be key/value pairs. This was not the case for me and an
interface{} type can not be indexed. Working with the byte array better
works in my use case.
Pull in changes from amenzhinsky.
Minimum version supported by Iot Hub is now TLS 1.2.
Pull in updates

See merge request michaeljohn/iothub!1
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.

None yet

1 participant