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

GATT Attribute Context. More...

`#include <ble_gatts.h>`

## Data Fields

ble_uuid_t | srvc_uuid
ble_uuid_t | char_uuid
ble_uuid_t | desc_uuid
uint16_t | srvc_handle
uint16_t | value_handle
uint8_t | type

## Detailed Description

GATT Attribute Context.

## Field Documentation

ble_uuid_t ble_gatts_attr_context_t::char_uuid

Characteristic UUID if applicable (BLE_UUID_TYPE_UNKNOWN if N/A).

ble_uuid_t ble_gatts_attr_context_t::desc_uuid

Descriptor UUID if applicable (BLE_UUID_TYPE_UNKNOWN if N/A).

uint16_t ble_gatts_attr_context_t::srvc_handle

Service Handle.

ble_uuid_t ble_gatts_attr_context_t::srvc_uuid

Service UUID.

uint8_t ble_gatts_attr_context_t::type

Attribute Type, see BLE_GATTS_ATTR_TYPES.

uint16_t ble_gatts_attr_context_t::value_handle

Characteristic Handle if applicable (BLE_GATT_HANDLE_INVALID if N/A).