Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Representation for CoAP client response data. More...
#include <zephyr/net/coap_client.h>
Data Fields | |
int16_t | result_code |
Result code of the response. | |
const struct coap_packet * | packet |
A pointer to the response CoAP packet. | |
size_t | offset |
Payload offset from the beginning of a blockwise transfer. | |
const uint8_t * | payload |
Buffer containing the payload from the response. | |
size_t | payload_len |
Size of the payload. | |
bool | last_block |
Indicates the last block of the response. |
Representation for CoAP client response data.
bool coap_client_response_data::last_block |
Indicates the last block of the response.
size_t coap_client_response_data::offset |
Payload offset from the beginning of a blockwise transfer.
const struct coap_packet* coap_client_response_data::packet |
A pointer to the response CoAP packet.
NULL for error result.
const uint8_t* coap_client_response_data::payload |
Buffer containing the payload from the response.
NULL for empty payload.
size_t coap_client_response_data::payload_len |
Size of the payload.
int16_t coap_client_response_data::result_code |
Result code of the response.
Negative if there was a failure in send. coap_response_code for positive.