Moved status code API from REST engine to main coap implementation.

This commit is contained in:
Matthias Kovatsch 2012-01-30 01:28:43 +01:00
parent a4589ee9da
commit f23e86f589
5 changed files with 35 additions and 16 deletions

View file

@ -100,6 +100,7 @@ void
client_chunk_handler(void *response)
{
uint8_t *chunk;
int len = coap_get_payload(response, &chunk);
printf("|%.*s", len, (char *)chunk);
}