Skip to content
Snippets Groups Projects
Commit 729cda62 authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

examples/nanocoap_server: adapt to in-tree nanocoap

parent 16bdbe5d
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,7 @@ USEMODULE += gnrc_sock_udp
# Additional networking modules that can be dropped if not needed
USEMODULE += gnrc_icmpv6_echo
USEPKG += nanocoap
# optionally enable nanocoap's debug output
#CFLAGS += -DNANOCOAP_DEBUG
USEMODULE += nanocoap_sock
# include this for nicely formatting the returned internal value
USEMODULE += fmt
......
......@@ -11,7 +11,7 @@
#include <string.h>
#include "fmt.h"
#include "nanocoap.h"
#include "net/nanocoap.h"
/* internal value that can be read/written via CoAP */
static uint8_t internal_value = 0;
......
......@@ -19,8 +19,8 @@
#include <stdio.h>
#include "nanocoap.h"
#include "nanocoap_sock.h"
#include "net/nanocoap.h"
#include "net/nanocoap_sock.h"
#include "xtimer.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment