examples/contiki/coap-observer.c: Use COAP_OPTION_OBSERVE

As it is Observe that we are talking about here.
This commit is contained in:
Jon Shallow committed 2018-04-04 16:46:04 +01:00
1 parent 80cae52441
commit 849deb2610
1 file changed
+1 -1
+1 -1
View File
@@ -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);