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 wei zou

xi_user_config.h

Committer:
lawliet
Date:
2014-04-09
Revision:
2:aed4fdb82b45
Parent:
0:f6da0806cb0a

File content as of revision 2:aed4fdb82b45:

#ifndef __XI_USER_CONFIG_H__
#define __XI_USER_CONFIG_H__

// The following settings should lower memory footprint.
// The library currently allows one to send batch datapoint
// and feed updates, but it's not needed in most use cases
#define XI_MAX_DATAPOINTS         1
// The number of channels can be increased if needed
#define XI_MAX_DATASTREAMS        5

// Below are optimisations that reduce some minor functionality
#define XI_OPT_NO_ERROR_STRINGS

// If you wish to enable assertions, set this to 1
#define XI_DEBUG_ASSERT 0
// If you wish to disable debug output, set this to 0
#define XI_DEBUG_OUTPUT 0

// On the mbed app board we can use the LCD for debug output,
// but one may wish to modify this and write to file instead

#endif /* __XI_USER_CONFIG_H__ */