Lab2_web / Mbed 2 deprecated webserverBlinky

Dependencies:   mbed

Fork of webserverBlinky by RealTimeCompLab2

Revision:
153:7993def8663f
Parent:
152:025c73b6c0a9
Child:
154:18b2bd92f557
--- a/PPP-Blinky/ppp-blinky.cpp	Fri Sep 01 15:25:04 2017 +0000
+++ b/PPP-Blinky/ppp-blinky.cpp	Fri Sep 01 15:44:06 2017 +0000
@@ -1265,8 +1265,9 @@
     }
 }
 
-/// scan for a connect string ("CLIENT") from the host PC, if found, we set ppp.oline to true, which will the IP packet scanner
-void scanForConnectString()
+/// Wait for a dial-up modem connect command ("CLIENT") from the host PC, if found, we set ppp.online to true, which will start the IP packet scanner.
+// Note: a 0x7E in the input stream (ppp start of frame character) will also set ppp.online to true - see checkPc();
+void waitForPcConnectString()
 {
     while(ppp.online == 0) {
         checkPc(); // gather received characters