Syntax
VM_RESULT vm_bt_gatt_client_connect(
    VM_BT_GATT_CONTEXT_HANDLE context, 
    vm_bt_gatt_address_t* gatt_address, 
    VMBOOL direct
);
ContentsIndex
PreviousUpNext
vm_bt_gatt_client_connect
Syntax
VM_RESULT vm_bt_gatt_client_connect(
    VM_BT_GATT_CONTEXT_HANDLE context, 
    vm_bt_gatt_address_t* gatt_address, 
    VMBOOL direct
);
Description

Send connect remote device to GATT

Parameters
Parameters 
Description 
VM_BT_GATT_CONTEXT_HANDLE context 
[IN] Client context from vm_bt_gatt_register_client_callback
vm_bt_gatt_address_t* gatt_address 
[IN] Bluetooth Address 
VMBOOL direct 
[IN] TRUE: Direct connect (try connect once, if failed, callback will return in 20 seconds. 
FALSE 
Background connect (try connect in background. If the device appears, callback will be invoked.) Note that once the device is connected, background connect stops. Therefore, to continuously searching for a certain device, call vm_bt_gatt_client_connect vm_bt_gatt_client_connect with direct set to FALSE when receiving 
Returns
File

vmbt_gatt.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.