Skip to content
Snippets Groups Projects
Commit 88d11999 authored by Davide Pianca's avatar Davide Pianca
Browse files

Avoid sending MQTT messages before CONNACK has been received

This fixes the problem with AWS broker which doesn't accept SUBSCRIBE packets before the CONNACK packet has been received, instead returning UNSPECIFIED_ERROR in SUBACK. This is not standard compliant which allows the client to send control packets right after CONNECT, before CONNACK has been received. But with the new behaviour we increase compatibility.
This problem manifests itself mainly with the Android Emulator.
parent 6cbcb823
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment