Syntax
VM_RESULT vm_bt_gatt_server_send_response(
    vm_bt_gatt_connection_t* connection, 
    VMUINT16 transmit_id, 
    VMBOOL has_error, 
    VM_BT_GATT_CHARACTERISTIC_HANDLE handle, 
    vm_bt_gatt_attribute_value_t* value
);
ContentsIndex
PreviousUpNext
vm_bt_gatt_server_send_response
Syntax
VM_RESULT vm_bt_gatt_server_send_response(
    vm_bt_gatt_connection_t* connection, 
    VMUINT16 transmit_id, 
    VMBOOL has_error, 
    VM_BT_GATT_CHARACTERISTIC_HANDLE handle, 
    vm_bt_gatt_attribute_value_t* value
);
Description

Send response to client for write request

Parameters
Parameters 
Description 
vm_bt_gatt_connection_t* connection 
[IN] Connection context from vm_bt_gatt_connection_callback
VMUINT16 transmit_id 
[IN] Transaction ID (the same with write/read request). 
VMBOOL has_error 
[IN] Non-zero indicates an error otherwise it's a success. 
VM_BT_GATT_CHARACTERISTIC_HANDLE handle 
[IN] Attribute handle (the same with write/read request). 
vm_bt_gatt_attribute_value_t* value 
[IN] Attribute value (the same with write request, ACK data of read request) 
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.