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
Dependencies: mbed
Install mbed Windows Drivers
Make sure you installed the drivers on your windows PC to get the virtual serial port. A installation guideline and the drivers can be found in the following wiki page. /handbook/Windows-serial-configuration
Diff: main.cpp
- Revision:
- 4:fafdcaf842ee
- Parent:
- 2:1970ac045983
- Child:
- 5:1141d3cfd1ef
--- a/main.cpp Wed Nov 06 10:48:56 2013 +0000 +++ b/main.cpp Fri Dec 06 09:56:13 2013 +0000 @@ -9,9 +9,6 @@ // open the mdm serial port Serial mdm(MDMTXD, MDMRXD); mdm.baud(MDMBAUD); - // tell the modem that we can always receive data - DigitalOut mdmRts(MDMRTS); - mdmRts = 0; // (not using flow control) // open the PC serial port and (use the same baudrate) Serial pc(USBTX, USBRX);