hello.

I have the same problem . Zire 21 has an OMAP processor which can not send Raw IR.



From: "Edgar Tomas" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Subject: I can not  a IrDA connection
Date: Mon, 13 Sep 2004 18:01:58 -0000

Hi everybody,
I'm trying to enable a communication between a Zire 21 and MCP2120,I found the next sample to do that:


err = SrmOpen(0x8000,9600,&portid);

if(err) //Is there any error?
{
  StrPrintF(buf,"Unable to open port,error is [%d]",err);
  FrmCustomAlert(AlertError,buf,NULL,NULL);
  return false;
}

The code above works well.

//enable ir
err = SrmControl(portid,srmCtlIrDAEnable,&flags,&flagssize);
if(err) //Is there any error?
{
  StrPrintF(buf,"Error[%d] : srmCtlIrEnable",err);
  FrmCustomAlert(AlertError,buf,NULL,NULL);
  return;
}

But when I try to switch from RS232 to IrDA I got the error 0x030a "Palm OS Error Codes",when I tried to enable the IrDA communication,Does anybody know what it is happening?.Thanks
Regards
Edgar T. Lopez


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

_________________________________________________________________ MSN Latino: el sitio MSN para los hispanos en EE.UU. http://latino.msn.com/


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to