Just open the serial port as normal - then redirect as shown below

static void CommsEnableInfrared()
{
        SerControl(SerialRef, serCtlIrDAEnable, 0, 0);
}

static void CommsDisableInfrared()
{
        SerControl(SerialRef, serCtlIrDADisable, 0, 0);
}

Alan Burgess
Grosvenor Technology Ltd
[EMAIL PROTECTED] 

 -----Original Message-----
From:   James [mailto:[EMAIL PROTECTED]] 
Sent:   10 October 2000 06:43
To:     Palm Developer Forum
Subject:        Serial Communication via IR

Has anyone ever tried this, without going the IrDA route/or using the
Exchange manager?  I'm trying to develop an application and all the
overhead of the IrDA stack is not really needed.  I'm trying to get a
Palm to communicate to a non-Palm.  I will be writing software for the
other platform(a PC) and will be using some Serial libraries to send and
receive data from the PC.

I'll just be sending some coordinate information back and forth between
the Palm and the non-Palm.

What is the best approach for doing this kind of communication between a
Palm and a non-Palm device...(IrDA, Serial over IR, etc.)?

Thanks in advance.

-James

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

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

Reply via email to