Re: Communicate via the IrDA port between a PPC and an non_Windows dev

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.


.



Relevant Pages

  • Re: Have USB IrDA device on computer -- now what?
    ... how does it talk to any IrDA device? ... > but Hyperterminal, Conn4x, etc. have no idea that it exists. ... "IR port", but I don't know what the applications might be. ... Windows 2000 Device Manager ...
    (comp.sys.hp48)
  • Re: Get IRDA Harware status on Windows Mobile..
    ... of Bluetooth and IRDA support on my Windows Mobile 5.0 smartphone ... the same for IRDA. ... Do we have the same type of API for IRDA availability/status checking? ... I use IR as a COM port. ...
    (microsoft.public.pocketpc.developer)
  • Problems with IrDA on Dell C640 with RedHat Linux...
    ... I have problem to make my IrDA port working on my Dell Latitude with RedHat 9.0 ... First something from bacground and BIOS. ... I have no idea what IrDA chip is installed in this laptop. ... alias sound-service-1-0 i810_audio ...
    (comp.os.linux.hardware)
  • Re: Communicate via the IrDA port between a PPC and an non_Windows
    ... "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 ... > What is the other device, are you sure it supports IrDA? ... >> I have selectionned the IrComm port but I encountered two problems: ...
    (microsoft.public.pocketpc.developer)
  • Re: IrDA Communication
    ... What sort of IrDA connection is to be made? ... to a serial port from several threads at the same time. ... could not transmit data because I think it would lock out usage on the port. ...
    (microsoft.public.dotnet.framework.compactframework)