<?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>Queued Writes example problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23071/queued-writes-example-problems</link><description>Hi guys,
i&amp;#39;m trying experimental_ble_app_queued_writes out. I have some strange behavior.
The qwr service is 
 
 
 6e400001-b5a3-f393-e0a9-e50e24dcca9e but the characteristic is 
 
 
 00000002-0000-1000-8000-00805f9b34fb . 
 
 
 Is this normal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 30 Jun 2017 06:37:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23071/queued-writes-example-problems" /><item><title>RE: Queued Writes example problems</title><link>https://devzone.nordicsemi.com/thread/90795?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2017 06:37:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:283a271b-07ba-4925-9043-d4386ce57773</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, you are right, the correct UUID for the queued write characteristic is &lt;code&gt;6e400002-b5a3-f393-e0a9-e50e24dcca9e&lt;/code&gt;. The currently used characteristic UUID is the Bluetooth SIG base UUID, and it&amp;#39;s a bug that that UUID is being used for this characteristic.&lt;/p&gt;
&lt;p&gt;To obtain using the UART UUID, the uuid_type parameter should be added to the characteristic. In nrf_ble_qwrs.c --&amp;gt; &lt;code&gt;nrf_ble_qwrs_init()&lt;/code&gt;, the setup of the characteristic should look like the following:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t nrf_ble_qwrs_init(nrf_ble_qwrs_init_t *p_qwrs_init, nrf_ble_qwrs_t *p_qwrs)
{
    ....
    //Add Long characteristic
    ble_add_char_params_t add_char_params;

    memset(&amp;amp;add_char_params, 0, sizeof(add_char_params));
    add_char_params.uuid               = BLE_UUID_QWRS_LONG_CHARACTERISTIC;
	add_char_params.uuid_type	 =  p_qwrs-&amp;gt;uuid_type; //todo: add this line to use correct base UUID
    add_char_params.max_len            = BLE_QWRS_MAX_LONG_CHAR_LEN;
    add_char_params.init_len           = 0;
    add_char_params.char_props.write   = true;
    add_char_params.write_access       = SEC_OPEN;
    add_char_params.is_defered_write   = true;

    err_code = characteristic_add(p_qwrs-&amp;gt;service_handle,
                          &amp;amp;add_char_params,
                          &amp;amp;p_qwrs-&amp;gt;long_charact_handles);

    ...
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>