Starts discovering for a remote Bluetooth enabled devices.
- Parameters
-
Timeout | Specifies the maximum amount of time before the inquiry is halted (in seconds). |
Kind | Specifies the discovered Bluetooth device types. |
IncludePaired | Set this parameter to true if you need to get paired devices reported as just found even such devices are not available. If this parameter is false only available devices will be returned. |
- Returns
- If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
If the discovering started the OnDiscoveringStarted
event of the CwclBluetoothManager component fires.
When the discovering for the remote Bluetooth enabled devices completed (with or without success) the OnDiscoveringCompleted
event of the CwclBluetoothManager component fires.
- See also
- wclBluetoothDiscoverKind