need implementation for dfutool via uart; what does usb_control_msg?
"Krause, Bernd" <[email protected]>
| Newsgroups | gmane.linux.bluez.devel |
|---|---|
| Message-ID | <EADBA796DAC6CB4089D6C9FC6A87773501DFEDB4@ERLM862A.ww001.siemens.net> |
Hello, I need an implementation for the dfu-functionality via uart. For this purpose, I need to know what the function usb_control_msg writes exactly to the usb-Device to duplicate for example the header for uart. I was unable to find an exact implementation of this function with e.g. the given parameters (USB_TYPE_CLASS | USB_DIR_IN | USB_RECIP_INTERFACE, DFU_UPLOAD). I only found the functions usb_start_wait_urb <http://www.srcdoc.com/linux_2.2.26/usb_8c.html#a41> and usb_submit_urb <http://www.srcdoc.com/linux_2.2.26/usb_8c.html#a38> , but I can't find out what is really send via usb. Can anybody tell me what this function sends to the device? And if anyone knows, it is possible to rewrite this functionality for uart? Thanks for help, Best Regards, Bernd Krause Siemens AG Medical Solutions MED MR PLM ST SCC Allee am Roethelheimpark 2 91052 Erlangen, Germany Tel.: Fax: mailto:[email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Bluez-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel