Sebastián Pastor / EtheriosCloudConnector
Embed: (wiki syntax)

« Back to documentation index

connector_sm_cli_response_t Struct Reference

connector_sm_cli_response_t Struct Reference
[connector_sm_cli_response_t]

This data structure is used when the callback is called to get the CLI response to Device Cloud. More...

#include <connector_api_short_message.h>

Data Fields

connector_transport_t CONST transport
 transport method used
void * user_context
 the user context passed during CLI request callback
char *CONST buffer
 buffer pointer to write the CLI response to
size_t CONST bytes_available
 total bytes available in buffer
size_t bytes_used
 bytes filled
connector_bool_t more_data
 more CLI response chunk to send

Detailed Description

This data structure is used when the callback is called to get the CLI response to Device Cloud.

The associated request ID for this data structure is connector_request_id_sm_cli_response.

See also:
connector_request_id_sm_cli_response

Definition at line 182 of file connector_api_short_message.h.


Field Documentation

char* CONST buffer

buffer pointer to write the CLI response to

Definition at line 187 of file connector_api_short_message.h.

size_t CONST bytes_available

total bytes available in buffer

Definition at line 188 of file connector_api_short_message.h.

size_t bytes_used

bytes filled

Definition at line 189 of file connector_api_short_message.h.

more CLI response chunk to send

Definition at line 190 of file connector_api_short_message.h.

transport method used

Definition at line 184 of file connector_api_short_message.h.

void* user_context

the user context passed during CLI request callback

Definition at line 185 of file connector_api_short_message.h.