Xively demo for cc3000

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket libxively mbed

Revision:
3:6eb505b0beb3
Parent:
1:ad3b3e58ba36
--- a/xi_user_config.h	Sun Oct 13 12:06:53 2013 +0000
+++ b/xi_user_config.h	Mon Oct 14 15:33:28 2013 +0000
@@ -13,11 +13,22 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-#ifndef XI_USER_CONFIG_H
-#define XI_USER_CONFIG_H
+#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
 
-// xively setup - less memory
-#define XI_MAX_DATAPOINTS                  1
-#define XI_MAX_DATASTREAMS                 2
+// Below are optimisations that reduce some minor functionality
+#define XI_OPT_NO_ERROR_STRINGS
 
-#endif
+// 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
+
+#endif /* __XI_USER_CONFIG_H__ */