Hi, I'm trying to see if I can capture signals from a remote control. I am using the following simple code: #define irport 0x8001 #define baudrate 9600 // also tried 19200 38400 115200 char buffer[30]; UInt16 portid; UInt32 bytes; UInt16 error; error = SrmOpen(irport, baudrate, &portid); if (error) // display an error message bytes = SrmReceive(portid, buffer, 30UL, 500L, &error); if (error) // display value of ERROR else // display value of BYTES No matter what, I always get error 773 = 305 hex, which is serErrTimeOut. I've tried the remotes for a TV and a CD player, but no matter what button I press, it sits there for a few seconds and then I get the error. Anybody know what I'm doing wrong? Thanks! Tom -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
