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: mbed
Fork of PPP-Blinky by
Diff: PPP-Blinky/ppp-blinky.cpp
- 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; }