Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IoTWorkshopLCD IoTWorkshopBuzzer IoTWorkshopSensors C027_USSDTest ... more
Fork of C027 by
Diff: C027.cpp
- Revision:
- 15:37252d7bcd9e
- Parent:
- 14:e30f90b5447e
- Child:
- 16:3ce62caf4518
--- a/C027.cpp Fri Dec 06 09:27:49 2013 +0000
+++ b/C027.cpp Tue Dec 17 16:25:47 2013 +0000
@@ -47,6 +47,10 @@
mdmRst = 0; // RESET: 0=reset, 1=operating
mdmIsEnabled = false;
mdmUseUsb = false;
+ wait_ms(50); // when USB cable is inserted the interface chip issues
+ // multiple resets to the target CPU We wait here for a short period to
+ // prevent those resets from propagating to the modem and other
+ // components.
}
void C027::mdmPower(bool enable)
