Skip to content
Snippets Groups Projects
Commit b4f8b7a1 authored by Ken Bannister's avatar Ken Bannister
Browse files

net/nanocoap: add debug message for server

parent 4e5de1b7
No related branches found
No related tags found
No related merge requests found
...@@ -145,6 +145,9 @@ int nanocoap_server(sock_udp_ep_t *local, uint8_t *buf, size_t bufsize) ...@@ -145,6 +145,9 @@ int nanocoap_server(sock_udp_ep_t *local, uint8_t *buf, size_t bufsize)
if ((res = coap_handle_req(&pkt, buf, bufsize)) > 0) { if ((res = coap_handle_req(&pkt, buf, bufsize)) > 0) {
res = sock_udp_send(&sock, buf, res, &remote); res = sock_udp_send(&sock, buf, res, &remote);
} }
else {
DEBUG("error handling request %d\n", (int)res);
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment