Skip to content

Commit 9ed719f

Browse files
authored
Merge branch 'develop' into feature/ds6-maintenance-timer
2 parents d81485e + 075636f commit 9ed719f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

os/net/app-layer/coap/coap-conf.h

+7
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,12 @@
105105
#define COAP_OBSERVE_REFRESH_INTERVAL 20
106106
#endif /* COAP_OBSERVE_REFRESH_INTERVAL */
107107

108+
/* Maximal length of observable URL */
109+
#ifdef COAP_CONF_OBSERVER_URL_LEN
110+
#define COAP_OBSERVER_URL_LEN COAP_CONF_OBSERVER_URL_LEN
111+
#else
112+
#define COAP_OBSERVER_URL_LEN 20
113+
#endif
114+
108115
#endif /* COAP_CONF_H_ */
109116
/** @} */

os/net/app-layer/coap/coap-observe.h

-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@
4848
#include "coap-transactions.h"
4949
#include "coap-engine.h"
5050

51-
#define COAP_OBSERVER_URL_LEN 20
52-
5351
typedef struct coap_observer {
5452
struct coap_observer *next; /* for LIST */
5553

0 commit comments

Comments
 (0)