mirror of
https://github.com/obgm/libcoap.git
synced 2026-12-02 10:57:08 +03:00
examples/contiki/coap-observer.c: Use COAP_OPTION_OBSERVE
As it is Observe that we are talking about here.
This commit is contained in:
1 parent
80cae52441
commit
849deb2610
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user