2 windows mobile devices communicating

J

Jay

Hello all,

I have 2 CE.net devices connected to each other in a docking cradle.
what is the best way to get them communicating? some sort of messaging?
basic serial communication?

the are going to be setup in a client server arch.
 
P

Paul G. Tobey [eMVP]

"docking cradle" meaning what? Connected to each other over what medium?

Paul T.
 
P

Paul G. Tobey [eMVP]

There's no way that they're connect to each other via USB, are they? USB is
asymmetric and most devices have only USB client ports on them. They are
*not* connected to a PC, right? Just directly to each other?

Paul T.
 
J

Jay

Yes, you are correct, it will be Serial only.




There's no way that they're connect to each other via USB, are they? USB is
asymmetric and most devices have only USB client ports on them. They are
*not* connected to a PC, right? Just directly to each other?

Paul T.
 
P

Paul G. Tobey [eMVP]

OK, so you have a couple of choices.

1. You could just come up with your own serial protocol and have both ends
speak it. You know, end #1 sends "here I am", and end #2 does the same and
they negotiate who's going to do what. This has the advantage that it's
very easy to do, doesn't require any operating system support, and is pretty
much totally under your control. It has the disadvantage that it *only*
applies to serial connections.

2. You could try to build a PPP network connection between the two devices
and then use network I/O (WinSock), to communicate. Someone would have to
be a server and someone a client (or they might both do both and try to
connect to one another). This is then portable to syncing over WiFi, GPRS,
etc. However, actually getting the connection set up is a lot of trouble
and you have to be sure that the right components are in the device
operating system.

You'll have to decide what you're going to need in the future and how much
work you want to apply now...

Paul T.

Jay said:
Yes, you are correct, it will be Serial only.




There's no way that they're connect to each other via USB, are they? USB
is
asymmetric and most devices have only USB client ports on them. They are
*not* connected to a PC, right? Just directly to each other?

Paul T.

Jay said:
Connected Via serial cable or USB.


Paul G. Tobey [eMVP] wrote:
"docking cradle" meaning what? Connected to each other over what
medium?

Paul T.

Hello all,

I have 2 CE.net devices connected to each other in a docking cradle.
what is the best way to get them communicating? some sort of
messaging?
basic serial communication?

the are going to be setup in a client server arch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top