Demo application for using the AT&T IoT Starter Kit Powered by AWS.
Dependencies: SDFileSystem
Fork of ATT_AWS_IoT_demo by
Network Struct Reference
#include <network_interface.h>
Data Fields | |
int | my_socket |
Integer holding the socket file descriptor. | |
int(* | mqttread )(Network *, unsigned char *, int, int) |
Function pointer pointing to the network function to read from the network. | |
int(* | mqttwrite )(Network *, unsigned char *, int, int) |
Function pointer pointing to the network function to write to the network. | |
void(* | disconnect )(Network *) |
Function pointer pointing to the network function to disconnect from the network. | |
int(* | isConnected )(Network *) |
Function pointer pointing to the network function to check if physical layer is connected. | |
int(* | destroy )(Network *) |
Function pointer pointing to the network function to destroy the network object. |
Detailed Description
Network Structure.
Structure for defining a network connection.
Definition at line 86 of file network_interface.h.
Field Documentation
Function pointer pointing to the network function to destroy the network object.
Definition at line 93 of file network_interface.h.
void(* disconnect)(Network *) |
Function pointer pointing to the network function to disconnect from the network.
Definition at line 91 of file network_interface.h.
int(* isConnected)(Network *) |
Function pointer pointing to the network function to check if physical layer is connected.
Definition at line 92 of file network_interface.h.
Function pointer pointing to the network function to read from the network.
Definition at line 89 of file network_interface.h.
Function pointer pointing to the network function to write to the network.
Definition at line 90 of file network_interface.h.
int my_socket |
Integer holding the socket file descriptor.
Definition at line 87 of file network_interface.h.
Generated on Tue Jul 12 2022 22:13:21 by 1.7.2