IoTivity-Lite
oc_client_response_t Struct Reference

Client response information. More...

#include <oc_client_state.h>

Data Fields

const uint8_t * _payload
 payload buffer More...
 
size_t _payload_len
 payload buffer length More...
 
void * client_cb
 callback for the response to the calling client More...
 
oc_status_t code
 status of the response More...
 
oc_content_format_t content_format
 content format of the payload More...
 
oc_endpoint_tendpoint
 endpoint describing the source of the response More...
 
oc_coap_etag_t etag
 ETag of the response. More...
 
int observe_option
 observe indication More...
 
oc_rep_t * payload
 response payload, interpreted as cbor More...
 
void * user_data
 user data to be supplied to the callback to the client More...
 

Detailed Description

Client response information.

Field Documentation

◆ _payload

const uint8_t* _payload

payload buffer

◆ _payload_len

size_t _payload_len

payload buffer length

◆ client_cb

void* client_cb

callback for the response to the calling client

◆ code

status of the response

◆ content_format

oc_content_format_t content_format

content format of the payload

◆ endpoint

oc_endpoint_t* endpoint

endpoint describing the source of the response

◆ etag

oc_coap_etag_t etag

ETag of the response.

◆ observe_option

int observe_option

observe indication

◆ payload

oc_rep_t* payload

response payload, interpreted as cbor

◆ user_data

void* user_data

user data to be supplied to the callback to the client


The documentation for this struct was generated from the following file: