wolfSSL / wolfMQTT

wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
https://www.wolfssl.com
GNU General Public License v2.0
527 stars 156 forks source link

Fix pubrec response handling and warning in MqttDecode_Props #224

Closed embhorn closed 3 years ago

embhorn commented 3 years ago
  1. The PUBREC reason code is not reported to the application
  2. The PUBREL contained an invalid reason code. (cause: the PUBREC reason code was sent back in the PUBREL packet, instead of one of the allowed codes).
  3. A compiler warning on line 511 of mqtt_packet.c

Fixes issues reported in forum post: https://www.wolfssl.com/forums/post6137.html#p6137