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: GPS.h
- Revision:
- 31:a0bed6c1e05d
- Parent:
- 24:0e287a85ac9e
- Child:
- 38:e6cab4632d84
--- a/GPS.h Tue Apr 08 15:49:04 2014 +0000 +++ b/GPS.h Wed Apr 09 11:48:04 2014 +0000 @@ -19,6 +19,7 @@ #define WAIT -1 #define NOT_FOUND 0 + #define UNKNOWN 0x000000 #define UBX 0x100000 #define NMEA 0x200000 #define LENGTH(x) (x & 0x00FFFF) @@ -28,6 +29,7 @@ virtual int send(const char* buf, int len); virtual int sendNmea(const char* buf, int len); virtual int sendUbx(unsigned char cls, unsigned char id, const void* buf = NULL, int len = 0); + void powerOff(void); static const char* findNmeaItemPos(int ix, const char* start, const char* end); static bool getNmeaItem(int ix, char* buf, int len, double& val);