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.
Diff: if/ppp/PPPNetIf.cpp
- Revision:
- 1:3ee499525aa5
- Parent:
- 0:e614f7875b60
--- a/if/ppp/PPPNetIf.cpp	Sat Jun 12 06:01:50 2010 +0000
+++ b/if/ppp/PPPNetIf.cpp	Mon Jun 14 03:24:33 2010 +0000
@@ -79,14 +79,14 @@
   if(gprsErr)
     return PPP_NETWORK;
     
-  DBG("\r\nPPPNetIf: If Connected.\r\n");
+  DBG("If Connected.\r\n");
 
   if( userId == NULL )
     pppSetAuth(PPPAUTHTYPE_NONE, NULL, NULL);
   else
     pppSetAuth(PPPAUTHTYPE_PAP, userId, password); //TODO: Allow CHAP as well
     
-  DBG("\r\nPPPNetIf: Set Auth.\r\n");
+  DBG("Set Auth.\r\n");
   
   m_pIf->flushBuffer(); //Flush buffer before passing serial port to PPP
     
@@ -98,7 +98,7 @@
     return PPP_PROTOCOL;
   }
   
-  DBG("\r\nPPPNetIf: PPP Started with res = %d.\r\n", res);
+  DBG("PPP Started with res = %d.\r\n", res);
   
   m_fd = res;
   m_connected = true;
@@ -109,13 +109,13 @@
     poll();
     if(t.read_ms()>PPP_TIMEOUT)
     {
-      DBG("\r\nPPPNetIf: Timeout.\r\n");  
+      DBG("Timeout.\r\n");  
       disconnect();
       return PPP_PROTOCOL;
     }
   }
   
-  DBG("\r\nPPPNetIf: Callback returned.\r\n");
+  DBG("Callback returned.\r\n");
   
   if( m_status == PPP_DISCONNECTED )
   {
@@ -194,7 +194,7 @@
 //Link Callback
 void PPPNetIf::pppCallback(int errCode, void *arg)
 {
-  //DBG("\r\nPPPNetIf: Callback errCode = %d.\r\n", errCode);
+  //DBG("Callback errCode = %d.\r\n", errCode);
   switch ( errCode )
   {
     //No error