-
Couldn't load subscription status.
- Fork 642
Fix doxygen warnings in MQTT Library documentation #1122
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 warnings in MQTT Library documentation #1122
Conversation
Add documentation to mqtt_lightweight.c Add all words to the lexicon.txt
Codecov Report
@@ Coverage Diff @@
## development #1122 +/- ##
===============================================
+ Coverage 96.54% 98.85% +2.30%
===============================================
Files 9 4 -5
Lines 5643 1309 -4334
Branches 641 393 -248
===============================================
- Hits 5448 1294 -4154
+ Misses 9 0 -9
+ Partials 186 15 -171
Continue to review full report at Codecov.
|
| typedef void (* MQTTEventCallback_t )( MQTTContext_t * pContext, | ||
| MQTTPacketInfo_t * pPacketInfo, | ||
| MQTTDeserializedInfo_t * pDeserializedInfo ); | ||
| typedef void (* MQTTEventCallback_t )( struct MQTTContext * pContext, |
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 are no misra issues or compiler warnings with this change.
| */ | ||
| #define MQTT_PUBLISH_ACK_PACKET_SIZE ( 4UL ) | ||
|
|
||
| struct MQTTFixedBuffer; |
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.
Doxygen does not easily support forward declarations like this, so i changed to our original style of typedef struct mystruct {} mystruct_t;
| static size_t getRemainingLength( TransportRecv_t recvFunc, | ||
| NetworkContext_t * pNetworkContext ); | ||
|
|
||
| /** |
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.
Most of this is copied from the v4_beta docs with updates for new parameters and return code names.
3a31641
Ignore private functions in mqtt_state.h and .c
Ignore private functions in mqtt_state.h and .c
Ignore private functions in mqtt_state.h and .c
Ignore private functions in mqtt_state.h and .c
Doxygen configs and other infrastructure is to be in a separate PR.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.