Skip to content
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

Merged
merged 2 commits into from
Apr 4, 2020
Merged

Fix doxygen errors in v3 MQTT documentation #854

merged 2 commits into from
Apr 4, 2020

Conversation

gordonwang0
Copy link
Contributor

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.

@@ -61,6 +61,7 @@ extern "C" {
#include "threads_interface.h"
#endif

/** Greatest packet identifier, per MQTT spec */
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

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.

Copy link
Contributor

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.
Copy link
Contributor

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?

Copy link
Contributor Author

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.

sarenameas
sarenameas previously approved these changes Apr 3, 2020
dan4thewin
dan4thewin previously approved these changes Apr 3, 2020
@gordonwang0 gordonwang0 dismissed stale reviews from dan4thewin and sarenameas via 913462f April 3, 2020 22:44
@gordonwang0 gordonwang0 merged commit e8c20c9 into aws:master Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants