redboltz / async_mqtt

Asynchronous MQTT communication library based on Boost.Asio
Boost Software License 1.0
77 stars 10 forks source link

Shifted mqtt_error value mapping. #299

Closed redboltz closed 4 weeks ago

redboltz commented 4 weeks ago

Preserved 0x00-0xff for MQTT v5 reason code, if the codes integrated in the future.

codecov-commenter commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 33.33333% with 6 lines in your changes missing coverage. Please review.

Project coverage is 96.68%. Comparing base (c7f8567) to head (8e73c29).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/redboltz/async_mqtt/pull/299/graphs/tree.svg?width=650&height=150&src=pr&token=21ZT59CMM5&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo)](https://app.codecov.io/gh/redboltz/async_mqtt/pull/299?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) ```diff @@ Coverage Diff @@ ## main #299 +/- ## ========================================== - Coverage 96.71% 96.68% -0.04% ========================================== Files 151 151 Lines 8992 8991 -1 ========================================== - Hits 8697 8693 -4 - Misses 295 298 +3 ``` | [Files](https://app.codecov.io/gh/redboltz/async_mqtt/pull/299?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo) | Coverage Δ | | |---|---|---| | [include/async\_mqtt/impl/error.hpp](https://app.codecov.io/gh/redboltz/async_mqtt/pull/299?src=pr&el=tree&filepath=include%2Fasync_mqtt%2Fimpl%2Ferror.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo#diff-aW5jbHVkZS9hc3luY19tcXR0L2ltcGwvZXJyb3IuaHBw) | `87.94% <33.33%> (+0.25%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/redboltz/async_mqtt/pull/299/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Takatoshi+Kondo)