I while ago I was looking into using raw IRDA to communicate between a Palm
(m100) and an instrument. I wrote the following code snippet to test sending
data and it work (on a m100).
if (SrmOpen(serPortIrPort,BAUD,&iPort) == 0)
{
SrmControl(iPort,srmCtlIrDAEnable,NULL,0);
SrmControl(iPort,srmCtlGetFlags,&iFlags,&iSizeFlags);
iFlags |= srmSettingsFlagStopBits2;
SrmControl(iPort,srmCtlSetFlags,&iFlags,&iSizeFlags);
SrmSend(iPort,pData,iSize,&err);
SrmSendWait(iPort);
SrmControl(iPort,srmCtlIrDADisable,NULL,0);
SrmClose(iPort);
}
However before anything was developed the project was put on hold.
I've now come back to looking at the project and I've tried to run my old
test program on my newer Palm (m505) and I find the it nolonger works.
Is there any difference in the IRDA implementation between a m100 and an
m505 that could be effecting this code?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/