How to: Implement Synchronous Device Discovery

The OBEX protocol enables synchronous device discovery for Windows Mobile-based devices.

To implement synchronous device discovery

  1. Use the IObex::StartDeviceEnum method to initiate device discovery. A list of all remote devices within range of the local device is compiled.
  2. Use the IObex::StopDeviceEnum method to halt the device discovery process.
  3. Use the IObex::EnumDevices method to retrieve the list of devices that were discovered.

See Also

How to: Implement Asynchronous Device Discovery

OBEX Protocols Overview

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.