Hello Roger,

Thanks for providing more insight to my problem. When we look into the
output of the "testlibusb-win32.exe" do we need to look at the key  by the
name "*bmAttributes*". In the key bmAttributes key I could see values as
"02h", "03h", so do these values correspond to the values that is mentioned
in section 4.2 of PSTN120.pdf.

Is the SendEncapsulatedCommand supported with the javax.usb package? what
kind of flexibilities does a Abstract Control Model give me? Is there any
kind of modification I need to do at my code level to send "AT" commands to
the USB Modem?

Please do let me know as to what I need to do to send AT Commands to the USB
modem?

On Thu, Jan 29, 2009 at 1:42 AM, Roger Lindsjö <[email protected]> wrote:

> 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ö
>



-- 
Warmest Regards,
Sumeet C
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel

Reply via email to