Example of AWS IoT connection and Web Dashboard thru STM32 Nucleo evaluation board and mbed OS.
Dependencies: X_NUCLEO_IKS01A1 mbed FP MQTTPacket DnsQuery ATParser
EthernetInterface Class Reference
EthernetInterface class. More...
#include <EthernetInterface.h>
Public Member Functions | |
virtual int | connect ()=0 |
Start the interface. | |
virtual int | disconnect ()=0 |
Stop the interface. | |
virtual const char * | get_mac_address ()=0 |
Get the local MAC address. |
Detailed Description
EthernetInterface class.
Common interface that is shared between ethernet hardware.
Definition at line 26 of file EthernetInterface.h.
Member Function Documentation
virtual int connect | ( | ) | [pure virtual] |
Start the interface.
- Returns:
- 0 on success, negative error code on failure
virtual int disconnect | ( | ) | [pure virtual] |
Stop the interface.
- Returns:
- 0 on success, negative error code on failure
virtual const char* get_mac_address | ( | ) | [pure virtual] |
Get the local MAC address.
- Returns:
- Null-terminated representation of the local MAC address
Generated on Wed Jul 13 2022 20:28:49 by 1.7.2