nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gatts_attr_md_t Struct Reference

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.