Re: Communicate via the IrDA port between a PPC and an non_Windows
- From: Franzl <Franzl@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Oct 2005 03:39:09 -0700
The other device is a personnal industrial device(with just a µP and
peripherics).I have implemented a modem IrDA.
"Receive all incoming beams" is of course disabling on the PDA.
I'm sure the port Com is correct(with HKEY_LOCAL_MACHINE I have acces to the
register base).
I choose IrComm (COM 3 on my PDA)) for a try to "dialog" with "sockets".
I choose IrDA(COM2) for a try to dialog "directly"(and here I have the error
55).Oh, by the way, I try to open the COM3 withouts sockets(like a serial
port COM...) and I can do it, but I can't configure the port COM3 in thi
case.I have no error message but it seems that the OS don't considere this
port as physical ports(just for sockets?).
Fanzl.
Thank for your help.
"Peter Foot [MVP]" wrote:
> What is the other device, are you sure it supports IrDA?
>
> With regards openning the port, have you tried disabling the "Receive all
> incoming beams" setting in Settings > Connections > Beam. Also where did you
> get the port number from, are you sure this is correct.
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> http://www.inthehand.com | http://www.peterfoot.net
>
> "Franzl" <Franzl@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:85450A19-F368-4F2B-BC41-FE6EBF10BFAD@xxxxxxxxxxxxxxxx
> >I have in my own a HP iPAQ rz1710 and Iwant to communicate via irda with an
> > inustrial application(who has no OS...).
> > I have selectionned the IrComm port but I encountered two problems:
> > 1.I Can't have physically acces to the IRDA port(When I try to open it I
> > have an error message 55:ERROR_DEV_NOT_EXIST).Is this normal(I think
> > yes...)
> > and is there a solution to have physically access to the port?
> > 2.I tried to open the Ircomm port using Winsock.But when I use the
> > getsockopt function, the value returned in pDevList->numDevice = 0.How is
> > this posible?Is there any IrDA device on my PDA???
> > Here is the code that I use for:
> >
> > // search for the peer device
> > pDevList->numDevice = 0;
> > if (getsockopt(NewSock, SOL_IRLMP, IRLMP_ENUMDEVICES, (CHAR *) pDevList,
> > &DevListLen)
> > == SOCKET_ERROR)
> > {
> > WSAGetLastError();
> > }
> >
> > if (pDevList->numDevice == 0)
> > {
> > // no devices found, tell the user
> > }
> > Thanks for your answers.
>
>
>
.
- Follow-Ups:
- Re: Communicate via the IrDA port between a PPC and an non_Windows
- From: Robert Bur*** [eMVP]
- Re: Communicate via the IrDA port between a PPC and an non_Windows
- References:
- Re: Communicate via the IrDA port between a PPC and an non_Windows dev
- From: Peter Foot [MVP]
- Re: Communicate via the IrDA port between a PPC and an non_Windows dev
- Prev by Date: Re: Communicate via the IrDA port between a PPC and an non_Windows dev
- Next by Date: Deploy difficult than coding.. Help please!
- Previous by thread: Re: Communicate via the IrDA port between a PPC and an non_Windows dev
- Next by thread: Re: Communicate via the IrDA port between a PPC and an non_Windows
- Index(es):