Lab2_web / Mbed 2 deprecated webserverBlinky

Dependencies:   mbed

Fork of webserverBlinky by RealTimeCompLab2

main.cpp

Committer:
nixnax
Date:
2017-08-30
Revision:
147:0f40005cbc5f
Parent:
144:01d98cf7738e
Child:
150:3366bf3d294e

File content as of revision 147:0f40005cbc5f:

/** @file ppp-blinky.cpp */
#include "mbed.h"
#include "ppp-blinky.h"

// PPP-Blinky - "The Most Basic Internet Of A Thing"

int main()
{
    initializePpp(); // initialize the serial port(s) and structures
    while(1) {
        scanForConnectString(); // wait for PC to send a connect message
        while( connected() ) {
            waitForPppFrame(); // process PPP frames until we receive a disconnect command
        }
    } 
}