mbed base bard check program for BlueTooth USB dongle module (3 switches, 6 leds, I2C LCD, A/D)
Fork of BTstack by
usb/UsbBaseClass.h@0:1ed23ab1345f, 2012-06-26 (annotated)
- Committer:
- va009039
- Date:
- Tue Jun 26 14:27:45 2012 +0000
- Revision:
- 0:1ed23ab1345f
fix overflow spp_service_buffer
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:1ed23ab1345f | 1 | #ifndef _USB_BASE_CLASS_H_ |
va009039 | 0:1ed23ab1345f | 2 | #define _USB_BASE_CLASS_H_ |
va009039 | 0:1ed23ab1345f | 3 | #include "UsbHostMgr.h" |
va009039 | 0:1ed23ab1345f | 4 | |
va009039 | 0:1ed23ab1345f | 5 | class UsbBaseClass { |
va009039 | 0:1ed23ab1345f | 6 | public: |
va009039 | 0:1ed23ab1345f | 7 | UsbBaseClass(); |
va009039 | 0:1ed23ab1345f | 8 | protected: |
va009039 | 0:1ed23ab1345f | 9 | UsbErr Usb_poll(int timeout = 15000, int timeout2 = 2000); |
va009039 | 0:1ed23ab1345f | 10 | static UsbHostMgr* m_pHost; |
va009039 | 0:1ed23ab1345f | 11 | }; |
va009039 | 0:1ed23ab1345f | 12 | |
va009039 | 0:1ed23ab1345f | 13 | #endif //_USB_BASE_CLASS_H_ |