| S332 SoftDevice v2.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
User memory layout for Queued Writes
Generic Attribute Profile (GATT) Server

The following table shows the memory layout used by the SoftDevice to queue a Queued Write operation (Prepare Write ATT packet) in user memory:

Queued Write
Parameter | Size (octets) | Description
--- | --- | ---
Handle | 2 | Attribute Handle
Offset | 2 | Value Offset
Length | 2 | Value Length
Value | Length | Attribute Value

The application can parse the array of Queued Write instances at any time, but it is recommended to do so whenever an Execute Write ATT packet has been received over the air. See the GATT Server Queued Writes MSCs for more details. The array will be terminated by an Queued Write instance with its handle set to BLE_GATT_HANDLE_INVALID.