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.
Fork of ESP8266Interface by
Diff: ESP8266/ESP8266.cpp
- Revision:
- 23:de9221771e96
- Parent:
- 22:c4360e61486a
- Child:
- 24:03585a13ff3b
diff -r c4360e61486a -r de9221771e96 ESP8266/ESP8266.cpp --- a/ESP8266/ESP8266.cpp Tue Dec 02 16:02:21 2014 +0000 +++ b/ESP8266/ESP8266.cpp Mon Dec 08 00:53:07 2014 +0000 @@ -73,6 +73,7 @@ bool ESP8266::join() { + sendCommand( "AT+CWMODE=1", "change", NULL, 1000); string cmd="AT+CWJAP=\""+(string)this->ssid+"\",\""+(string)this->phrase+"\""; if( sendCommand( cmd.c_str(), "OK", NULL, 10000) ){ // successfully joined the network