this is a demo code for you to update sensor data to xively by using GPRSInterface library
Dependencies: GPRSInterface libxively mbed
Fork of Seeed_GPRS_Xively_HelloWorld by
xi_user_config.h@2:aed4fdb82b45, 2014-04-09 (annotated)
- Committer:
- lawliet
- Date:
- Wed Apr 09 07:19:08 2014 +0000
- Revision:
- 2:aed4fdb82b45
- Parent:
- 0:f6da0806cb0a
Comment out the print message
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
lawliet | 0:f6da0806cb0a | 1 | #ifndef __XI_USER_CONFIG_H__ |
lawliet | 0:f6da0806cb0a | 2 | #define __XI_USER_CONFIG_H__ |
lawliet | 0:f6da0806cb0a | 3 | |
lawliet | 0:f6da0806cb0a | 4 | // The following settings should lower memory footprint. |
lawliet | 0:f6da0806cb0a | 5 | // The library currently allows one to send batch datapoint |
lawliet | 0:f6da0806cb0a | 6 | // and feed updates, but it's not needed in most use cases |
lawliet | 0:f6da0806cb0a | 7 | #define XI_MAX_DATAPOINTS 1 |
lawliet | 0:f6da0806cb0a | 8 | // The number of channels can be increased if needed |
lawliet | 0:f6da0806cb0a | 9 | #define XI_MAX_DATASTREAMS 5 |
lawliet | 0:f6da0806cb0a | 10 | |
lawliet | 0:f6da0806cb0a | 11 | // Below are optimisations that reduce some minor functionality |
lawliet | 0:f6da0806cb0a | 12 | #define XI_OPT_NO_ERROR_STRINGS |
lawliet | 0:f6da0806cb0a | 13 | |
lawliet | 0:f6da0806cb0a | 14 | // If you wish to enable assertions, set this to 1 |
lawliet | 0:f6da0806cb0a | 15 | #define XI_DEBUG_ASSERT 0 |
lawliet | 0:f6da0806cb0a | 16 | // If you wish to disable debug output, set this to 0 |
lawliet | 0:f6da0806cb0a | 17 | #define XI_DEBUG_OUTPUT 0 |
lawliet | 0:f6da0806cb0a | 18 | |
lawliet | 0:f6da0806cb0a | 19 | // On the mbed app board we can use the LCD for debug output, |
lawliet | 0:f6da0806cb0a | 20 | // but one may wish to modify this and write to file instead |
lawliet | 0:f6da0806cb0a | 21 | |
lawliet | 0:f6da0806cb0a | 22 | #endif /* __XI_USER_CONFIG_H__ */ |