インターフェース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通信する記事で使用したプログラムです。

Revision:
26:712544e993ff
Parent:
24:81f5b43a6585
Child:
28:d504a106c124
--- a/main.cpp	Fri Jul 04 05:29:01 2014 +0000
+++ b/main.cpp	Wed Jul 16 12:34:19 2014 +0000
@@ -24,11 +24,15 @@
 /*! The APN of your network operator SIM, sometimes it is "internet" check your 
     contract with the network operator. You can also try to look-up your settings in 
     google: https://www.google.de/search?q=APN+list */
-#define APN         NULL
+//#define APN         NULL
+#define APN         "3g-d-2.ocn.ne.jp"
 //! Set the user name for your APN, or NULL if not needed
-#define USERNAME    NULL
+//#define USERNAME    NULL
+#define USERNAME    "a743mcx2@one.ocn.ne.jp"
 //! Set the password for your APN, or NULL if not needed
-#define PASSWORD    NULL 
+//#define PASSWORD    NULL 
+#define PASSWORD    "nnku62"
+
 //------------------------------------------------------------------------------------
 
 int main(void)
@@ -39,6 +43,9 @@
 #else
     char buf[512] = "";
 #endif
+// ntaka
+Serial pc(USBTX,USBRX);
+pc.baud(115200);
 
     // Create the GPS object
 #if 1   // use GPSI2C class