インターフェース2014年10月号のu-blox C027で3G通信する記事で使用したプログラム。   CQ publishing Interface 2014.10 issue, C027 3G test program.

Dependencies:   C027_Support C027_SupportTest mbed picojson

Fork of C027_SupportTest by u-blox

インターフェース2014年10月号のu-blox C027で3G通信する記事で使用したプログラムです。

Committer:
ntaka206
Date:
Thu Jul 17 02:52:30 2014 +0000
Revision:
29:1f18e74ff972
Parent:
27:3e720b569fc3
libxively?????Xively HTTP POST???????commit;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ntaka206 27:3e720b569fc3 1 #ifndef __XI_USER_CONFIG_H__
ntaka206 27:3e720b569fc3 2 #define __XI_USER_CONFIG_H__
ntaka206 27:3e720b569fc3 3
ntaka206 27:3e720b569fc3 4 // The following settings should lower memory footprint.
ntaka206 27:3e720b569fc3 5 // The library currently allows one to send batch datapoint
ntaka206 27:3e720b569fc3 6 // and feed updates, but it's not needed in most use cases
ntaka206 27:3e720b569fc3 7 #define XI_MAX_DATAPOINTS 1
ntaka206 27:3e720b569fc3 8 // The number of channels can be increased if needed
ntaka206 27:3e720b569fc3 9 #define XI_MAX_DATASTREAMS 5
ntaka206 27:3e720b569fc3 10
ntaka206 27:3e720b569fc3 11 // Below are optimisations that reduce some minor functionality
ntaka206 27:3e720b569fc3 12 #define XI_OPT_NO_ERROR_STRINGS
ntaka206 27:3e720b569fc3 13
ntaka206 27:3e720b569fc3 14 // If you wish to enable assertions, set this to 1
ntaka206 29:1f18e74ff972 15 #define XI_DEBUG_ASSERT 1
ntaka206 27:3e720b569fc3 16 // If you wish to disable debug output, set this to 0
ntaka206 29:1f18e74ff972 17 #define XI_DEBUG_OUTPUT 1
ntaka206 27:3e720b569fc3 18
ntaka206 27:3e720b569fc3 19 // On the mbed app board we can use the LCD for debug output,
ntaka206 27:3e720b569fc3 20 // but one may wish to modify this and write to file instead
ntaka206 27:3e720b569fc3 21 //#include "app_board_io.h"
ntaka206 27:3e720b569fc3 22 //#define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port...
ntaka206 27:3e720b569fc3 23 #define XI_DEBUG_PRINTF printf //TODO: use serial port...
ntaka206 27:3e720b569fc3 24
ntaka206 27:3e720b569fc3 25 #endif /* __XI_USER_CONFIG_H__ */