Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MilkcocoaSample MilkcocoaSampleESP8266_LED MilkcocoaSampleESP8266 MilkcocoaSample_3G ... more
Diff: ESP8266InterfaceTiny/ESP8266Interface.cpp
- Revision:
- 0:23e533c4b1ec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ESP8266InterfaceTiny/ESP8266Interface.cpp Tue Dec 15 09:56:32 2015 +0000
@@ -0,0 +1,28 @@
+#include "ESP8266Interface.h"
+
+ESP8266Interface::ESP8266Interface( PinName tx, PinName rx, PinName reset,
+ const char * ssid, const char * phrase, uint32_t baud ) :
+ ESP8266(tx, rx, reset, ssid, phrase, baud )
+{
+}
+
+int ESP8266Interface::init()
+{
+ ESP8266::reset();
+ return 0;
+}
+
+bool ESP8266Interface::connect()
+{
+ return ESP8266::connect();
+}
+
+int ESP8266Interface::disconnect()
+{
+ return ESP8266::disconnect();
+}
+
+char * ESP8266Interface::getIPAddress()
+{
+ return ESP8266::getIPAddress();
+}
\ No newline at end of file
Milkcocoa