Syntax
VM_BT_CM_HANDLE vm_bt_cm_init(
    vm_bt_cm_callback callback, 
    VMUINT event_mask, 
    void* user_data
);
ContentsIndex
PreviousUpNext
vm_bt_cm_init
Syntax
VM_BT_CM_HANDLE vm_bt_cm_init(
    vm_bt_cm_callback callback, 
    VMUINT event_mask, 
    void* user_data
);
Description

Initializes the Bluetooth Connection Manager and registers the callback. The callback will be triggered when the events occur, as specified by the event_mask.

Parameters
Parameters 
Description 
vm_bt_cm_callback callback 
[IN] The callback to be invoked after an event occurs. 
VMUINT event_mask 
[IN] The event mask, a bitwise OR of the desired values in VM_BT_CM_EVENT
void* user_data 
[IN] The user data. 
Returns

The resource handle, a positive integer. A negative integer is returned when 

a failure occurs. Check VM_BT_CM_ERROR for error code.

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.