Sumeet Chakraborty wrote: > Hello Roger, > > Thanks for providing some insight into my problem however the manual > that came along with the USB Modem that I purchased does not provide > any kind of documentation as to what it supports. The machine on which > I am running this code does not have a serial port it just has 4 USB > ports. I'm not talking about a physical serial port. The device drivers could expose itself as a serial port modem to the OS in order to simpify interaction with it. > With a serial port modem communication becomes much easier as Java > provides API to communicate with devices using Serial Port. I am not > pretty much sure about whether the USB Modem is able to recognize the > AT command set or not. > > The thing which I would like to know is which endpoint should I use to > send AT Commands to my USB Modem (If its supported). Thanks again for > your inputs. The documentation I pointed to shows how to identidy if the interface supports "Abstract Control Model" (Section 4.2 in the PSTN document). The CDC core specification, section 6.2.1 shows hot to send a SendEncapsulatedCommand which can contain AT commands.
I suggest that you download http://www.usb.org/developers/devclass_docs/CDC1.2_WMC1.1.zip and read PSTN120.pdf and CDC120.pdf //Roger Lindsjö ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel