On Tue, 13 Apr 1999, Bozidar Benc wrote:
> a) How to programmatically switch serial communication from/to
> Cradle<->Infrared
Some really nice person from Palm posted this a few months ago.
SerControl(SerL, serCtlIrDAEnable, 0, 0);
SerL is set by SysLibFind("Serial Library",&SerL);
(and serCtlIrDADisable).
On a PPro w/ upgrade board, use "IrSerial Library" instead of serial
library (and you still need to do the SerControl call).
The above should be replaced by something much better in 3.2, but they
haven't released the specs yet.
> b) How to programmatically switch IR sniffing (Beam Receive) on/off?
That I don't know. If the serial port is open it seems to get shut off
for that period automatically. But there is probably something in the
headers that would point the way.
Palm might have some ideas, but why would you want to override this other
than to access the UART?