this is fork and i will modify for STM32

Fork of AWS-test by Pierre-Marie Ancèle

Embed: (wiki syntax)

« Back to documentation index

Network Struct Reference

Network Struct Reference

Network Structure. More...

#include <network_interface.h>

Data Fields

IoT_Error_t(* read )(Network *, unsigned char *, size_t, TimerAWS *, size_t *)
 Function pointer pointing to the network function to read from the network.
IoT_Error_t(* write )(Network *, unsigned char *, size_t, TimerAWS *, 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 TLS 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

Network Structure.

Structure for defining a network connection.

Definition at line 65 of file network_interface.h.


Field Documentation

Function pointer pointing to the network function to destroy the network object.

Definition at line 72 of file network_interface.h.

Function pointer pointing to the network function to disconnect from the network.

Definition at line 70 of file network_interface.h.

Function pointer pointing to the network function to check if TLS is connected.

Definition at line 71 of file network_interface.h.

IoT_Error_t(* read)(Network *, unsigned char *, size_t, TimerAWS *, size_t *)

Function pointer pointing to the network function to read from the network.

Definition at line 68 of file network_interface.h.

TLSConnect params structure containing the common connection parameters.

Definition at line 74 of file network_interface.h.

TLSData params structure containing the connection data parameters that are specific to the library being used.

Definition at line 75 of file network_interface.h.

IoT_Error_t(* write)(Network *, unsigned char *, size_t, TimerAWS *, size_t *)

Function pointer pointing to the network function to write to the network.

Definition at line 69 of file network_interface.h.