Syntax
VM_RESULT vm_bt_cm_search(
    VMUINT8 max_response, 
    VMUINT16 timeout, 
    VMUINT class_of_device, 
    VMBOOL is_name_discovery
);
ContentsIndex
PreviousUpNext
vm_bt_cm_search
Syntax
VM_RESULT vm_bt_cm_search(
    VMUINT8 max_response, 
    VMUINT16 timeout, 
    VMUINT class_of_device, 
    VMBOOL is_name_discovery
);
Description

Searches for the Bluetooth devices.The search process could trigger two events, the VM_BT_CM_EVENT_INQUIRY_IND and VM_BT_CM_EVENT_INQUIRY_COMPLETE, which in turn triggers the callback.

Parameters
Parameters 
Description 
VMUINT8 max_response 
[IN] The maximum number of devices that will be detected. 
VMUINT16 timeout 
[IN] The timeout for the search. It will stop the search after the timeout. 
VMUINT class_of_device 
[IN] Specifies the type of Bluetooth devices to search for. The 0xFFFFFFFF is for searching all devices. Refer to General- and Device-Specific Inquiry Access Codes (DIACs) for details. 
VMBOOL is_name_discovery 
[IN] Specifies whether to do name discovery. 
Returns

VM_RESULT. Refer to VM_BT_CM_RESULT for detail.

File

vmbt_cm.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.