u-blox / Mbed 2 deprecated C027_ModemTransparentSerial

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

Files at this revision

API Documentation at this revision

Comitter:
mazgch
Date:
Thu Dec 19 17:31:35 2013 +0000
Parent:
4:fafdcaf842ee
Child:
6:1e5c9b6b2e90
Commit message:
use hw flow control on MDM serial port

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Dec 06 09:56:13 2013 +0000
+++ b/main.cpp	Thu Dec 19 17:31:35 2013 +0000
@@ -9,6 +9,8 @@
     // open the mdm serial port
     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);
     
     // open the PC serial port and (use the same baudrate)
     Serial pc(USBTX, USBRX);
--- a/mbed.bld	Fri Dec 06 09:56:13 2013 +0000
+++ b/mbed.bld	Thu Dec 19 17:31:35 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/dc225afb6914
\ No newline at end of file