Partager via


Infrared Serial Driver (IrSIR) (Windows Embedded CE 6.0)

1/6/2010

IrSIR is an NDIS miniport driver that implements the Serial Infrared (SIR) MAC layer that binds to the IrDA stack. It translates NDIS requests from the IrDA protocol driver to the corresponding serial port requests. For example, when an NdisSendPackets request is received, IrSIR translates this call to a WriteFile request on the serial port.

By default, Windows Embedded CE–based devices provide SIR support through IrSIR. To provide support for Medium IR (MIR) and Fast IR (FIR) speeds, you must replace the IrSIR module with an NDIS miniport driver that implements MIR or FIR functionality.

Note

All IrDA communications start at 9600 baud rate, so SIR speeds are required in a driver that supports MIR or FIR.

The sample implementation of IrSIR is provided in the %WINCEROOT%\Public\Common\Oak\Drivers\Irmac directory. You must also configure the HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage registry key so that the stack is aware of the new driver and the driver can bind to the IrDA stack. The presence of this registry key indicates that IrDA is supported on the device.

See Also

Concepts

IrDA OS Design Development
IrDA Application Development
IrDA Stack Architecture