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
Diff: main.cpp
- Revision:
- 6:aed089da6b6e
- Parent:
- 5:598a573e3ad3
--- 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);