RealTimeCompLab2 / Mbed 2 deprecated webserverBlinky

Dependencies:   mbed

Fork of PPP-Blinky by Nicolas Nackel

Revision:
150:3366bf3d294e
Parent:
149:969d98f6fb88
Child:
152:025c73b6c0a9
diff -r 969d98f6fb88 -r 3366bf3d294e PPP-Blinky/ppp-blinky.cpp
--- a/PPP-Blinky/ppp-blinky.cpp	Wed Aug 30 16:13:34 2017 +0000
+++ b/PPP-Blinky/ppp-blinky.cpp	Wed Aug 30 16:34:51 2017 +0000
@@ -105,6 +105,7 @@
 </body>\
 </html>\r\n"; // size = 644 bytes plus 1 null byte = 645 bytes
 
+// this is websocket demo we serve when GET /ws is requested
 const static char webSocketPage[] = "\
 <!DOCTYPE html>\
 <html>\
@@ -214,7 +215,7 @@
 }
 
 /// returns 1 after a connect messasge, 0 at startup or after a disconnect message
-int connected()
+int connectedPpp()
 {
     return ppp.online;
 }