Share via


IrDA Registry Settings (Windows Embedded CE 6.0)

1/6/2010

You can configure the IrDA components through the registry. The IrDA registry settings are defined in Common.reg located in %WINCEROOR%\Public\Common\Oak\Files directory.

Note

The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

The device index that is registered by IrCOMM is stored in the HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM registry key.

The following table shows the named values to set for the IrCOMM registry key.

Value: type Description

Dll: REG_SZ

String value that contains the name of the DLL to load. This is set to "IRCOMM.DLL".

Index : REG_DWORD

Controls the device index that IrCOMM registers. Default value is set to 3, which creates a virtual COM3 serial port.

Prefix : REG_SZ

For serial ports, this string value is set to "COM".

The following registry key example shows the default values.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM]
  "Dll"="IRCOMM.DLL"
  "Prefix"="COM"
  "Order"=dword:1
  "Index"=dword:3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM\Unimodem]
  "Tsp"="Unimodem.dll"
  "DeviceType"=dword:6
  "FriendlyName"=mui_sz:"unimodem.dll,#9013"
  "DevConfig"=hex: 10,00, 00,00, 02,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00

The values defined under the HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms registry key configure the IrSIR driver.

The following table shows the named values to set for the Irsir1\Parms registry key.

Value: type Description

Port : REG_DWORD

The actual port number that IrSIR opens. The range is 0-9.

IntIR : REG_DWORD

Determines whether IrSIR should use the shared hardware as an IR port or a serial port.

Set to one of the following values:

  • 0 - Use external dongle. Default.
  • 1 - Use internal IR.

TransceiverType : REG_DWORD

Determines the type of IR serial interface.

  • 0 - Standard UART interface. Default.
  • 1 - Extended systems JetEye Dongle (ESI_9680).

See Also

Concepts

IrDA OS Design Development
IrDA Application Development

Other Resources

Infrared Communications