This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DiscoverDevice Method not work!

Hello everybody,

I try to work with BLE Devices using LabView and the MasterEmulator API. I can start the USB Dongel (PAC10000) and enable "StartDeviceDiscovery". The Property "IsDeviceDiscoveryOngoing" says that Discovery works. But the function "DiscoverDevices" gives me no result. Is there any more to do after "StartDeviceDiscovery" before I can get Device Information with "DisoverDevices"? Thanks a lot and Regards

Parents
  • StartDeviceDiscovery and DiscoverDevices are not intended to be used together, they are alternatives to each other.

    DiscoverDevices is synchronous, it scans for a short while and returns the found devices in the return value.

    StartDeviceDiscovery is asynchronous, it scans continuously and reports found devices through the DeviceDiscovered event. It will continue scanning until StopDeviceDiscovery is called.

Reply
  • StartDeviceDiscovery and DiscoverDevices are not intended to be used together, they are alternatives to each other.

    DiscoverDevices is synchronous, it scans for a short while and returns the found devices in the return value.

    StartDeviceDiscovery is asynchronous, it scans continuously and reports found devices through the DeviceDiscovered event. It will continue scanning until StopDeviceDiscovery is called.

Children
No Data
Related