Hi Lou,
    The problem is that the IR Port you are using is actually the
IrComm port running over the IrDA protocol suite. Probably _not_
what you're wanting.

    What you need to do is open the normal serial port then place
it into IR mode. The SrmControl call is used to enable/disable IR
mode and to enable/disable the IR receiver.

     Cheers,
     Bruce Thompson
     Senior Developer Support Engineer
     Palm Computing, Inc.

--------------------------------------------
Date: 19 Nov 1999 18:07:11 -0800
From: Lou Krieg <[EMAIL PROTECTED]>
Subject: New Serial Manager and IR

I need to send serial IR ASCII data to an external device (custom hardware,
etc). The transfer will be one way.

I have written a simple data sending app (and a receiving app for testing
purposes) using the New Serial Manager. The apps work fine when I test them
using a crossover cable and the cradle ports. However, when I make the
change of calling SrmOpen with the logical port ID of the IR Port rather
than the Cradle Port, the Palm devices (a V and a III, both running OS 3.3)
don't seem to be able to communicate.

I have set the flags using SrmControl to not do flow control, and I open the
port at 9600bps. Oh, and yes, I have both devices preferences set to not
receive beams, since I imagine this grabs the port periodically to look for
senders.

Any thoughts on where to look for problems will be most welcomed!

   -- Lou
_________________________________________________________________
Lou Krieg, President                          Tel: (802) 865-2728
Green Mountain Software Corporation           Fax: (802) 865-2468
85 Prim Road - Suite 302, PO Box 700       Internet: [EMAIL PROTECTED]
Colchester, Vermont 05446-0700                http://www.GMSW.com



Reply via email to