Moved status code API from REST engine to main coap implementation.
This commit is contained in:
parent
a4589ee9da
commit
f23e86f589
5 changed files with 35 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue