USB Host Library for Sprint Dongles
Fork of USBHostWANDongleSprint by
Diff: USB3GModule/WANDongleInitializer.h
- Revision:
- 1:3bcca949166d
- Parent:
- 0:bfed5767d0a5
- Child:
- 3:9ec92dd8a8cb
--- a/USB3GModule/WANDongleInitializer.h Wed Sep 12 08:15:02 2012 +0000 +++ b/USB3GModule/WANDongleInitializer.h Wed Sep 12 09:46:40 2012 +0000 @@ -75,10 +75,12 @@ virtual bool switchMode(USBDeviceConnected* pDev); - virtual Endpoint* getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx); + virtual USBEndpoint* getEp(USBDeviceConnected* pDev, int serialPortNumber, bool tx); virtual int getSerialPortCount(); + virtual void setVidPid(uint16_t vid, uint16_t pid); + virtual bool parseInterface(uint8_t intf_nb, uint8_t intf_class, uint8_t intf_subclass, uint8_t intf_protocol); //Must return true if the interface should be parsed virtual bool useEndpoint(uint8_t intf_nb, ENDPOINT_TYPE type, ENDPOINT_DIRECTION dir); //Must return true if the endpoint will be used