nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
User memory layout for Queued Writes

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.