Dear @siva.alagarsamy
There are two standard ways to activate/deactivate IrDA mode for an UART in WinCE:
-
IOCTL_SERIAL_ENABLE_IR, IOCTL_SERIAL_DISABLE_IR.
These IOCTLs still exist in WEC2013 - Calling EscapeCommFunction() with the parameter
SETIR
orCLRIR
.
TheCLRIR
parameter is only documented in the CE6 version of this article, but it is still there in WEC2013.
However, the iMX6 UART driver does currently (V1.3) not support IrDA at the moment, therefore the solutions mentioned above will not work. So far we didn’t have any request for IrDA, therefore we treated the implementation of IrDA to be of low importance.
As a workaround, you can access the UART registers directly after opeing the COM port, in order to activate the IrDA modulation.
Regards, Andy