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

« Back to documentation index

connector_network_send_t Struct Reference

connector_network_send_t Struct Reference
[Network Send Data Structure]

Send data structure for connector_request_id_network_send callback which is called to send data to Device Cloud. More...

#include <connector_api_network.h>

Data Fields

connector_network_handle_t CONST handle
 Network handle associated with a connection through the connector_network_open callback.
void const *CONST buffer
 Pointer to data to be sent.
size_t CONST bytes_available
 Number of bytes to send in the buffer.
size_t bytes_used
 Number of bytes sent.

Detailed Description

Send data structure for connector_request_id_network_send callback which is called to send data to Device Cloud.

Definition at line 60 of file connector_api_network.h.


Field Documentation

void const* CONST buffer

Pointer to data to be sent.

Definition at line 62 of file connector_api_network.h.

size_t CONST bytes_available

Number of bytes to send in the buffer.

Definition at line 63 of file connector_api_network.h.

size_t bytes_used

Number of bytes sent.

Definition at line 64 of file connector_api_network.h.

Network handle associated with a connection through the connector_network_open callback.

Definition at line 61 of file connector_api_network.h.