nRF51 SDK: GATT Server Attribute Types

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
GATT Server Attribute Types
Defines

## Macros

#define | BLE_GATTS_ATTR_TYPE_INVALID 0x00
#define | BLE_GATTS_ATTR_TYPE_PRIM_SRVC_DECL 0x01
#define | BLE_GATTS_ATTR_TYPE_SEC_SRVC_DECL 0x02
#define | BLE_GATTS_ATTR_TYPE_INC_DECL 0x03
#define | BLE_GATTS_ATTR_TYPE_CHAR_DECL 0x04
#define | BLE_GATTS_ATTR_TYPE_CHAR_VAL 0x05
#define | BLE_GATTS_ATTR_TYPE_DESC 0x06
#define | BLE_GATTS_ATTR_TYPE_OTHER 0x07

## Detailed Description

## Macro Definition Documentation

#define BLE_GATTS_ATTR_TYPE_CHAR_DECL 0x04

Characteristic Declaration.

#define BLE_GATTS_ATTR_TYPE_CHAR_VAL 0x05

Characteristic Value.

#define BLE_GATTS_ATTR_TYPE_DESC 0x06

Descriptor.

#define BLE_GATTS_ATTR_TYPE_INC_DECL 0x03

Include Declaration.

#define BLE_GATTS_ATTR_TYPE_INVALID 0x00

Invalid Attribute Type.

#define BLE_GATTS_ATTR_TYPE_OTHER 0x07

Other, non-GATT specific type.

#define BLE_GATTS_ATTR_TYPE_PRIM_SRVC_DECL 0x01

Primary Service Declaration.

#define BLE_GATTS_ATTR_TYPE_SEC_SRVC_DECL 0x02

Secondary Service Declaration.