now this shit works

Dependencies:   BufferedSerial

Dependents:   IoTWeatherStation

Fork of ESP8266NodeMCUInterface by ESP8266

Committer:
krbng4180
Date:
Mon Mar 14 02:40:12 2016 +0000
Revision:
50:7c4a5bdcb624
Parent:
44:16da10e7b3f7
publishing;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
michaeljkoster 13:41098c907200 1 #include "ESP8266Interface.h"
samux 1:fb4494783863 2
geky 44:16da10e7b3f7 3 ESP8266Interface::ESP8266Interface(PinName tx, PinName rx, PinName reset,
geky 44:16da10e7b3f7 4 int baud, int timeout) :
geky 44:16da10e7b3f7 5 ESP8266(tx, rx, reset, baud, timeout) {
samux 1:fb4494783863 6 }
samux 1:fb4494783863 7
geky 44:16da10e7b3f7 8 bool ESP8266Interface::init() {
geky 44:16da10e7b3f7 9 return ESP8266::init();
samux 1:fb4494783863 10 }
samux 1:fb4494783863 11
geky 44:16da10e7b3f7 12 bool ESP8266Interface::connect(const char * ssid, const char * phrase) {
geky 44:16da10e7b3f7 13 return ESP8266::connect(ssid, phrase);
samux 1:fb4494783863 14 }
samux 1:fb4494783863 15
geky 44:16da10e7b3f7 16 int ESP8266Interface::disconnect() {
michaeljkoster 13:41098c907200 17 return ESP8266::disconnect();
samux 1:fb4494783863 18 }
samux 1:fb4494783863 19
geky 44:16da10e7b3f7 20 const char *ESP8266Interface::getIPAddress() {
michaeljkoster 14:4d1128f72e00 21 return ESP8266::getIPAddress();
samux 1:fb4494783863 22 }