C027_SupportTest_xively_locationで使用しているC027用ライブラリ

Fork of C027_Support by u-blox

下記のプログラム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.

Revision:
33:fb8fb5021b09
Parent:
32:8f12ac182bbb
Child:
35:9275215a3a5b
--- a/MDM.cpp	Wed Apr 09 13:03:48 2014 +0000
+++ b/MDM.cpp	Wed Apr 09 13:51:26 2014 +0000
@@ -244,7 +244,7 @@
             return false;
         // Return the pseudo ESN or MEID
         sendFormated("AT+GSN\r\n");
-        if (OK != waitFinalResp(_cbString, _dev.imei))
+        if (OK != waitFinalResp(_cbString, _dev.meid))
             return false;
     } else {
         // disable flow control
@@ -384,7 +384,7 @@
         if (OK != waitFinalResp(_cbString, _net.num))
             return false;
         // check if we have a Mobile Directory Number
-        if (memcmp(_net.num, "0000", 4) == 0);
+        if (memcmp(_net.num, "0000", 4) == 0)
             return false;
         // get the the Network access identifier string
         char nai[64];