Catch callback reason code for disconnect #384
-
Hi, |
Beta Was this translation helpful? Give feedback.
Answered by
bretambrose
Jan 5, 2023
Replies: 2 comments
-
Assuming you're using MQTT5:
For MQTT311, server-side disconnects are disallowed and there is only one affirmative connack reason code (0), so there isn't really anything available. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jmklix
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assuming you're using MQTT5:
For MQTT311, server-side disconnects are disallowed and there is only one affirmative connack reason code (0), so there isn't really anything available.