Re: How to use libusb for CDC devices
Swapnil Kulkarni <[email protected]> Fri, 4 Sep 2015 18:10:58 +0530
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CANsR3cQcqtFQsS-Y-NQ_CRBQnpusNqx7JrjNnVnykZ6O9oPngQ@mail.gmail.com> |
Thanks for clearing the doubt. > I suppose the NXP drivers you referred to support some device, > does that device support toggling RTS? > When you say USB CDC do you mean USB CDC ACM? If so you > should be able to use the standard Windows serial port > driver which supports RTS (IIRC). Yes, it is USB CDC ACM. How can I find out if my device supports RTS toggling or not? Host generates a request when I toggle DTR from terminal and it also updates the RTS status correctly in the same request. But it is not generating the request when I toggle RTS from terminal. I also tried using windows default driver. But it showing 'Device cannot start (Error 10)'. How can I make my device compatible with windows default driver? With regards, Swapnil R. Kulkarni On Fri, Sep 4, 2015 at 5:13 PM, Kustaa Nyholm <[email protected]> wrote: > > > > Can someone tell me how can I configure it as COM port. I want to use it > throught terminal software. > > You can not. You can use it the USB CDC drivers in which case it is a COM > port or > if you use libusb then it is a libusb device. Either or or. > > > > > Also, will libusb solve my problem with RTS toggling? > > No, not as a COM port it won't. If you are prepared to do > everything through libusb then (if your firmware supports it) > you can toggle the RTS using libusb . > > I suppose the NXP drivers you referred to support some device, > does that device support toggling RTS? > > When you say USB CDC do you mean USB CDC ACM? If so you > should be able to use the standard Windows serial port > driver which supports RTS (IIRC). > > br Kusti > > > This e-mail may contain confidential or privileged information. If you are > not the intended recipient (or have received this e-mail in error) please > notify the sender immediately and destroy this e-mail. Any unauthorized > copying, disclosure or distribution of the material in this e-mail is > strictly forbidden. We will not be liable for direct, indirect, special or > consequential damages arising from alteration of the contents of this > message by a third party or as a result of any virus being passed on or as > of transmission of this e-mail in general. > > > ------------------------------------------------------------------------------ > _______________________________________________ > Libusb-win32-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > ------------------------------------------------------------------------------ _______________________________________________ Libusb-win32-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel