ProjetoBB

Dependencies:   F7_Ethernet WebSocketClient mbed mcp3008

Fork of Nucleo_F746ZG_Ethernet by Dieter Graef

Committer:
DieterGraef
Date:
Sat Jun 18 10:49:12 2016 +0000
Revision:
0:f9b6112278fe
Ethernet for the NUCLEO STM32F746 Board Testprogram uses DHCP and NTP to set the clock

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DieterGraef 0:f9b6112278fe 1 /*****************************************************************************
DieterGraef 0:f9b6112278fe 2 * pppdebug.h - System debugging utilities.
DieterGraef 0:f9b6112278fe 3 *
DieterGraef 0:f9b6112278fe 4 * Copyright (c) 2003 by Marc Boucher, Services Informatiques (MBSI) inc.
DieterGraef 0:f9b6112278fe 5 * portions Copyright (c) 1998 Global Election Systems Inc.
DieterGraef 0:f9b6112278fe 6 * portions Copyright (c) 2001 by Cognizant Pty Ltd.
DieterGraef 0:f9b6112278fe 7 *
DieterGraef 0:f9b6112278fe 8 * The authors hereby grant permission to use, copy, modify, distribute,
DieterGraef 0:f9b6112278fe 9 * and license this software and its documentation for any purpose, provided
DieterGraef 0:f9b6112278fe 10 * that existing copyright notices are retained in all copies and that this
DieterGraef 0:f9b6112278fe 11 * notice and the following disclaimer are included verbatim in any
DieterGraef 0:f9b6112278fe 12 * distributions. No written agreement, license, or royalty fee is required
DieterGraef 0:f9b6112278fe 13 * for any of the authorized uses.
DieterGraef 0:f9b6112278fe 14 *
DieterGraef 0:f9b6112278fe 15 * THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS *AS IS* AND ANY EXPRESS OR
DieterGraef 0:f9b6112278fe 16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
DieterGraef 0:f9b6112278fe 17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
DieterGraef 0:f9b6112278fe 18 * IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
DieterGraef 0:f9b6112278fe 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
DieterGraef 0:f9b6112278fe 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DieterGraef 0:f9b6112278fe 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
DieterGraef 0:f9b6112278fe 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
DieterGraef 0:f9b6112278fe 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
DieterGraef 0:f9b6112278fe 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
DieterGraef 0:f9b6112278fe 25 *
DieterGraef 0:f9b6112278fe 26 ******************************************************************************
DieterGraef 0:f9b6112278fe 27 * REVISION HISTORY (please don't use tabs!)
DieterGraef 0:f9b6112278fe 28 *
DieterGraef 0:f9b6112278fe 29 * 03-01-01 Marc Boucher <marc@mbsi.ca>
DieterGraef 0:f9b6112278fe 30 * Ported to lwIP.
DieterGraef 0:f9b6112278fe 31 * 98-07-29 Guy Lancaster <lancasterg@acm.org>, Global Election Systems Inc.
DieterGraef 0:f9b6112278fe 32 * Original.
DieterGraef 0:f9b6112278fe 33 *
DieterGraef 0:f9b6112278fe 34 *****************************************************************************
DieterGraef 0:f9b6112278fe 35 */
DieterGraef 0:f9b6112278fe 36 #ifndef PPPDEBUG_H
DieterGraef 0:f9b6112278fe 37 #define PPPDEBUG_H
DieterGraef 0:f9b6112278fe 38
DieterGraef 0:f9b6112278fe 39 /* Trace levels. */
DieterGraef 0:f9b6112278fe 40 #define LOG_CRITICAL (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
DieterGraef 0:f9b6112278fe 41 #define LOG_ERR (PPP_DEBUG | LWIP_DBG_LEVEL_SEVERE)
DieterGraef 0:f9b6112278fe 42 #define LOG_NOTICE (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
DieterGraef 0:f9b6112278fe 43 #define LOG_WARNING (PPP_DEBUG | LWIP_DBG_LEVEL_WARNING)
DieterGraef 0:f9b6112278fe 44 #define LOG_INFO (PPP_DEBUG)
DieterGraef 0:f9b6112278fe 45 #define LOG_DETAIL (PPP_DEBUG)
DieterGraef 0:f9b6112278fe 46 #define LOG_DEBUG (PPP_DEBUG)
DieterGraef 0:f9b6112278fe 47
DieterGraef 0:f9b6112278fe 48
DieterGraef 0:f9b6112278fe 49 #define TRACELCP PPP_DEBUG
DieterGraef 0:f9b6112278fe 50
DieterGraef 0:f9b6112278fe 51 #if PPP_DEBUG
DieterGraef 0:f9b6112278fe 52
DieterGraef 0:f9b6112278fe 53 #define AUTHDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 54 #define IPCPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 55 #define UPAPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 56 #define LCPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 57 #define FSMDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 58 #define CHAPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 59 #define PPPDEBUG(a, b) LWIP_DEBUGF(a, b)
DieterGraef 0:f9b6112278fe 60
DieterGraef 0:f9b6112278fe 61 #else /* PPP_DEBUG */
DieterGraef 0:f9b6112278fe 62
DieterGraef 0:f9b6112278fe 63 #define AUTHDEBUG(a, b)
DieterGraef 0:f9b6112278fe 64 #define IPCPDEBUG(a, b)
DieterGraef 0:f9b6112278fe 65 #define UPAPDEBUG(a, b)
DieterGraef 0:f9b6112278fe 66 #define LCPDEBUG(a, b)
DieterGraef 0:f9b6112278fe 67 #define FSMDEBUG(a, b)
DieterGraef 0:f9b6112278fe 68 #define CHAPDEBUG(a, b)
DieterGraef 0:f9b6112278fe 69 #define PPPDEBUG(a, b)
DieterGraef 0:f9b6112278fe 70
DieterGraef 0:f9b6112278fe 71 #endif /* PPP_DEBUG */
DieterGraef 0:f9b6112278fe 72
DieterGraef 0:f9b6112278fe 73 #endif /* PPPDEBUG_H */