AWS IoT Embedded C Device SDK
Data Fields
Network Struct Reference

Network Structure. More...

#include <network_interface.h>

Data Fields

IoT_Error_t(* connect )(Network *, TLSConnectParams *)
 
IoT_Error_t(* read )(Network *, unsigned char *, size_t, Timer *, size_t *)
 Function pointer pointing to the network function to read from the network.
 
IoT_Error_t(* write )(Network *, unsigned char *, size_t, Timer *, size_t *)
 Function pointer pointing to the network function to write to the network.
 
IoT_Error_t(* disconnect )(Network *)
 Function pointer pointing to the network function to disconnect from the network.
 
IoT_Error_t(* isConnected )(Network *)
 Function pointer pointing to the network function to check if physical layer is connected.
 
IoT_Error_t(* destroy )(Network *)
 Function pointer pointing to the network function to destroy the network object.
 
TLSConnectParams tlsConnectParams
 TLSConnect params structure containing the common connection parameters.
 
TLSDataParams tlsDataParams
 TLSData params structure containing the connection data parameters that are specific to the library being used.
 

Detailed Description

Structure for defining a network connection.