Device Capability (Windows Embedded CE 6.0)

1/6/2010

Device capability offers the client a hint of what an OBEX server can do. When devices are discovered, the transport layer builds the device capability bit field. The client uses these flags to determine which services the OBEX server supports. This flag does not necessarily mean that the server offers that service; it is merely a hint. To confirm the service, the client sends a connection request to the server. If the server does not offer the requested service, the connection fails.

By default, the following capabilities are supported:

  • Push
  • File Browsing
  • Synchronization

For IrDA, the device capability bits tell the transport layer to attempt a connection to the OBEX:IrXfer port. If that fails, the OBEX port is tried for compatibility with other devices. The mapping of device capabilities to port names is stored in the registry so it can be extended. If a new service expects connections on a different port name, a new device capability must be defined.

For Bluetooth wireless technology, the device capability hint instructs the transport to connect to the correct service class identifier on the remote device.

See Also

Concepts

Discovering OBEX Devices