Share via


Registry Settings for OBEX Server

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

You can change the registry settings for the OBEX server extensions. The registry key is HKEY_LOCAL_MACHINE\Software\Microsoft\OBEX\Services. The key can include one of the following subkeys:

  • Universally unique identifier (UUID)
  • String name
  • Set of hexadecimal digits

There is a subkey for each exported service. A subkey must evaluate to a TARGETID field in the OBEX request packet. For more information about OBEX requests, see the OBEX documentation under "Object Exchange Protocol" in the MSDN library.

The registry key can also contain the value for BluetoothSdpRecord, which is sent to Service Discovery Protocol (SDP) for OBEX. The OBEX server provides a channel ID for the record, registers it at startup, and unregisters it at shutdown.

You can change the registry settings for the OBEX server configuration parameters. The registry key is HKEY_LOCAL_MACHINE\Software\Microsoft\OBEX.

The following table shows the registry values.

Value Description

IsEnabled

This value is a DWORD. If the value is 0, the server does not start on boot.

ServerTimeout

A DWORD time-out value, in ms, after which a service extension with no active connections is unloaded.

ConnectionTimeout

A DWORD time-out value, in ms, after which a physical connection with no activity is closed.

MaintPeriod

A DWORD time-out value, in ms, which refers to how often internal maintenance operations, such as compacting the heap, are performed.

Protocols

A string value that contains the comma-separated list of transports used by the server.

See Also

Other Resources

OBEX Application Development