Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
cy_stc_ble_gatts_exec_write_req_t Struct Reference

Description

Execute Write result.

Data Fields

cy_stc_ble_gatt_handle_value_offset_param_tbaseAddr
 Base address of the queue where data is queued. More...
 
cy_stc_ble_conn_handle_t connHandle
 Connection handle.
 
cy_ble_gatt_db_attr_handle_t attrHandle
 Attribute Handle at which the error occurred. More...
 
uint8_t prepWriteReqCount
 Total count of prepare requests from remote. More...
 
uint8_t execWriteFlag
 Execute write flag received from remote.
 
uint8_t gattErrorCode
 The application-provided GATT error code for the procedure. More...
 

Field Documentation

◆ baseAddr

cy_stc_ble_gatt_handle_value_offset_param_t* cy_stc_ble_gatts_exec_write_req_t::baseAddr

Base address of the queue where data is queued.

Queue is of type cy_stc_ble_gatt_handle_value_offset_param_t. baseAddr[0].handleValuePair.value.val provides the base address of the total data stored in the prepare write queue internally by the Stack. The application can calculate the total length based on each each array element; i.e., total length = baseAddr[0].handleValuePair.value.len+ ....+baseAddr[prepWriteReqCount-1].handleValuePair.value.len

◆ attrHandle

cy_ble_gatt_db_attr_handle_t cy_stc_ble_gatts_exec_write_req_t::attrHandle

Attribute Handle at which the error occurred.

This is an o/p param.

◆ prepWriteReqCount

uint8_t cy_stc_ble_gatts_exec_write_req_t::prepWriteReqCount

Total count of prepare requests from remote.

This parameter can be used to access the data from 'baseAddr[]'. The array index will range from 0 to prepWriteReqCount - 1.

◆ gattErrorCode

uint8_t cy_stc_ble_gatts_exec_write_req_t::gattErrorCode

The application-provided GATT error code for the procedure.

This is an o/p param.