Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSoftSerial 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 18:38:02 by
