インターフェース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
インターフェース2014年10月号のu-blox C027で3G通信する記事で使用したプログラムです。
Diff: xi_user_config.h
- Revision:
- 27:3e720b569fc3
- Child:
- 29:1f18e74ff972
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xi_user_config.h Wed Jul 16 12:49:10 2014 +0000 @@ -0,0 +1,25 @@ +#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 +//#include "app_board_io.h" +//#define XI_DEBUG_PRINTF lcd_printf //TODO: use serial port... +#define XI_DEBUG_PRINTF printf //TODO: use serial port... + +#endif /* __XI_USER_CONFIG_H__ */