-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
net/gcoap: add config macros to config doc group #10676
Conversation
Pushed fixups and new commit for retitle of documentation group. Looking for a response on comment about ordering of configurable macros. |
Avoids confusion with generic CoAP and capitalization retains order in documentation.
233fd61
to
beae37c
Compare
Squashed and running CI build. |
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.
Still found something, otherwise I'm fine now with the PR as is.
@@ -270,7 +277,8 @@ extern "C" { | |||
#define GCOAP_HEADER_MAXLEN (sizeof(coap_hdr_t) + GCOAP_TOKENLEN_MAX) | |||
|
|||
/** | |||
* @brief Length in bytes for a token; use 2 if not defined | |||
* @ingroup net_gcoap_conf | |||
* @brief Length in bytes for a token |
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.
Is this supposed to be in any relation to GCOAP_TOKENLEN_MAX
? If yes please document.
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.
Good catch. Documented in 03d4230.
documentation is generated accordingly and all GCOAP macros from #10566 are included 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.
ACK. @miri64 are you ok with this PR?
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.
Yep.
Let's go! :-) |
Contribution description
Adds a documentation group for the user configurable macros in gcoap, per #10566.
Also retitles the gcoap module in the source documentation from "CoAP" to "Gcoap" for clarity. We also have a Nanocoap module as well as a CoAP defines module. I plan to add a similar documentation group for the configurable macros in these other modules as well, which really triggered me to retitle here to avoid further confusion.
Testing procedure
Compile the documentation. You should see:
Issues/PRs references
Partially implements #10566