1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/nanocoap_server: adapt to in-tree nanocoap

This commit is contained in:
Kaspar Schleiser 2017-11-22 12:28:30 +01:00
parent 16bdbe5d32
commit 729cda62bf
3 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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;

View File

@ -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"