ESP8266 / ESP8266NodeMCUInterface

Dependencies:   BufferedSerial

Dependents:   esp8266_nodeMCU1 esp8266_2_thingspeak1 Solarator_0-0-2 IoTBurglar_and_Fire_AlarmSystem ... more

Fork of ESP8266Interface by ESP8266

ESP8266Interface.cpp

Committer:
geky
Date:
2015-06-04
Revision:
45:3cfb7406d993
Parent:
44:16da10e7b3f7

File content as of revision 45:3cfb7406d993:

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