websocket

Dependencies:   ESP8266Interface2 WebSocketClient mbed-dev mbed

Fork of ESP8266_WebSockets_HelloWorld by ESP8266

Files at this revision

API Documentation at this revision

Comitter:
blownelco
Date:
Mon Feb 06 08:25:01 2017 +0000
Parent:
14:4ee468971ae0
Commit message:
arne test

Changed in this revision

ESP8266Interface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-dev.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 4ee468971ae0 -r 5fa450d79491 ESP8266Interface.lib
--- a/ESP8266Interface.lib	Mon Jun 08 21:32:56 2015 +0000
+++ b/ESP8266Interface.lib	Mon Feb 06 08:25:01 2017 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/ESP8266/code/ESP8266Interface/#1f4dd0e91837
+https://developer.mbed.org/users/blownelco/code/ESP8266Interface2/#965a410f538d
diff -r 4ee468971ae0 -r 5fa450d79491 main.cpp
--- a/main.cpp	Mon Jun 08 21:32:56 2015 +0000
+++ b/main.cpp	Mon Feb 06 08:25:01 2017 +0000
@@ -6,7 +6,7 @@
 
 
 
-ESP8266Interface wifi(D1,D0,D10,"demossid","password",115200); // TX,RX,Reset,SSID,Password,Baud
+ESP8266Interface wifi(PTD3,PTD2,PTD11,"demossid","password",115200); // TX,RX,Reset,SSID,Password,Baud
  
 int main() {
     wifi.init(); //Reset
@@ -29,7 +29,7 @@
         
             // clear the buffer and wait a sec...
             memset(str, 0, 100);
-            wait(0.5f);
+            //wait(0.5f);
         
             // websocket server should echo whatever we sent it
             if (ws.read(str)) {
diff -r 4ee468971ae0 -r 5fa450d79491 mbed-dev.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-dev.lib	Mon Feb 06 08:25:01 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-dev/#5eaa88a5bcc7