PDA

View Full Version : Raw IR port on XDA?


Anonymous
06-03-2003, 04:15 PM
I'm trying to develop a driver for wireless (infrared) keyboard
which currently works well with most Pocket PC's. However,
I cannot find any information regarding the port structure of
the XDA and how to configure the COM port for Raw IR (IrDA
physical layer, but no IrDA stack). Is this information
available anywhere? I've tried the obvious things with a good
measure of trial-and-error thrown in, but no luck.

tyfy
31-03-2003, 11:20 AM
A book I have saysEscapeCommFunction(hIRPort, SETIR) changes the infrared port from operating in raw mode to IrComm mode.

EscapeCommFunction(hIRPort, CLRIR) returns the infrared port back to raw mode.

From that I would suggest looking at EscapeCommFunction(hIRPort, CLRIR).