This example establishes a transparent link between the mbed serial port and the modem (LISA or SARA) 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
Fork of C027_ModemTransparentSerial by
Diff: main.cpp
- Revision:
- 1:7334dcb895d0
- Parent:
- 0:53fc79c7af10
- Child:
- 2:1970ac045983
--- a/main.cpp Tue Oct 22 21:22:05 2013 +0000 +++ b/main.cpp Wed Oct 23 06:12:48 2013 +0000 @@ -7,7 +7,7 @@ Serial mdm(MDMTXD, MDMRXD); mdm.baud(MDMBAUD); // tell the modem that we can always receive data - DigitalOut mdmRts(MDMTRTS); + DigitalOut mdmRts(MDMRTS); mdmRts = 0; // (not using flow control) // open the PC serial port and (use the same baudrate)