C027_SupportTest_xively_locationで使用しているC027用ライブラリ
Fork of C027_Support by
下記のプログラムC027_SupportTest_xively_locationで使用しているC027用ライブラリです。
Import programC027_SupportTest_xively_location
インターフェース2014年10月号のu-blox C027で3G通信する記事で使用したプログラム。 CQ publishing Interface 2014.10 issue, C027 3G test program.
オリジナルのライブラリは下記を参照してください。
Import libraryC027_Support
support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets.
Diff: SerialPipe.h
- Revision:
- 18:e5697801df29
- Parent:
- 17:296d94a006b4
- Child:
- 19:2b5d097ca15d
--- a/SerialPipe.h Fri Jan 31 09:49:51 2014 +0000 +++ b/SerialPipe.h Fri Mar 14 13:07:48 2014 +0000 @@ -26,16 +26,3 @@ Pipe<char> _pipeRx; Pipe<char> _pipeTx; }; - -// ----------------------------------------------------------------------- -#define WAIT -1 -#define NOT_FOUND 0 - -class SerialPipeEx : public SerialPipe -{ -public: - int getLine(char* buffer, int length); - static int getLine(char* buffer, int length, Pipe<char>* pipe); - int getResp(char* buffer, int length); - static int getResp(char* buffer, int length, Pipe<char>* pipe); -};