Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclBluetoothRadio::Discover Method

Starts discovering for a remote Bluetooth enabled devices.

Syntax
C++
int Discover(unsigned char Timeout, wclBluetoothDiscoverKind Kind);
Parameters 
Description 
unsigned char Timeout 
Specifies the maximum amount of time before the inquiry is halted (in seconds).  
wclBluetoothDiscoverKind Kind 
Specifies the discovered Bluetooth device types.  

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 OnDiscoveingCompleted event of the CwclBluetoothManager component fires.  

 

Copyright (c) 2006-2019. All rights reserved.