now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

ESP8266Interface.cpp

Committer:
krbng4180
Date:
2016-03-14
Revision:
50:7c4a5bdcb624
Parent:
44:16da10e7b3f7

File content as of revision 50:7c4a5bdcb624:

#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();
}