nRF51 SDK: ble_gatts_read_authorize_params_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gatts_read_authorize_params_t Struct Reference
Generic Attribute Profile (GATT) Server | Structures | Generic Attribute Profile (GATT) Server

GATT Read 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 * | p_data

## Detailed Description

GATT Read Authorization parameters.

## Field Documentation

uint16_t ble_gatts_read_authorize_params_t::gatt_status

GATT status code for the operation, see BLE_GATT_STATUS_CODES.

uint16_t ble_gatts_read_authorize_params_t::len

Length in bytes of the value in p_data pointer, see BLE_GATTS_ATTR_LENS_MAX.

uint16_t ble_gatts_read_authorize_params_t::offset

Offset of the attribute value being updated.

uint8_t * ble_gatts_read_authorize_params_t::p_data

Pointer to new value used to update the attribute value.

uint8_t ble_gatts_read_authorize_params_t::update

If set, data supplied in p_data will be used in the ATT response.