Skip to content

Conversation

MartinKlang
Copy link
Contributor

CONNACK signals that the connection with the server has been established.

It is common to wait for CONNACK before sending e.g. subscribe requests.
In some cases it is necessary, e.g. with Thingsboard (reference).

Sometimes a dialogue is required between client and broker at connection time, which may require calling mqtt_sync(). This can safely be done from the connected callback.

CONNACK signals that the connection with the server has been established
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