Syntax
typedef void (* vm_bt_gatt_request_write_callback)(vm_bt_gatt_connection_t* connection, VMUINT16 transmit_id, vm_bt_gatt_address_t* gatt_address, VM_BT_GATT_CHARACTERISTIC_HANDLE attr_handle, vm_bt_gatt_attribute_value_t* value, VMUINT16 offset, VMBOOL need_response, VMBOOL is_prep);
ContentsIndex
PreviousUpNext
vm_bt_gatt_request_write_callback
Syntax
typedef void (* vm_bt_gatt_request_write_callback)(vm_bt_gatt_connection_t* connection, VMUINT16 transmit_id, vm_bt_gatt_address_t* gatt_address, VM_BT_GATT_CHARACTERISTIC_HANDLE attr_handle, vm_bt_gatt_attribute_value_t* value, VMUINT16 offset, VMBOOL need_response, VMBOOL is_prep);
Description

Client write characteristic request indication

Parameters
Parameters 
Description 
connection 
[IN] Connection context from vm_bt_gatt_connection_callback
transmit_id 
[IN] Transaction ID(used when send response). 
gatt_address 
[IN] BT Address. 
attr_handle 
[IN] Attribute handle. 
value 
[IN] attribute value. 
offset 
[IN] Write offset. 
need_response 
[IN] True: needs a response(write request), False: doesn't need response(write command) 
is_prep 
[IN] Set to true in order to write long characteristic/reliable writes 
Returns

void

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.