net/gcoap: specify range for token length
This commit is contained in:
parent
beae37cf18
commit
03d4230d3a
@ -279,6 +279,8 @@ extern "C" {
|
|||||||
/**
|
/**
|
||||||
* @ingroup net_gcoap_conf
|
* @ingroup net_gcoap_conf
|
||||||
* @brief Length in bytes for a token
|
* @brief Length in bytes for a token
|
||||||
|
*
|
||||||
|
* Value must be in the range 0 to @ref GCOAP_TOKENLEN_MAX.
|
||||||
*/
|
*/
|
||||||
#ifndef GCOAP_TOKENLEN
|
#ifndef GCOAP_TOKENLEN
|
||||||
#define GCOAP_TOKENLEN (2)
|
#define GCOAP_TOKENLEN (2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user