fork of VodafoneUSBModem with updated USBHost library

Dependencies:   Socket USBHost lwip-sys lwip

Dependents:   VodafoneUSBModemSMSTest

Files at this revision

API Documentation at this revision

Comitter:
screamer
Date:
Thu Oct 17 15:30:21 2013 +0000
Parent:
57:bf3cf216235c
Commit message:
Replaced USBHostWANDongle library with USBHost

Changed in this revision

USBHost.lib Show annotated file Show diff for this revision Revisions of this file
USBHostWANDongle.lib Show diff for this revision Revisions of this file
VodafoneUSBModem.cpp Show annotated file Show diff for this revision Revisions of this file
serial/usb/USBSerialStream.h Show annotated file Show diff for this revision Revisions of this file
diff -r bf3cf216235c -r 522210d2aaf9 USBHost.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/USBHost.lib	Thu Oct 17 15:30:21 2013 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/USBHost/#37c948cf0dbf
diff -r bf3cf216235c -r 522210d2aaf9 USBHostWANDongle.lib
--- a/USBHostWANDongle.lib	Mon Oct 22 11:01:37 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/USBHostWANDongle/#c154e7f2e42f
diff -r bf3cf216235c -r 522210d2aaf9 VodafoneUSBModem.cpp
--- a/VodafoneUSBModem.cpp	Mon Oct 22 11:01:37 2012 +0000
+++ b/VodafoneUSBModem.cpp	Thu Oct 17 15:30:21 2013 +0000
@@ -527,7 +527,7 @@
     return ret;
   }
 
-  if(m_dongle.getDongleType() == WAN_DONGLE_TYPE_VODAFONEK3770)
+  if(m_dongle.getDongleType() == 0)
   {
     INFO("Using a Vodafone K3770 Dongle");
     #if USE_ONE_PORT
@@ -547,7 +547,7 @@
     }  
     #endif
   }
-  else if(m_dongle.getDongleType() == WAN_DONGLE_TYPE_VODAFONEK3772Z)
+  else if(m_dongle.getDongleType() == 1)
   {
     INFO("Using a Vodafone K3772-Z Dongle");
     //FIXME this returns %USBMODEM: [0] MODEM DRIVER<CR><LF><CR><LF><CR><LF>OK<CR><LF> which is not a compliant response
diff -r bf3cf216235c -r 522210d2aaf9 serial/usb/USBSerialStream.h
--- a/serial/usb/USBSerialStream.h	Mon Oct 22 11:01:37 2012 +0000
+++ b/serial/usb/USBSerialStream.h	Thu Oct 17 15:30:21 2013 +0000
@@ -23,8 +23,8 @@
 
 #include "core/fwk.h"
 
-#include "USB3GModule/IUSBHostSerial.h"
-#include "USB3GModule/IUSBHostSerialListener.h"
+#include "USBHost/USBHost3GModule/IUSBHostSerial.h"
+#include "USBHost/USBHost3GModule/IUSBHostSerialListener.h"
 
 #include "rtos.h"
 #include "core/MtxCircBuffer.h"