Syntax
VM_RESULT vm_bt_gatt_server_add_descriptor(
    VM_BT_GATT_CONTEXT_HANDLE context, 
    VM_BT_GATT_SERVICE_HANDLE service, 
    const vm_bt_gatt_attribute_uuid_t* descriptor_uuid, 
    VM_BT_GATT_PERMISSION permission
);
ContentsIndex
PreviousUpNext
vm_bt_gatt_server_add_descriptor
Syntax
VM_RESULT vm_bt_gatt_server_add_descriptor(
    VM_BT_GATT_CONTEXT_HANDLE context, 
    VM_BT_GATT_SERVICE_HANDLE service, 
    const vm_bt_gatt_attribute_uuid_t* descriptor_uuid, 
    VM_BT_GATT_PERMISSION permission
);
Description

Adds a descriptor to a given service.

Parameters
Parameters 
Description 
VM_BT_GATT_CONTEXT_HANDLE context 
[IN] The context of the GATT server. 
VM_BT_GATT_SERVICE_HANDLE service 
[IN] Service handle from vm_bt_gatt_service_added_callback
const vm_bt_gatt_attribute_uuid_t* descriptor_uuid 
[IN] UUID of the descriptor to add. The inst field can be ignored. 
VM_BT_GATT_PERMISSION permission 
[IN] Permission of the descriptor. Use bit flags defined in VM_BT_GATT_PERMISSION
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.