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.
Dependencies: BufferedSerial
Dependents: esp8266_nodeMCU1 esp8266_2_thingspeak1 Solarator_0-0-2 IoTBurglar_and_Fire_AlarmSystem ... more
Fork of ESP8266Interface by
ESP8266Interface.cpp@47:04632d22a723, 2015-06-04 (annotated)
- Committer:
- geky
- Date:
- Thu Jun 04 20:18:39 2015 +0000
- Revision:
- 47:04632d22a723
- Parent:
- 44:16da10e7b3f7
Merged rev 46/45
Who changed what in which revision?
| User | Revision | Line number | New 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 | } |

Adafruit Huzzah