<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Problem with queued writes handled by stack and require authorization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20422/problem-with-queued-writes-handled-by-stack-and-require-authorization</link><description>Hi all 
 I&amp;#39;m using the GATT server on the nRF51822 with the SoftDevice S130 V2.0.1. I&amp;#39;ve implemented a service and a characteristic which supports only write requests (including reliable write) and requires authorization. I tried to implement the handling</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Mar 2017 06:40:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20422/problem-with-queued-writes-handled-by-stack-and-require-authorization" /><item><title>RE: Problem with queued writes handled by stack and require authorization</title><link>https://devzone.nordicsemi.com/thread/79624?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 06:40:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2d2dad5-7467-47a8-a81e-3388e5bb67c7</guid><dc:creator>Remo</dc:creator><description>&lt;p&gt;The &lt;code&gt;reply.params.write.update&lt;/code&gt; flag must not be set when the write operation is BLE_GATTS_OP_PREP_WRITE_REQ.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with queued writes handled by stack and require authorization</title><link>https://devzone.nordicsemi.com/thread/79623?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 10:39:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ef26776-725d-47ad-9af7-79bb55482d44</guid><dc:creator>Remo</dc:creator><description>&lt;p&gt;Thank you for your answer. I saw in your example that the update flag in the reply struct is NOT set when the write operation is BLE_GATTS_OP_PREP_WRITE_REQ. Now it works :-)&lt;/p&gt;
&lt;p&gt;Am I right that the update flag must only be set in case of BLE_GATTS_OP_WRITE_REQ, BLE_GATTS_OP_WRITE_CMD and BLE_GATTS_OP_SIGN_WRITE_CMD?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with queued writes handled by stack and require authorization</title><link>https://devzone.nordicsemi.com/thread/79622?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2017 08:11:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee50777b-fd83-4e95-8027-5ca74082bb44</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m not seeing any obvious errors in your code, but have not tried to do queued writes with authorization either. However, in case you have not seen it, we did include an example for this in SDK 12 that you may use as reference: &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/ble_sdk_app_queued_writes.html?cp=4_0_1_4_2_2_28"&gt;Experimental: Queued Writes Application&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>