local fork (temporary)
Dependents: VodafoneUSBModem_bleedingedge2
Fork of USBHostWANDongle_bleedingedge by
Diff: USBHost/USBDeviceConnected.h
- Revision:
- 2:a8b2d0cd9bbd
- Parent:
- 0:ae46a0638b2c
- Child:
- 3:4394986752db
diff -r 49df46e3295c -r a8b2d0cd9bbd USBHost/USBDeviceConnected.h --- a/USBHost/USBDeviceConnected.h Fri May 25 09:31:41 2012 +0000 +++ b/USBHost/USBDeviceConnected.h Tue Jun 26 13:43:54 2012 +0000 @@ -55,11 +55,13 @@ /* * Retrieve an endpoint by its TYPE and DIRECTION * + * @param intf_nb the interface on which to lookup the endpoint * @param type type of the endpoint looked for * @param direction of the endpoint looked for + * @param index the index of the endpoint whitin the interface * @returns pointer on the endpoint if found, NULL otherwise */ - Endpoint * getEndpoint(uint8_t intf_nb, ENDPOINT_TYPE type, ENDPOINT_DIRECTION dir); + Endpoint * getEndpoint(uint8_t intf_nb, ENDPOINT_TYPE type, ENDPOINT_DIRECTION dir, uint8_t index = 0); /* * Retrieve an endpoint by its index