Hi,
                 I m trying to add isochronous endpoints in bluetty.c .  In 
usb_bluetooth_probe  function , i have added the following lines. 

           if ((endpoint->bEndpointAddress & 0x80) &&
                    ((endpoint->bmAttributes & 3) == 0x01)) {
                        /* we found a sco in endpoint */
                        dbg("found sco in");
                        isoc_in_endpoint[num_isoc_in] = endpoint;
                        ++num_isoc_in;
                 }

                  if (((endpoint->bEndpointAddress & 0x80) == 0x00) &&
                    ((endpoint->bmAttributes & 3) == 0x01)) {
                        /* we found a sco out endpoint */
                        dbg("found sco out");
                        isoc_out_endpoint[num_isoc_out] = endpoint;
                        ++num_isoc_out;
                }

             usb_fill_bulk_urb and usb_fill_int_urb functions are called after 
bluetooth->bulk_in_buffer and bluetooth->interrupt_in_buffer initialised 
respectively. 

             I want to know , How do i initialise this isochronous 
endpoints ?.     is there any functions like usb_fill_isoc_urb() is 
available ?... Any tips to procceed furthur !!! ...

             bet. i have added the following fields in struct 
usb_bluetooth ...

                     unsigned char *         isoc_in_buffer;
                      int                         isoc_in_buffer_size;
                     __u8                    isoc_in_endpointAddress;

                      int                     isoc_out_buffer_size;
                     __u8                    isoc_out_endpointAddress;


Thanks
Prakash


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to