This is LWIPBP3595Interface class library. The base library is LWIPInterface.

Dependents:   LWIPBP3595Interface_STA

Embed: (wiki syntax)

« Back to documentation index

LWIPBP3595Interface Class Reference

LWIPBP3595Interface Class Reference

LWIPBP3595Interface class Implementation of the NetworkInterface for LWIP. More...

#include <LWIPBP3595Interface.h>

Public Member Functions

virtual int connect (const char *ssid, const char *pass, nsapi_security_t security=NSAPI_SECURITY_WPA2)
 Start the interface.
virtual const char * get_ip_address ()
 Get the internally stored IP address.
virtual const char * get_mac_address ()
 Get the internally stored MAC address.

Detailed Description

LWIPBP3595Interface class Implementation of the NetworkInterface for LWIP.

Definition at line 32 of file LWIPBP3595Interface.h.


Member Function Documentation

int connect ( const char *  ssid,
const char *  pass,
nsapi_security_t  security = NSAPI_SECURITY_WPA2 
) [virtual]

Start the interface.

Parameters:
ssidName of the network to connect to
passSecurity passphrase to connect to the network
securityType of encryption to connect with
Returns:
0 on success

Definition at line 198 of file LWIPBP3595Interface.cpp.

const char * get_ip_address (  ) [virtual]

Get the internally stored IP address.

Returns:
IP address of the interface or null if not yet connected

Definition at line 235 of file LWIPBP3595Interface.cpp.

const char * get_mac_address (  ) [virtual]

Get the internally stored MAC address.

Returns:
MAC address of the interface

Definition at line 240 of file LWIPBP3595Interface.cpp.