Simple IoT Board用のHTTP GETサンプルです。
Dependencies: SimpleIoTBoardLib mbed
Diff: ESP8266InterfaceTiny/ESP8266Interface.cpp
- Revision:
- 1:08ef13b0cb0e
- Parent:
- 0:0ae1235453b0
--- a/ESP8266InterfaceTiny/ESP8266Interface.cpp Sun Nov 15 13:29:46 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,28 +0,0 @@ -#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