nRF51 SDK: ble_gatts_attr_md_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_attr_md_t Struct Reference
Generic Attribute Profile (GATT) Server | Structures | Generic Attribute Profile (GATT) Server

Attribute metadata. More...

`#include <ble_gatts.h>`

## Data Fields

ble_gap_conn_sec_mode_t | read_perm
ble_gap_conn_sec_mode_t | write_perm
uint8_t | vlen:1
uint8_t | vloc:2
uint8_t | rd_auth:1
uint8_t | wr_auth:1

## Detailed Description

Attribute metadata.

## Field Documentation

uint8_t ble_gatts_attr_md_t::rd_auth

Read Authorization and value will be requested from the application on every read operation.

ble_gap_conn_sec_mode_t ble_gatts_attr_md_t::read_perm

Read permissions.

uint8_t ble_gatts_attr_md_t::vlen

Variable length attribute.

uint8_t ble_gatts_attr_md_t::vloc

Value location, see BLE_GATTS_VLOCS.

uint8_t ble_gatts_attr_md_t::wr_auth

Write Authorization will be requested from the application on every Write Request operation (but not Write Command).

ble_gap_conn_sec_mode_t ble_gatts_attr_md_t::write_perm

Write permissions.