Share via


Disconnecting from an OBEX Server (Windows Embedded CE 6.0)

1/6/2010

A call to the IObexDevice::Disconnect method terminates an OBEX session. Disconnect can include a description header for user readable information. The Disconnect request and response must fit into an OBEX packet, and have their final bits set.

The following optional headers can be used in a Disconnect request:

  • Description is used to specify a user-friendly description that can be displayed to the user.

The following header is always used:

  • Connection Id identifies the connection to disconnect.

The Disconnect command is optional and may not be used by many clients.

The following optional headers can be used in a Connect response:

  • Description is used to specify a user-friendly description that can be displayed to the user.

The following header is always used:

  • Connection Id identifies the connection to disconnect.

You can terminate the connection by closing the transport connection, but this method does not offer a description.

See Also

Concepts

Client Support