Re: Connecting the PocketPC to a Serial Device
From: Fabrício de Novaes Kucinskis (fabricio.nk_at_uol.com.br)
Date: 02/28/04
- Next message: José Ángel: "Where is d3d8.lib?"
- Previous message: Dr. Wolgales: "Linking error eVC++ 4 SP2 + SDK 2003"
- In reply to: r_z_aret_at_pen_fact.com: "Re: Connecting the PocketPC to a Serial Device"
- Next in thread: Beverly Howard [Ms-MVP/MobileDev]: "Re: Connecting the PocketPC to a Serial Device"
- Reply: Beverly Howard [Ms-MVP/MobileDev]: "Re: Connecting the PocketPC to a Serial Device"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 28 Feb 2004 16:43:09 -0300
Hi, Robert. Thanks for your help.
I'm a bit confused with this part of your answer: "Serial ports come in two
"flavors": computer and non-computer. Because Pocket PCs commonly connect to
computers, their serial ports are set up as NON-computer.".
Is this correct? Aren't the Pocket PCs setted to connect to computers?
Thanks again,
Fabrício.
<r_z_aret@pen_fact.com> wrote in message
news:dth1405qlsprncuq7k5mmrsjte5pa551ke@4ax.com...
> On Sat, 28 Feb 2004 07:53:11 -0300, "Fabrício de Novaes Kucinskis"
> <fabricio.nk@uol.com.br> wrote:
>
> >Hi,
> >
> >
> >I need to connect an iPaq 3650 to a device (a GPS Receiver-like) to
exchange
> >data. I have a few questions about it:
> >
> >1) There's an adapter to the iPaq connection port (the one used by the
> >craddle to connect to the PC) to a serial (DB9) connector?
>
> You will almost certainly need a "NULL modem". Serial ports come in
> two "flavors": computer and non-computer. Because Pocket PCs commonly
> connect to computers, their serial ports are set up as non-computer.
> That means the wires need to be crossed to connect to another
> non-computer. And that is what a NULL modem does. In the U.S., Radio
> Shack sells NULL modems for < $10, but they generally require use of a
> gender changer (changes pins) that costs about the same amount.
>
> >
> >2) How can I program this kind of connection? Can I use the .NET Compact
> >Framework or maybe the C++ or VB CE?
>
> In eVC, use CreateFile to open a connection, ReadFile to accept input,
> and WriteFile to send output. You can also use GetCommState,
> SetCommState, and other functions specifically for serial ports.
>
> >
> >Any help or link will be appreciated. Thanks in advance,
> >
> >
> >Fabrício de Novaes Kucinskis.
> >
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com
- Next message: José Ángel: "Where is d3d8.lib?"
- Previous message: Dr. Wolgales: "Linking error eVC++ 4 SP2 + SDK 2003"
- In reply to: r_z_aret_at_pen_fact.com: "Re: Connecting the PocketPC to a Serial Device"
- Next in thread: Beverly Howard [Ms-MVP/MobileDev]: "Re: Connecting the PocketPC to a Serial Device"
- Reply: Beverly Howard [Ms-MVP/MobileDev]: "Re: Connecting the PocketPC to a Serial Device"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|