S132 SoftDevice v6.1.1
Data Fields
ble_gatts_authorize_params_t Struct Reference

GATT Authorization parameters. More...

#include <ble_gatts.h>

Data Fields

uint16_t gatt_status
 
uint8_t update: 1
 
uint16_t offset
 
uint16_t len
 
uint8_t const * p_data
 

Detailed Description

GATT Authorization parameters.

Field Documentation

uint16_t ble_gatts_authorize_params_t::gatt_status

GATT status code for the operation, see GATT Status Codes.

uint16_t ble_gatts_authorize_params_t::len

Length in bytes of the value in p_data pointer, see Maximum attribute lengths.

uint16_t ble_gatts_authorize_params_t::offset

Offset of the attribute value being updated.

uint8_t const* ble_gatts_authorize_params_t::p_data

Pointer to new value used to update the attribute value.

uint8_t ble_gatts_authorize_params_t::update
      If set, data supplied in p_data will be used to update the attribute value.

Please note that for BLE_GATTS_AUTHORIZE_TYPE_WRITE operations this bit must always be set, as the data to be written needs to be stored and later provided by the application.


Documentation feedback | Developer Zone | Subscribe | Updated