
This example establishes a transparent link between the mbed USB CDC port and the modem (LISA) 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: C027 UbloxUSBModem mbed
Fork of C027_ModemTransparentSerial by
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 3:8d37a7a064f1, committed 2013-10-25
- Comitter:
- mazgch
- Date:
- Fri Oct 25 20:38:13 2013 +0000
- Parent:
- 2:20ff91824a26
- Child:
- 4:f61f3b7296da
- Commit message:
- use power config
Changed in this revision
C027.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/C027.lib Fri Oct 25 20:16:46 2013 +0000 +++ b/C027.lib Fri Oct 25 20:38:13 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/ublox/code/C027/#7f910a8e77ee +http://mbed.org/teams/ublox/code/C027/#e3eab86f1de9
--- a/main.cpp Fri Oct 25 20:16:46 2013 +0000 +++ b/main.cpp Fri Oct 25 20:38:13 2013 +0000 @@ -1,5 +1,5 @@ #include "mbed.h" -#include "C027_PinNames.h" +#include "C027.h" #include "WANDongle.h" #include "USBSerialStream.h" #include "UbloxCDMAModemInitializer.h" @@ -7,6 +7,9 @@ int main() { + C027 c027; + c027.mdmPower(true); + // open the mdm serial port WANDongle mdmDongle; USBSerialStream mdmStream(mdmDongle.getSerial(0/* the CDC usually 0 or 1*/ ));