S132 SoftDevice v1.0.0-3.alpha
Macros
GATT Server Attribute Types

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.


This document was last updated on Thu Oct 15 2015.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.