now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

ESP8266Interface.cpp

Committer:
geky
Date:
2015-06-03
Revision:
44:16da10e7b3f7
Parent:
28:91e65e22e63a

File content as of revision 44:16da10e7b3f7:

#include "ESP8266Interface.h"

ESP8266Interface::ESP8266Interface(PinName tx, PinName rx, PinName reset, 
                                   int baud, int timeout) :
        ESP8266(tx, rx, reset, baud, timeout) {
}

bool ESP8266Interface::init() {
    return ESP8266::init();
}

bool ESP8266Interface::connect(const char * ssid, const char * phrase) {
    return ESP8266::connect(ssid, phrase);
}

int ESP8266Interface::disconnect() {
    return ESP8266::disconnect();
}

const char *ESP8266Interface::getIPAddress() {
    return ESP8266::getIPAddress();
}