1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

net/coap: reference RFC for configurability

This commit is contained in:
Ken Bannister 2018-12-30 10:32:08 -05:00
parent 663bb5bb3d
commit 5f8e993faf

View File

@ -164,6 +164,9 @@ extern "C" {
*/
/**
* @name Timing parameters
*
* These parameters are defined as configurable in [RFC 7252, section 4.8.1]
* (https://tools.ietf.org/html/rfc7252#section-4.8.1).
* @{
*/
/**
@ -192,6 +195,8 @@ extern "C" {
*
* Like @ref COAP_ACK_TIMEOUT, this value is valid for the initial confirmable
* message, and doubles for subsequent retries.
*
* This parameter is nanocoap-specific, and is not defined in RFC 7252.
*/
#ifndef COAP_ACK_VARIANCE
#define COAP_ACK_VARIANCE (1U)