I am trying to get "RAW Ir" communication to function on a SmartPhone that has an OMAP850 CPU (an HTC 2125 phone). I am using the windows 'EscapeCommFunction' with the dwFunc parameter as 'SETIR' (and 'CLRIR') to supposedly put the serial hardware into a mode that allows RAW Ir. I could have sworn that I had it transmitting RAW Ir a few days ago (as seen on an oscilloscope) and went home. The next day I wrote a bunch of code to start to make use of my new found RAW Ir success only to find that I can no longer get it to communicate this way. I have since found an article about an hp iPAQ 6300 series of pocket PC that uses the OMAP and someone from hp is answering someone elses question about RAW Ir as:
"The iPAQ 6300 series devices use the TI OMAP processor. TI
states that the OMAP processor does not support a RAW mode
for IR. So, this is why the SETIR command is ignored."
Is this true, and is there any way to get RAW Ir to work on the OMAP850 hardware? Like I said, I'm sure that 'somehow' I managed to get it to happen briefly, only to lose it again...
Also, it doesn't seem to 'ignore' the SETIR command, as it won't transmit anything out the Ir port if I don't use this command, and if I do, then I can transmit, but it appears to have the IrDA overhead added to my data.
Is there some method other than the Windows call to 'EscapeCommFunction' using 'SETIR' to get this to happen?
Thanks!