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

Description

GATT database attribute value parameters.

Data Fields

cy_stc_ble_gatt_handle_value_pair_t handleValuePair
 handle value pair of type cy_stc_ble_gatt_handle_value_pair_t. More...
 
uint16_t offset
 Offset in bytes at which the data is written or read.
 
cy_stc_ble_conn_handle_t connHandle
 Connection Handle.
 
uint8_t flags
 Attribute permissions. More...
 

Field Documentation

◆ handleValuePair

cy_stc_ble_gatt_handle_value_pair_t cy_stc_ble_gatts_db_attr_val_info_t::handleValuePair

handle value pair of type cy_stc_ble_gatt_handle_value_pair_t.

'handleValuePair.attrHandle' is an input for which a value must be read/written. 'handleValuePair.value.len' is an input parameter for the length to be read/written. 'handleValuePair.value.val' is an input parameter for the data buffer when writing and an output parameter for the data buffer when reading. 'handleValuePair.actualLen' must be ignored as it is unused

◆ flags

uint8_t cy_stc_ble_gatts_db_attr_val_info_t::flags

Attribute permissions.

Allowed values are,

  • CY_BLE_GATT_DB_LOCALLY_INITIATED
  • CY_BLE_GATT_DB_PEER_INITIATED