This example establishes a transparent link between the mbed seial port and the gps on the C027. You can use it to use the standard u-blox tools such as u-center. These tools can then connect to the serial port and talk directly to the GPS receiver. Baudrate should be set to 9600 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/u-center.html

Dependencies:   C027-REVB mbed

Fork of C027_GPSTransparentSerial by u-blox

Revision:
2:490b4b087576
Parent:
1:0d32baf4a645
Child:
3:e62c5d162729
--- a/main.cpp	Fri Oct 25 20:36:35 2013 +0000
+++ b/main.cpp	Wed Nov 06 10:49:23 2013 +0000
@@ -6,13 +6,15 @@
     C027 c027;
     c027.gpsPower(true);
     
+    int baud = GPSBAUD;
+    
     // open the gps serial port
     Serial gps(GPSTXD, GPSRXD);
-    gps.baud(GPSBAUD);
+    gps.baud(baud);
     
     // open the PC serial port and (use the same baudrate)
     Serial pc(USBTX, USBRX);
-    pc.baud(GPSBAUD);
+    pc.baud(baud);
     
     while (1)
     {