Hi,
Thanks for the help. Actually we want both "TCP/IP over USB" and "TTY
over USB". For "TCP/IP over USB", we have choosen Ethernet Network Model
as the Subclass as it is the perfect choice. But for "TTY over USB", we
are still unclear about what model to choose. If we choose Abstract
Control Model, then should we use the v.25ter prtocol (AT commands)?
This is not relevant to my device. Or should I have dummy functions for
this commands?
Guna
-----Original Message-----
From: Jim Wilcox [mailto:email@hidden]
Sent: Friday, October 10, 2003 9:51 PM
To: Gunasekaran Dharman
Subject: Re: USB Port as Virtual COM Port
I have seen PDA's implemented in 2 ways. The first is to Use the
Abstract control model and make it look just like a modem. This tends
to work well since most sync software was designed for a standard
serial port. This approach can make it possible to use sync software
without modification in some cases.
The other way is to use the Communication Device Class and and use the
subclass for Ethernet and make it look like a network port. Then
standard IP protocols can be used for communication. There is not
currently an Ethernet driver in the OS. There is sample code available
that shows how this could be done.
Jim
On Oct 9, 2003, at 8:42 PM, Gunasekaran Dharman wrote:
> Yes the device will have the Class Code as Communication Device Class.
> The device is an hand held device like PDA. As the device is still in
> development stage, I haven't tested. The sample source code
> "AppleUSBCDCDriver" given in the website is the Communication Device
> Class driver for the serial device like modem that has Communication
> Interface Class Subclass Code as Abstract Control Model. Since my
> device
> is not a modem, I don't know what Subclass I have to choose for the
> Communication Interface Class of my device. The requirement is I have
> to
> write a "TTY over USB driver" for a device of class Communication
> Device
> Class.
>
> -----Original Message-----
> From: Chris Hanson [mailto:email@hidden]
> Sent: Thursday, October 09, 2003 11:39 PM
> To: Gunasekaran Dharman
> Cc: email@hidden
> Subject: Re: USB Port as Virtual COM Port
>
>
> On Thursday, October 9, 2003, at 03:57 AM, Gunasekaran Dharman wrote:
>> Sorry, may be I used wrong words. But what I wanted to say is
>> accessing the USB device as a serial device using Virtual COM Port
>> driver.
>
> There is no such thing as a "COM port" on a Macintosh, much less a
> "Virtual COM Port driver." You're thinking of PCs running Windows,
> which aren't the same thing at all. We use different terminology in
> the Macintosh world.
>
> Does the device you want to communicate with implement the
> communications device class? That is, does it appear to the operating
> system as a serial device already? Or does it not implement the
> communication device class, and you're trying to figure out how to
> communicate with it in that case?
>
> -- Chris
>
> --
> Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
> Custom Mac OS X Development | Phone: +1-847-372-3955
> http://bdistributed.com/ | Fax: +1-847-589-3738
> http://bdistributed.com/Articles/ | Personal Email: email@hidden
>
>
>
**************************Disclaimer***********************************
> *
>
> Information contained in this E-MAIL being proprietary to Wipro
> Limited is
> 'privileged' and 'confidential' and intended for use only by the
> individual
> or entity to which it is addressed. You are notified that any use,
> copying
> or dissemination of the information contained in the E-MAIL in any
> manner
> whatsoever is strictly prohibited.
>
>
***********************************************************************
> ****
> _______________________________________________
> usb mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/usb
> Do not post admin requests to the list. They will be ignored.
>
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited is
'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying
or dissemination of the information contained in the E-MAIL in any manner
whatsoever is strictly prohibited.
***************************************************************************
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.