Xively jumpstart demo with static ip
Dependencies: C12832_lcd EthernetInterface LM75B MMA7660 libxively mbed-rtos mbed
xi_user_config.h@0:7c69bca78a67, 2015-10-12 (annotated)
- Committer:
- dwijaybane
- Date:
- Mon Oct 12 06:57:44 2015 +0000
- Revision:
- 0:7c69bca78a67
xively custom static ip version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dwijaybane | 0:7c69bca78a67 | 1 | #ifndef __XI_USER_CONFIG_H__ |
dwijaybane | 0:7c69bca78a67 | 2 | #define __XI_USER_CONFIG_H__ |
dwijaybane | 0:7c69bca78a67 | 3 | |
dwijaybane | 0:7c69bca78a67 | 4 | // The following settings should lower memory footprint. |
dwijaybane | 0:7c69bca78a67 | 5 | // The library currently allows one to send batch datapoint |
dwijaybane | 0:7c69bca78a67 | 6 | // and feed updates, but it's not needed in most use cases |
dwijaybane | 0:7c69bca78a67 | 7 | #define XI_MAX_DATAPOINTS 1 |
dwijaybane | 0:7c69bca78a67 | 8 | // The number of channels can be increased if needed |
dwijaybane | 0:7c69bca78a67 | 9 | #define XI_MAX_DATASTREAMS 5 |
dwijaybane | 0:7c69bca78a67 | 10 | |
dwijaybane | 0:7c69bca78a67 | 11 | // Below are optimisations that reduce some minor functionality |
dwijaybane | 0:7c69bca78a67 | 12 | #define XI_OPT_NO_ERROR_STRINGS |
dwijaybane | 0:7c69bca78a67 | 13 | |
dwijaybane | 0:7c69bca78a67 | 14 | // If you wish to enable assertions, set this to 1 |
dwijaybane | 0:7c69bca78a67 | 15 | #define XI_DEBUG_ASSERT 0 |
dwijaybane | 0:7c69bca78a67 | 16 | // If you wish to disable debug output, set this to 0 |
dwijaybane | 0:7c69bca78a67 | 17 | #define XI_DEBUG_OUTPUT 0 |
dwijaybane | 0:7c69bca78a67 | 18 | |
dwijaybane | 0:7c69bca78a67 | 19 | // On the mbed app board we can use the LCD for debug output, |
dwijaybane | 0:7c69bca78a67 | 20 | // but one may wish to modify this and write to file instead |
dwijaybane | 0:7c69bca78a67 | 21 | #include "app_board_io.h" |
dwijaybane | 0:7c69bca78a67 | 22 | #define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port... |
dwijaybane | 0:7c69bca78a67 | 23 | |
dwijaybane | 0:7c69bca78a67 | 24 | #endif /* __XI_USER_CONFIG_H__ */ |