mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-01 10:37:08 +03:00
doxygen: fix warnings
This commit is contained in:
1 parent
b0df27f17c
commit
a8306bbb15
3 files changed
+6
-4
No files matched your search
@@ -3,7 +3,7 @@
|
||||
* of use.
|
||||
*/
|
||||
|
||||
/** Memory pool definitions for the libcoap when used with lwIP (which has its
|
||||
/* Memory pool definitions for the libcoap when used with lwIP (which has its
|
||||
* own mechanism for quickly allocating chunks of data with known sizes). Has
|
||||
* to be findable by lwIP (ie. an #include <lwippools.h> must either directly
|
||||
* include this or include something more generic which includes this), and
|
||||
|
||||
@@ -1805,6 +1805,7 @@ enum respond_t { RESPONSE_DEFAULT, RESPONSE_DROP, RESPONSE_SEND };
|
||||
* The value of the No-Response option is encoded as
|
||||
* follows:
|
||||
*
|
||||
* @code
|
||||
* +-------+-----------------------+-----------------------------------+
|
||||
* | Value | Binary Representation | Description |
|
||||
* +-------+-----------------------+-----------------------------------+
|
||||
@@ -1816,6 +1817,7 @@ enum respond_t { RESPONSE_DEFAULT, RESPONSE_DROP, RESPONSE_SEND };
|
||||
* +-------+-----------------------+-----------------------------------+
|
||||
* | 16 | 00010000 | Not interested in 5.xx responses. |
|
||||
* +-------+-----------------------+-----------------------------------+
|
||||
* @endcode
|
||||
*
|
||||
* @param request The CoAP request to check for the No-Response option.
|
||||
* This parameter must not be NULL.
|
||||
@@ -2151,7 +2153,7 @@ coap_dispatch(coap_context_t *context, coap_session_t *session,
|
||||
#ifndef INET6_ADDRSTRLEN
|
||||
#define INET6_ADDRSTRLEN 40
|
||||
#endif
|
||||
/** @FIXME get debug to work again **
|
||||
/* FIXME: get debug to work again **
|
||||
unsigned char addr[INET6_ADDRSTRLEN+8], localaddr[INET6_ADDRSTRLEN+8];
|
||||
if (coap_print_addr(remote, addr, INET6_ADDRSTRLEN+8) &&
|
||||
coap_print_addr(&packet->dst, localaddr, INET6_ADDRSTRLEN+8) )
|
||||
|
||||
@@ -224,7 +224,7 @@ coap_add_token(coap_pdu_t *pdu, size_t len, const uint8_t *data) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/** @FIXME de-duplicate code with coap_add_option_later */
|
||||
/* FIXME: de-duplicate code with coap_add_option_later */
|
||||
size_t
|
||||
coap_add_option(coap_pdu_t *pdu, uint16_t type, size_t len, const uint8_t *data) {
|
||||
size_t optsize;
|
||||
@@ -260,7 +260,7 @@ coap_add_option(coap_pdu_t *pdu, uint16_t type, size_t len, const uint8_t *data)
|
||||
return optsize;
|
||||
}
|
||||
|
||||
/** @FIXME de-duplicate code with coap_add_option */
|
||||
/* FIXME: de-duplicate code with coap_add_option */
|
||||
uint8_t*
|
||||
coap_add_option_later(coap_pdu_t *pdu, uint16_t type, size_t len) {
|
||||
size_t optsize;
|
||||
|
||||
Reference in new issue
Block a user