Closed MichalFoksa closed 9 years ago
Added wait for disconnect acknowledge (DISCONNECT packet) by a broker before socket closure into mqtt-sn-pub and mqtt-sn-sub.
Thank you very much for the pull request - I am not sure how I missed that clients should wait for a Disconnect reply packet.
Please can you change the packet type and not check the return code?
Added wait for disconnect acknowledge (DISCONNECT packet) by a broker before socket closure into mqtt-sn-pub and mqtt-sn-sub.