Re: Communicate via the IrDA port between a PPC and an non_Windows dev
- From: "Peter Foot [MVP]" <feedback@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 14 Oct 2005 11:12:57 +0100
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:
- Prev by Date: changing currency symbol
- Next by Date: Re: Communicate via the IrDA port between a PPC and an non_Windows
- Previous by thread: changing currency symbol
- Next by thread: Re: Communicate via the IrDA port between a PPC and an non_Windows
- Index(es):
Relevant Pages
|