Contents
Display Legacy Contents

 Print
    Bluetooth Start Device Discovery    
Starts the discovery of Bluetooth devices.

Parameters

Targets
 

MAC Address<unquoted string>: the control or variable where the MAC Address of the discovered device will be stored.

 

Name<unquoted string>: the control or variable where the name of the discovered device will be stored.

 

PairingState<numeric>: the control or variable where the pairing state of the discovered device will be stored. It can be:
 0-Not Paired 
 1-Paired

     
  • This action starts the discovery process. When a Bluetooth device is discovered the event Bluetooth Device Found will be executed on the top form.
  • When the discovery process is finished the event Bluetooth Discovery Finished will be executed on the top form.
  • On Win32 clients, the process is actually synchronous. So this call will be a blocking call and for each device found the event Bluetooth Device Found will be executed and at the end the event Bluetooth Discovery Finished will be executed.
  • On some Windows CE/Mobile devices this function may not be available. It will depend on the actual Bluetooth drivers of the device.

See also
Samples

 
 
Updated: 7/12/2016 9:58 AM