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.
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Fork of VodafoneUSBModem by
Revision 81:da03da068398, committed 2013-01-29
- Comitter:
- ashleymills
- Date:
- Tue Jan 29 13:45:01 2013 +0000
- Parent:
- 80:c0e63c16306e
- Child:
- 82:ab4d6263f25c
- Commit message:
- Modifications for K3773;
Changed in this revision
| VodafoneUSBModem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/VodafoneUSBModem.cpp Tue Jan 15 17:24:37 2013 +0000
+++ b/VodafoneUSBModem.cpp Tue Jan 29 13:45:01 2013 +0000
@@ -17,7 +17,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#define __DEBUG__ 4
+#define __DEBUG__ 0
#ifndef __MODULE__
#define __MODULE__ "VodafoneUSBModem.cpp"
#endif
@@ -575,6 +575,11 @@
else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEK3773)
{
INFO("Using a Vodafone K3773 M2M dongle.");
+ ret = m_at.executeSimple("at^stsf=0",NULL);
+ ret = m_at.executeSimple("at^curc=0",NULL);
+ if(ret!=0) {
+ return NET_PROTOCOL;
+ }
}
else if(m_dongle.getDongleType()== WAN_DONGLE_TYPE_VODAFONEMU509)
{
