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

Embed: (wiki syntax)

« Back to documentation index

MeshInterface Class Reference

MeshInterface Class Reference

MeshInterface class. More...

#include <MeshInterface.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

MeshInterface class.

Common interface that is shared between mesh hardware

Definition at line 26 of file MeshInterface.h.


Member Function Documentation

virtual int connect (  ) [pure virtual]

Start the interface.

Returns:
0 on success, negative on failure
virtual int disconnect (  ) [pure virtual]

Stop the interface.

Returns:
0 on success, negative on failure
virtual const char* get_mac_address (  ) [pure virtual]

Get the local MAC address.

Returns:
Null-terminated representation of the local MAC address