Hi. This is the feed program for Cosm. (The previous name of the services is Pachube.)

Dependencies:   mbed ThermistorPack Pachube ConfigFile EthernetNetIf TextLCD HTTPClient_ToBeRemoved FatFileSystem SDFileSystem

Committer:
shintamainjp
Date:
Mon Aug 06 12:37:59 2012 +0000
Revision:
0:521ba375aa0f
Pachube renamed to Cosm.

Who changed what in which revision?

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