| S132 SoftDevice v3.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
GATT Value Locations
Defines

## Macros
#define | BLE_GATTS_VLOC_INVALID 0x00
#define | BLE_GATTS_VLOC_STACK 0x01
#define | BLE_GATTS_VLOC_USER 0x02

## Detailed Description

## Macro Definition Documentation

#define BLE_GATTS_VLOC_INVALID 0x00

Invalid Location.

#define BLE_GATTS_VLOC_STACK 0x01

Attribute Value is located in stack memory, no user memory is required.

#define BLE_GATTS_VLOC_USER 0x02

Attribute Value is located in user memory. This requires the user to maintain a valid buffer through the lifetime of the attribute, since the stack will read and write directly to the memory using the pointer provided in the APIs. There are no alignment requirements for the buffer.