Leest de waarde van een sensor binnen een maakt deze beschikbaar via internet

Dependencies:   NTPClient_NetServices mbed

Committer:
hendrikvincent
Date:
Mon Dec 02 09:01:23 2013 +0000
Revision:
0:05ccbd4f84f1
eerste programma;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hendrikvincent 0:05ccbd4f84f1 1 /*
hendrikvincent 0:05ccbd4f84f1 2 * Copyright (c) 2001, Swedish Institute of Computer Science.
hendrikvincent 0:05ccbd4f84f1 3 * All rights reserved.
hendrikvincent 0:05ccbd4f84f1 4 *
hendrikvincent 0:05ccbd4f84f1 5 * Redistribution and use in source and binary forms, with or without
hendrikvincent 0:05ccbd4f84f1 6 * modification, are permitted provided that the following conditions
hendrikvincent 0:05ccbd4f84f1 7 * are met:
hendrikvincent 0:05ccbd4f84f1 8 * 1. Redistributions of source code must retain the above copyright
hendrikvincent 0:05ccbd4f84f1 9 * notice, this list of conditions and the following disclaimer.
hendrikvincent 0:05ccbd4f84f1 10 * 2. Redistributions in binary form must reproduce the above copyright
hendrikvincent 0:05ccbd4f84f1 11 * notice, this list of conditions and the following disclaimer in the
hendrikvincent 0:05ccbd4f84f1 12 * documentation and/or other materials provided with the distribution.
hendrikvincent 0:05ccbd4f84f1 13 * 3. Neither the name of the Institute nor the names of its contributors
hendrikvincent 0:05ccbd4f84f1 14 * may be used to endorse or promote products derived from this software
hendrikvincent 0:05ccbd4f84f1 15 * without specific prior written permission.
hendrikvincent 0:05ccbd4f84f1 16 *
hendrikvincent 0:05ccbd4f84f1 17 * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
hendrikvincent 0:05ccbd4f84f1 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
hendrikvincent 0:05ccbd4f84f1 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
hendrikvincent 0:05ccbd4f84f1 20 * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
hendrikvincent 0:05ccbd4f84f1 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
hendrikvincent 0:05ccbd4f84f1 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
hendrikvincent 0:05ccbd4f84f1 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
hendrikvincent 0:05ccbd4f84f1 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
hendrikvincent 0:05ccbd4f84f1 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
hendrikvincent 0:05ccbd4f84f1 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
hendrikvincent 0:05ccbd4f84f1 27 * SUCH DAMAGE.
hendrikvincent 0:05ccbd4f84f1 28 *
hendrikvincent 0:05ccbd4f84f1 29 * This file is part of the lwIP TCP/IP stack.
hendrikvincent 0:05ccbd4f84f1 30 *
hendrikvincent 0:05ccbd4f84f1 31 * Author: Adam Dunkels <adam@sics.se>
hendrikvincent 0:05ccbd4f84f1 32 *
hendrikvincent 0:05ccbd4f84f1 33 */
hendrikvincent 0:05ccbd4f84f1 34 #ifndef __NETIF_SLIPIF_H__
hendrikvincent 0:05ccbd4f84f1 35 #define __NETIF_SLIPIF_H__
hendrikvincent 0:05ccbd4f84f1 36
hendrikvincent 0:05ccbd4f84f1 37 #include "lwip/netif.h"
hendrikvincent 0:05ccbd4f84f1 38
hendrikvincent 0:05ccbd4f84f1 39 #ifdef __cplusplus
hendrikvincent 0:05ccbd4f84f1 40 extern "C" {
hendrikvincent 0:05ccbd4f84f1 41 #endif
hendrikvincent 0:05ccbd4f84f1 42
hendrikvincent 0:05ccbd4f84f1 43 err_t slipif_init(struct netif * netif);
hendrikvincent 0:05ccbd4f84f1 44 void slipif_poll(struct netif *netif);
hendrikvincent 0:05ccbd4f84f1 45
hendrikvincent 0:05ccbd4f84f1 46 #ifdef __cplusplus
hendrikvincent 0:05ccbd4f84f1 47 }
hendrikvincent 0:05ccbd4f84f1 48 #endif
hendrikvincent 0:05ccbd4f84f1 49
hendrikvincent 0:05ccbd4f84f1 50 #endif
hendrikvincent 0:05ccbd4f84f1 51