Partager via


Client Support (Windows CE 5.0)

Send Feedback

An OBEX client initiates an underlying transport connection to an OBEX server. The following commands are used to establish and release this connection:

  • Connect enables the client to connect to an OBEX server through the OBEX layer. To obtain a list of available devices, the client calls the IObex::EnumDevices method. Each device exposes a Connect method. If an OBEX server does not exist on the device, the connection fails. Transport-specific information is hidden from the user; only the name and address is exposed.
  • Disconnect releases the client/server connection and frees associated resources.

Once a connection is established, the client can issue the following commands:

  • Put pushes data from the local device to the OBEX server.
  • Get pulls data from the OBEX server, providing the server allows this function.
  • Abort terminates a multipacket Put or Get method.
  • SetPath sets the current browsing directory on the OBEX server or creates a new directory.

The following topics contain more information about OBEX client support:

For more information on how these commands are used, see the following examples:

See Also

Server Support | OBEX Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.