I looked back the posts, but still don't get the clear picture yet.

I am using Xscale board on CE 5.0.
I am trying to connect two CE devices with USB. On the client,
there is USB Client inferface from Xscale and we have the driver
working on ActiveSync.

What I am trying to do is to emulate the both USB host and Client as COM port.
I would guess client is fine for serial data transfer, but what about the
host?
Should I migrate the driver from Printer Class driver to a Serial Class
Driver?

How can I do it? any suggestions?

Re: USB to Serial by Steve

Steve
Wed Jan 04 15:44:39 CST 2006

If you want to do that you need to write a client driver that implements the
same protocol as the ActiveSynch Function driver does. While it's not
officially documented you have the FULL source code to figure it out.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: USB to Serial by Piet

Piet
Thu Jan 05 02:37:46 CST 2006

> I am trying to connect two CE devices with USB.

> If you want to do that you need to write a client driver that implements the
> same protocol as the ActiveSynch Function driver does. While it's not
> officially documented you have the FULL source code to figure it out.

Please clarify, Steve: is it possible to have a CE device work as
ActiveSync HOST? And is there a sample driver for that?

Piet


Re: USB to Serial by Dean

Dean
Thu Jan 05 08:21:39 CST 2006

There is no sample driver. Since you have the source for the client side,
you can use it as a reference to write a driver for the host side. How you
interact with it is up to you.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Piet" <pietdesomere@yahoo.com> wrote in message
news:1136450266.109587.109130@g49g2000cwa.googlegroups.com...
>> I am trying to connect two CE devices with USB.
>
>> If you want to do that you need to write a client driver that implements
>> the
>> same protocol as the ActiveSynch Function driver does. While it's not
>> officially documented you have the FULL source code to figure it out.
>
> Please clarify, Steve: is it possible to have a CE device work as
> ActiveSync HOST? And is there a sample driver for that?
>
> Piet
>



Re: USB to Serial by Steve

Steve
Thu Jan 05 09:40:03 CST 2006

>Please clarify, Steve:
OK, Not sure what wasn't clear about it the first time round...

> is it possible to have a CE device work as
>ActiveSync HOST?
Yes, CE devices with HOST hardware can host ANY USB device so long as you
have the information about the protocol to write the driver if it doesn't
exist already.

> And is there a sample driver for that?
No, that's why I said you'd have to write it. There is no documentation on
the protocol used. However, you have FULL source to the FUNCTION driver and
therefore have the information needed to write such a driver, though not in
the most conveniently usable form.



--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



RE: USB to Serial by CharlesWang

CharlesWang
Thu Jan 05 13:51:02 CST 2006

Thanks to all of you!
Charles

"Charles Wang" wrote:

> I looked back the posts, but still don't get the clear picture yet.
>
> I am using Xscale board on CE 5.0.
> I am trying to connect two CE devices with USB. On the client,
> there is USB Client inferface from Xscale and we have the driver
> working on ActiveSync.
>
> What I am trying to do is to emulate the both USB host and Client as COM port.
> I would guess client is fine for serial data transfer, but what about the
> host?
> Should I migrate the driver from Printer Class driver to a Serial Class
> Driver?
>
> How can I do it? any suggestions?

Re: USB to Serial by Piet

Piet
Fri Jan 06 02:48:14 CST 2006

Okay, of course it's possible to write a usb-to-serial host driver. I
thought we were talking about the full ActiveSync high-level host
application with synchronization and remote file viewer and all. To my
knowledge that is not available for a CE device?

I see now that this wasn't really the question in the original post.

Regards,
Piet


Re: USB to Serial by Dean

Dean
Fri Jan 06 08:38:41 CST 2006

No, nothing like that available for CE (at least from MS)...

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Piet" <pietdesomere@yahoo.com> wrote in message
news:1136537294.649544.253840@g47g2000cwa.googlegroups.com...
> Okay, of course it's possible to write a usb-to-serial host driver. I
> thought we were talking about the full ActiveSync high-level host
> application with synchronization and remote file viewer and all. To my
> knowledge that is not available for a CE device?
>
> I see now that this wasn't really the question in the original post.
>
> Regards,
> Piet
>