
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
Revision 7:5d0d13c54e97, committed 2013-12-19
- Comitter:
- mazgch
- Date:
- Thu Dec 19 17:34:25 2013 +0000
- Parent:
- 6:1e5c9b6b2e90
- Child:
- 8:b561b2003e76
- Commit message:
- enable hw flow control by default
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 19 17:32:08 2013 +0000 +++ b/main.cpp Thu Dec 19 17:34:25 2013 +0000 @@ -10,7 +10,7 @@ Serial mdm(MDMTXD, MDMRXD); mdm.baud(MDMBAUD); // use hardware flow control to make the connection more reliable - //mdm.set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS); + mdm.set_flow_control(SerialBase::RTSCTS, MDMRTS, MDMCTS); // open the PC serial port and (use the same baudrate) Serial pc(USBTX, USBRX);