mbeduino + Weatherduino Weather Stations post test

Dependencies:   mbed

Committer:
okini3939
Date:
Tue Oct 26 17:19:28 2010 +0000
Revision:
0:10bcaa7c2253

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
okini3939 0:10bcaa7c2253 1 /*
okini3939 0:10bcaa7c2253 2 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
okini3939 0:10bcaa7c2253 3 * All rights reserved.
okini3939 0:10bcaa7c2253 4 *
okini3939 0:10bcaa7c2253 5 * Redistribution and use in source and binary forms, with or without modification,
okini3939 0:10bcaa7c2253 6 * are permitted provided that the following conditions are met:
okini3939 0:10bcaa7c2253 7 *
okini3939 0:10bcaa7c2253 8 * 1. Redistributions of source code must retain the above copyright notice,
okini3939 0:10bcaa7c2253 9 * this list of conditions and the following disclaimer.
okini3939 0:10bcaa7c2253 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
okini3939 0:10bcaa7c2253 11 * this list of conditions and the following disclaimer in the documentation
okini3939 0:10bcaa7c2253 12 * and/or other materials provided with the distribution.
okini3939 0:10bcaa7c2253 13 * 3. The name of the author may not be used to endorse or promote products
okini3939 0:10bcaa7c2253 14 * derived from this software without specific prior written permission.
okini3939 0:10bcaa7c2253 15 *
okini3939 0:10bcaa7c2253 16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
okini3939 0:10bcaa7c2253 17 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
okini3939 0:10bcaa7c2253 18 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
okini3939 0:10bcaa7c2253 19 * SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
okini3939 0:10bcaa7c2253 20 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
okini3939 0:10bcaa7c2253 21 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
okini3939 0:10bcaa7c2253 22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
okini3939 0:10bcaa7c2253 23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
okini3939 0:10bcaa7c2253 24 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
okini3939 0:10bcaa7c2253 25 * OF SUCH DAMAGE.
okini3939 0:10bcaa7c2253 26 *
okini3939 0:10bcaa7c2253 27 * This file is part of the lwIP TCP/IP stack.
okini3939 0:10bcaa7c2253 28 *
okini3939 0:10bcaa7c2253 29 * Author: Adam Dunkels <adam@sics.se>
okini3939 0:10bcaa7c2253 30 *
okini3939 0:10bcaa7c2253 31 */
okini3939 0:10bcaa7c2253 32 #ifndef __LWIP_INIT_H__
okini3939 0:10bcaa7c2253 33 #define __LWIP_INIT_H__
okini3939 0:10bcaa7c2253 34
okini3939 0:10bcaa7c2253 35 #include "lwip/opt.h"
okini3939 0:10bcaa7c2253 36
okini3939 0:10bcaa7c2253 37 #ifdef __cplusplus
okini3939 0:10bcaa7c2253 38 extern "C" {
okini3939 0:10bcaa7c2253 39 #endif
okini3939 0:10bcaa7c2253 40
okini3939 0:10bcaa7c2253 41 /** X.x.x: Major version of the stack */
okini3939 0:10bcaa7c2253 42 #define LWIP_VERSION_MAJOR 1U
okini3939 0:10bcaa7c2253 43 /** x.X.x: Minor version of the stack */
okini3939 0:10bcaa7c2253 44 #define LWIP_VERSION_MINOR 4U
okini3939 0:10bcaa7c2253 45 /** x.x.X: Revision of the stack */
okini3939 0:10bcaa7c2253 46 #define LWIP_VERSION_REVISION 0U
okini3939 0:10bcaa7c2253 47 /** For release candidates, this is set to 1..254
okini3939 0:10bcaa7c2253 48 * For official releases, this is set to 255 (LWIP_RC_RELEASE)
okini3939 0:10bcaa7c2253 49 * For development versions (CVS), this is set to 0 (LWIP_RC_DEVELOPMENT) */
okini3939 0:10bcaa7c2253 50 #define LWIP_VERSION_RC 1U
okini3939 0:10bcaa7c2253 51
okini3939 0:10bcaa7c2253 52 /** LWIP_VERSION_RC is set to LWIP_RC_RELEASE for official releases */
okini3939 0:10bcaa7c2253 53 #define LWIP_RC_RELEASE 255U
okini3939 0:10bcaa7c2253 54 /** LWIP_VERSION_RC is set to LWIP_RC_DEVELOPMENT for CVS versions */
okini3939 0:10bcaa7c2253 55 #define LWIP_RC_DEVELOPMENT 0U
okini3939 0:10bcaa7c2253 56
okini3939 0:10bcaa7c2253 57 #define LWIP_VERSION_IS_RELEASE (LWIP_VERSION_RC == LWIP_RC_RELEASE)
okini3939 0:10bcaa7c2253 58 #define LWIP_VERSION_IS_DEVELOPMENT (LWIP_VERSION_RC == LWIP_RC_DEVELOPMENT)
okini3939 0:10bcaa7c2253 59 #define LWIP_VERSION_IS_RC ((LWIP_VERSION_RC != LWIP_RC_RELEASE) && (LWIP_VERSION_RC != LWIP_RC_DEVELOPMENT))
okini3939 0:10bcaa7c2253 60
okini3939 0:10bcaa7c2253 61 /** Provides the version of the stack */
okini3939 0:10bcaa7c2253 62 #define LWIP_VERSION (LWIP_VERSION_MAJOR << 24 | LWIP_VERSION_MINOR << 16 | \
okini3939 0:10bcaa7c2253 63 LWIP_VERSION_REVISION << 8 | LWIP_VERSION_RC)
okini3939 0:10bcaa7c2253 64
okini3939 0:10bcaa7c2253 65 /* Modules initialization */
okini3939 0:10bcaa7c2253 66 void lwip_init(void);
okini3939 0:10bcaa7c2253 67
okini3939 0:10bcaa7c2253 68 #ifdef __cplusplus
okini3939 0:10bcaa7c2253 69 }
okini3939 0:10bcaa7c2253 70 #endif
okini3939 0:10bcaa7c2253 71
okini3939 0:10bcaa7c2253 72 #endif /* __LWIP_INIT_H__ */