now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ESP8266Interface.cpp Source File

ESP8266Interface.cpp

00001 #include "ESP8266Interface.h"
00002 
00003 ESP8266Interface::ESP8266Interface(PinName tx, PinName rx, PinName reset, 
00004                                    int baud, int timeout) :
00005         ESP8266(tx, rx, reset, baud, timeout) {
00006 }
00007 
00008 bool ESP8266Interface::init() {
00009     return ESP8266::init();
00010 }
00011 
00012 bool ESP8266Interface::connect(const char * ssid, const char * phrase) {
00013     return ESP8266::connect(ssid, phrase);
00014 }
00015 
00016 int ESP8266Interface::disconnect() {
00017     return ESP8266::disconnect();
00018 }
00019 
00020 const char *ESP8266Interface::getIPAddress() {
00021     return ESP8266::getIPAddress();
00022 }