-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix doxygen errors in v3 MQTT documentation #854
Conversation
@@ -61,6 +61,7 @@ extern "C" { | |||
#include "threads_interface.h" | |||
#endif | |||
|
|||
/** Greatest packet identifier, per MQTT spec */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need periods here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation for this version does not put periods at the end of lines. So for consistency, no.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's v4 though. v3 does not do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
CONNACK_SERVER_UNAVAILABLE_ERROR = 3, /**< Server unavailable */ | ||
CONNACK_BAD_USERDATA_ERROR = 4, /**< Bad username */ | ||
CONNACK_NOT_AUTHORIZED_ERROR = 5 /**< Not authorized */ | ||
} MQTT_Connack_Return_Codes; | ||
|
||
/** | ||
* Determines the length of the MQTT connect packet that would be produced using the supplied connect options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These parameters not matching in these static function don't matter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
static functions in v3 aren't documented in doxygen.
I considered removing the docs for static functions, but it may still be helpful for people modifying the code.
Resolves doxygen issues in v3 MQTT documentation
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.