blabla
Fork of ESP8266Interface by
ESP8266Interface.cpp
- Committer:
- michaeljkoster
- Date:
- 2014-11-30
- Revision:
- 15:37a7a56a424f
- Parent:
- 14:4d1128f72e00
- Child:
- 16:3f0efaa57a12
File content as of revision 15:37a7a56a424f:
#include "ESP8266Interface.h" ESP8266Interface::ESP8266Interface( PinName tx, PinName rx, PinName reset, const char * ssid, const char * phrase ) : ESP8266(tx, rx, reset, ssid, phrase ) { } int ESP8266Interface::init() { ESP8266::reset(); return 0; } int ESP8266Interface::connect() { return ESP8266::join(); } int ESP8266Interface::disconnect() { return ESP8266::disconnect(); } char * ESP8266Interface::getIPAddress() { return ESP8266::getIPAddress(); }