<?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>Write data to control point characteristic failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41282/write-data-to-control-point-characteristic-failed</link><description>Hello, 
 I&amp;#39;m using a nrf51822 board as a DFU controller to update another board&amp;#39;s application, the client board runs the bootloader secure example. When I write data to the control point characteristic, the client board does not generate any event. It</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Dec 2018 00:28:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41282/write-data-to-control-point-characteristic-failed" /><item><title>RE: Write data to control point characteristic failed</title><link>https://devzone.nordicsemi.com/thread/160648?ContentTypeID=1</link><pubDate>Fri, 07 Dec 2018 00:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d65a63c-fccd-44ef-bf23-292f711fecda</guid><dc:creator>Nothing</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. I&amp;#39;m sending data from the server to the client. And I have found the problem, the write_op should be&amp;nbsp;BLE_GATTS_OP_WRITE_REQ.&amp;nbsp; But what&amp;#39;s the differences between&amp;nbsp;&lt;span&gt;BLE_GATTS_OP_WRITE_REQ and&amp;nbsp;BLE_GATTS_OP_WRITE_CMD.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write data to control point characteristic failed</title><link>https://devzone.nordicsemi.com/thread/160583?ContentTypeID=1</link><pubDate>Thu, 06 Dec 2018 13:26:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b1a2e8-6e10-4519-ac86-df52e16be1dd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So you are sending a write command from the client to the server? If the characteristic requires authorization(&lt;span&gt;wr_auth set to true when configuring the&amp;nbsp;characteristic&lt;/span&gt;),you will on the server receive a BLE_GATTS_EVT_WRUTE event with auth_required flag set to 1. Then you need to call sd_ble_gatts_value_set on the server. See &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_t_t_s___w_r_i_t_e___c_m_d___a_u_t_h___m_s_c.html?cp=3_7_2_1_0_2_4_3_17"&gt;this message sequence chart&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>