Syntax
VM_RESULT vm_bt_gatt_server_add_characteristic(
    VM_BT_GATT_CONTEXT_HANDLE context, 
    VM_BT_GATT_SERVICE_HANDLE service, 
    const vm_bt_uuid_with_length_t* characteristic_uuid, 
    VM_BT_GATT_CHAR_PROPERTIES properties, 
    VM_BT_GATT_PERMISSION permission
);
ContentsIndex
PreviousUpNext
vm_bt_gatt_server_add_characteristic
Syntax
VM_RESULT vm_bt_gatt_server_add_characteristic(
    VM_BT_GATT_CONTEXT_HANDLE context, 
    VM_BT_GATT_SERVICE_HANDLE service, 
    const vm_bt_uuid_with_length_t* characteristic_uuid, 
    VM_BT_GATT_CHAR_PROPERTIES properties, 
    VM_BT_GATT_PERMISSION permission
);
Description

Adds a characteristic to a 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_uuid_with_length_t* characteristic_uuid 
[IN] The UUID of the characteristic to add. 
VM_BT_GATT_CHAR_PROPERTIES properties 
[IN] Characteristic properties, use the bit flags VM_BT_GATT_CHAR_PROPERTIES
VM_BT_GATT_PERMISSION permission 
[IN] Read and write permission of the characteristic. Use the bit flags 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.