Important: Before you run this example, make sure to program the SoftDevice.
The Queued Writes Application is an example that demonstrates the use of Queued Writes. It covers the GATT prepare write and execute write operations. The example uses a proprietary Queued Write Service with a single characteristic that supports reliable write operations. The service uses the Queued Writes module to handle prepare and execute write operations.
Before validating that writes have been executed, the service calls the application with the received data. The example application rejects the write operation if the first byte of the received data is 0, and accepts it otherwise.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\experimental\ble_app_queued_writes
Test the Queued Writes Application with nRF Connect by performing the following steps: