mbed based IoT Gateway More details http://blog.thiseldo.co.uk/wp-filez/IoTGateway.pdf
Dependencies: NetServices FatFileSystem csv_parser mbed MQTTClient RF12B DNSResolver SDFileSystem
iotgateway.h@5:0dbc27a7af55, 2012-05-09 (annotated)
- Committer:
- SomeRandomBloke
- Date:
- Wed May 09 20:29:30 2012 +0000
- Revision:
- 5:0dbc27a7af55
Reduced debug output
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
SomeRandomBloke | 5:0dbc27a7af55 | 1 | /** IoT Gateway config defines |
SomeRandomBloke | 5:0dbc27a7af55 | 2 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 3 | * @author Andrew Lindsay |
SomeRandomBloke | 5:0dbc27a7af55 | 4 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 5 | * @section LICENSE |
SomeRandomBloke | 5:0dbc27a7af55 | 6 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 7 | * Copyright (c) 2012 Andrew Lindsay (andrew [at] thiseldo [dot] co [dot] uk) |
SomeRandomBloke | 5:0dbc27a7af55 | 8 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
SomeRandomBloke | 5:0dbc27a7af55 | 10 | * of this software and associated documentation files (the "Software"), to deal |
SomeRandomBloke | 5:0dbc27a7af55 | 11 | * in the Software without restriction, including without limitation the rights |
SomeRandomBloke | 5:0dbc27a7af55 | 12 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
SomeRandomBloke | 5:0dbc27a7af55 | 13 | * copies of the Software, and to permit persons to whom the Software is |
SomeRandomBloke | 5:0dbc27a7af55 | 14 | * furnished to do so, subject to the following conditions: |
SomeRandomBloke | 5:0dbc27a7af55 | 15 | |
SomeRandomBloke | 5:0dbc27a7af55 | 16 | * The above copyright notice and this permission notice shall be included in |
SomeRandomBloke | 5:0dbc27a7af55 | 17 | * all copies or substantial portions of the Software. |
SomeRandomBloke | 5:0dbc27a7af55 | 18 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 19 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
SomeRandomBloke | 5:0dbc27a7af55 | 20 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
SomeRandomBloke | 5:0dbc27a7af55 | 21 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
SomeRandomBloke | 5:0dbc27a7af55 | 22 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
SomeRandomBloke | 5:0dbc27a7af55 | 23 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
SomeRandomBloke | 5:0dbc27a7af55 | 24 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
SomeRandomBloke | 5:0dbc27a7af55 | 25 | * THE SOFTWARE. |
SomeRandomBloke | 5:0dbc27a7af55 | 26 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 27 | * @section DESCRIPTION |
SomeRandomBloke | 5:0dbc27a7af55 | 28 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 29 | * Code is to be classed as beta. There is a lot of debug code still includes |
SomeRandomBloke | 5:0dbc27a7af55 | 30 | * to dump heap sizes and other values. It is still a work in progress and |
SomeRandomBloke | 5:0dbc27a7af55 | 31 | * should be treated as such. |
SomeRandomBloke | 5:0dbc27a7af55 | 32 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 33 | * Further documentation available from |
SomeRandomBloke | 5:0dbc27a7af55 | 34 | * http://blog.thiseldo.co.uk/wp-filez/IoTGateway.pdf |
SomeRandomBloke | 5:0dbc27a7af55 | 35 | * |
SomeRandomBloke | 5:0dbc27a7af55 | 36 | */ |
SomeRandomBloke | 5:0dbc27a7af55 | 37 | |
SomeRandomBloke | 5:0dbc27a7af55 | 38 | #ifndef _IOTGATEWAY_H |
SomeRandomBloke | 5:0dbc27a7af55 | 39 | #define _IOTGATEWAY_H |
SomeRandomBloke | 5:0dbc27a7af55 | 40 | |
SomeRandomBloke | 5:0dbc27a7af55 | 41 | #define MAX_LINE_LENGTH 128 |
SomeRandomBloke | 5:0dbc27a7af55 | 42 | |
SomeRandomBloke | 5:0dbc27a7af55 | 43 | #define DATABUF_SIZE 200 |
SomeRandomBloke | 5:0dbc27a7af55 | 44 | #define API_URL_LENGTH 128 |
SomeRandomBloke | 5:0dbc27a7af55 | 45 | #define API_KEY_LENGTH 65 |
SomeRandomBloke | 5:0dbc27a7af55 | 46 | |
SomeRandomBloke | 5:0dbc27a7af55 | 47 | #endif /* IOTGATEWAY_H */ |