Page 1 of 1

PostPosted: Sun May 01, 2005 9:28 am
by fogl
I would like to send data from palm to uC, and i don't want to use any of these protocol (OBEX, TinyTP, IrLMP, IrLAP, IrComm...). I would like to send/recieve a single character, one after another. Is that possible, how?

PostPosted: Sun May 01, 2005 2:28 pm
by dewey
That is called raw IR, and (as a general rule) is available on devices that do not contain the OMAP processor. See seropenx() docs.

PostPosted: Wed May 04, 2005 1:09 pm
by fogl
Now i can send data with Raw IR, but i can't receive it. Is the code ok? I get errNone both times, but the message is always empty.
Does anybody have a working sample of cade for Raw IR receiving/transmiting?

case MainWaitfordataButton:

PostPosted: Thu May 05, 2005 4:08 pm
by fogl
I found the answer. I should include:
SrmControl(portId, srmCtlIrDAEnable, 0L, 0L);
SrmControl(portId, srmCtlRxDisable, 0L, 0L); ... akeup.html

PostPosted: Thu May 05, 2005 4:10 pm
by fogl
Sorry, SrmControl(portId, srmCtlRxEnable, 0L, 0L);