At 4:03 PM +0000 2000/02/01, Magn�s ��r Torfason wrote:
>Our little test application (Three buttons (OPEN, CLOSE, SEND), and a
>receive loop), works fine when using
>   e = SrmOpen(serPortCradlePort, 9600, &PortID);
>(we just connect two cradles together and use two palms)
>
>We then change just one line:
>   e = SrmOpen(serPortIrPort, 9600, &PortID);
>and try placing the devices opposite each other.  We get no errors, but the
>receive loop never gets anything into the buffer.

That's because you've opened up the IR port as a plain serial port, not as an IrComm 
port. Try opening the sysFileCVirtIrComm ('ircm') port instead.

Regards,

Jim Schram
3Com/Palm Computing
Partner Engineering



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to