For RevB MBED Hardware, with the new boot sequence. This example establishes a transparent link between the mbed USB CDC port and the modem (LISA) on the C027. You can use it to use the standard u-blox tools such as m-center or any terminal program. These tools can then connect to the serial port and talk directly to the modem. Baudrate should be set to 115200 baud and is fixed. m-center can be downloaded from u-blox website following this link: http://www.u-blox.com/en/evaluation-tools-a-software/u-center/m-center.html

Dependencies:   C027-REVB UbloxUSBModem mbed

Revision:
1:15b5edb4a91f
Parent:
0:92ab4f4846f8
Child:
2:c4ad86683060
Child:
3:ac79848028c3
--- a/main.cpp	Fri Dec 13 00:40:55 2013 +0000
+++ b/main.cpp	Fri Dec 13 23:37:54 2013 +0000
@@ -14,7 +14,11 @@
     // the instantiation of the type, calls C027::C027
     C027 c027;
     
-    c027.mdmPower(true);
+    c027.mdmPower(true,false);
+    
+    // enable the GPS, and connect it 
+    // to the m3.
+    c027.gpsPower(true, false);
 
 #if 0
     while(1) {
@@ -40,6 +44,8 @@
     Serial pc(USBTX, USBRX);
     pc.baud(MDMBAUD);
     
+    pc.printf( "M3->USB CDC connection ready\n");
+    
     while (1)
     {
         uint8_t buf[64];