From 849deb26106d999112008f76983bafa325c0bcb6 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Fri, 9 Mar 2018 17:35:22 +0000 Subject: [PATCH] examples/contiki/coap-observer.c: Use COAP_OPTION_OBSERVE As it is Observe that we are talking about here. --- examples/contiki/coap-observer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/contiki/coap-observer.c b/examples/contiki/coap-observer.c index b399f84c..12115dac 100644 --- a/examples/contiki/coap-observer.c +++ b/examples/contiki/coap-observer.c @@ -162,7 +162,7 @@ PROCESS_THREAD(coap_server_process, ev, data) } } - coap_add_option(request, COAP_OPTION_SUBSCRIPTION, 0, NULL); + coap_add_option(request, COAP_OPTION_OBSERVE, 0, NULL); { unsigned char buf[2]; prng(buf, 2);