lwip-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-commits] [SCM] UNNAMED PROJECT branch, ppp-new, updated. 4fda366b6


From: Sylvain Rochet
Subject: [lwip-commits] [SCM] UNNAMED PROJECT branch, ppp-new, updated. 4fda366b6744fd0b920a09edd55672e11ba07f17
Date: Tue, 30 Apr 2013 13:21:09 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, ppp-new has been updated
       via  4fda366b6744fd0b920a09edd55672e11ba07f17 (commit)
      from  2ceae6014e138eaa6799b856d9ed49e6d8416f84 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4fda366b6744fd0b920a09edd55672e11ba07f17
Author: Sylvain Rochet <address@hidden>
Date:   Tue Apr 30 15:16:09 2013 +0200

    PPP, added PPP notify phase support
    
    PPP notify phase support, using compile-time PPP_NOTIFY_PHASE macro.
    
    This can be used for example to set a LED pattern depending on the
    current phase of the PPP session.
    
    Callback example:
    
    static void ppp_notify_phase_cb(ppp_pcb *pcb, u8_t phase, void *ctx) {
      switch(phase) {
          case PPP_PHASE_DEAD:  /* Kept off */
          case PPP_PHASE_MASTER:
            /* LED Off */
            break;
          case PPP_PHASE_INITIALIZE:  /* Session opened */
            /* LED FastBlink */
            break;
          case PPP_PHASE_RUNNING:  /* Session running */
            /* LED On */
            break;
          default:
            /* LED SlowBlink */
       }
    }

-----------------------------------------------------------------------

Summary of changes:
 src/api/pppapi.c                 |   41 +++++++++++++++++-----
 src/include/lwip/pppapi.h        |   20 +++++++---
 src/include/netif/ppp/ppp.h      |   39 ++++++++++++++++++--
 src/include/netif/ppp/ppp_impl.h |   17 ---------
 src/netif/ppp/auth.c             |   32 ++++++++--------
 src/netif/ppp/lcp.c              |    4 +-
 src/netif/ppp/multilink.c        |    2 +-
 src/netif/ppp/ppp.c              |   71 +++++++++++++++++++++----------------
 8 files changed, 140 insertions(+), 86 deletions(-)


hooks/post-receive
-- 
UNNAMED PROJECT



reply via email to

[Prev in Thread] Current Thread [Next in Thread]