Merge pull request #10845 from kb2ma/nanocoap/server_debug_msg
net/nanocoap: add debug message for server
This commit is contained in:
commit
7e77ac7ace
@ -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) {
|
||||
res = sock_udp_send(&sock, buf, res, &remote);
|
||||
}
|
||||
else {
|
||||
DEBUG("error handling request %d\n", (int)res);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user