net/gcoap: specify range for token length

This commit is contained in:
Ken Bannister 2018-12-31 06:13:55 -05:00
parent beae37cf18
commit 03d4230d3a

View File

@ -279,6 +279,8 @@ extern "C" {
/**
* @ingroup net_gcoap_conf
* @brief Length in bytes for a token
*
* Value must be in the range 0 to @ref GCOAP_TOKENLEN_MAX.
*/
#ifndef GCOAP_TOKENLEN
#define GCOAP_TOKENLEN (2)