awslabs / aws-c-mqtt

C99 implementation of the MQTT 3.1.1 specification.
Apache License 2.0
93 stars 29 forks source link

More debugging for MQTT5 decoder #241

Closed TwistedTwigleg closed 1 year ago

TwistedTwigleg commented 1 year ago

Description of changes:

Adds even more debugging logs to the MQTT5 decoder, only applies for temporary debugging. Now if an unknown/unimplemented packet type enum is sent, the enum value is printed as an error. Print statements were also added after running the three main decoder functions to see which had an error.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

TwistedTwigleg commented 1 year ago

Thanks! Merging into main...