USB Host WAN Dongle library

Fork of USBHostWANDongle_bleedingedge by Donatien Garnier

Revision:
3:4394986752db
Parent:
2:a8b2d0cd9bbd
Child:
9:c9e9817c398c
--- a/USB3GModule/WANDongleSerialPort.h	Tue Jun 26 13:43:54 2012 +0000
+++ b/USB3GModule/WANDongleSerialPort.h	Fri Jul 06 08:53:17 2012 +0000
@@ -31,17 +31,17 @@
 /** A class to use a WAN (3G/LTE) access dongle
  *
  */
-class WANDongle : public IUSBHostSerial {
+class WANDongleSerialPort : public IUSBHostSerial {
 public:
     /*
     * Constructor
     *
     */
-    WANDongleSerialPort( );
+    WANDongleSerialPort();
     
-    void init(USBHost* pHost);
+    void init( USBHost* pHost );
     
-    void connect( Endpoint* pInEp, Endpoint* pOutEp );
+    void connect( USBDeviceConnected* pDev, Endpoint* pInEp, Endpoint* pOutEp );
     
     void disconnect( );
 
@@ -96,6 +96,7 @@
     Endpoint * bulk_in;
     Endpoint * bulk_out;
     USBHost * host;
+    USBDeviceConnected * dev;
 
     uint8_t buf_out[WANDONGLE_MAX_OUTEP_SIZE];
     volatile uint32_t buf_out_len;