From 03d4230d3afbccc233ca8847cca37b65afa2c6a0 Mon Sep 17 00:00:00 2001
From: Ken Bannister <kb2ma@runbox.com>
Date: Mon, 31 Dec 2018 06:13:55 -0500
Subject: [PATCH] net/gcoap: specify range for token length

---
 sys/include/net/gcoap.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/include/net/gcoap.h b/sys/include/net/gcoap.h
index 22430d9afa..1059d656ce 100644
--- a/sys/include/net/gcoap.h
+++ b/sys/include/net/gcoap.h
@@ -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)
-- 
GitLab