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 lenght 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 on where the response has been received 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 lenght

◆ 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 on where the response has been received

◆ 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: