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

Files at this revision

API Documentation at this revision

Comitter:
ntaka206
Date:
Wed Jul 16 12:34:19 2014 +0000
Parent:
25:c1ee28eea1e4
Child:
27:3e720b569fc3
Commit message:
3G?????????????

Changed in this revision

C027_Support.lib Show annotated file Show diff for this revision Revisions of this file
C027_SupportTest.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/C027_Support.lib	Fri Jul 04 05:29:01 2014 +0000
+++ b/C027_Support.lib	Wed Jul 16 12:34:19 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/ublox/code/C027_Support/#c64ba749a422
+http://mbed.org/teams/ublox/code/C027_Support/#839c6c8b7a16
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/C027_SupportTest.lib	Wed Jul 16 12:34:19 2014 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/ublox/code/C027_SupportTest/#c1ee28eea1e4
--- 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