This example establishes a transparent link between the mbed serial port and the gps I2C 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
Fork of C027_GPSTransparentI2C by
Revision 6:aed089da6b6e, committed 2013-12-14
- Comitter:
- dixter1
- Date:
- Sat Dec 14 02:05:49 2013 +0000
- Parent:
- 5:598a573e3ad3
- Child:
- 7:ed20b127a513
- Commit message:
- First Pass Transparent GPS for Rev B Hardware. No significant change except the C027-REVB library.
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/C027-REVB.lib Sat Dec 14 02:05:49 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/dixter1/code/C027-REVB/#db7c445289f5
--- a/C027.lib Thu Nov 21 14:12:14 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/teams/ublox/code/C027/#fb30e9923a7b
--- a/main.cpp Thu Nov 21 14:12:14 2013 +0000 +++ b/main.cpp Sat Dec 14 02:05:49 2013 +0000 @@ -6,7 +6,7 @@ Timer tmr; tmr.start(); C027 c027; - c027.gpsPower(true); + c027.gpsPower(true,false); // open the gps i2c port I2C gps(GPSSDA, GPSSCL);