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

« Back to documentation index

connector_network_receive_t Struct Reference

connector_network_receive_t Struct Reference
[Network Receive Request]

Read request structure for connector_request_id_network_receive callback which is called to receive a specified number of bytes data from 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 buffer
 Pointer to memory where callback writes received data to.
size_t CONST bytes_available
 Number of bytes available in the buffer.
size_t bytes_used
 Number of bytes received and copied to the buffer.

Detailed Description

Read request structure for connector_request_id_network_receive callback which is called to receive a specified number of bytes data from Device Cloud.

Definition at line 78 of file connector_api_network.h.


Field Documentation

void* CONST buffer

Pointer to memory where callback writes received data to.

Definition at line 80 of file connector_api_network.h.

size_t CONST bytes_available

Number of bytes available in the buffer.

Definition at line 81 of file connector_api_network.h.

size_t bytes_used

Number of bytes received and copied to the buffer.

Definition at line 82 of file connector_api_network.h.

Network handle associated with a connection through the connector_network_open callback.

Definition at line 79 of file connector_api_network.h.