We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d81485e + 075636f commit 9ed719fCopy full SHA for 9ed719f
os/net/app-layer/coap/coap-conf.h
@@ -105,5 +105,12 @@
105
#define COAP_OBSERVE_REFRESH_INTERVAL 20
106
#endif /* COAP_OBSERVE_REFRESH_INTERVAL */
107
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
+
115
#endif /* COAP_CONF_H_ */
116
/** @} */
os/net/app-layer/coap/coap-observe.h
@@ -48,8 +48,6 @@
48
#include "coap-transactions.h"
49
#include "coap-engine.h"
50
51
-#define COAP_OBSERVER_URL_LEN 20
52
-
53
typedef struct coap_observer {
54
struct coap_observer *next; /* for LIST */
55
0 commit comments