<?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>How to use the QWR module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84479/how-to-use-the-qwr-module</link><description>Hi Nordic, 
 how can i use the QWR module on the ble_nus_uart peripheral example? In the example we use nrf_ble_qwr_init() to initialize the module but i don&amp;#39;t get the effect of it. 
 I want to use it because i need to transmit data as fast as possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Feb 2022 11:41:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84479/how-to-use-the-qwr-module" /><item><title>RE: How to use the QWR module</title><link>https://devzone.nordicsemi.com/thread/351764?ContentTypeID=1</link><pubDate>Tue, 08 Feb 2022 11:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa1bd337-5e6f-42a6-89c1-671a4bc7c5c2</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The QWR module is only used for write requests, not write commands. The reason for this is that the Bluetooth stack can only handle one write request at a time, and if you want to send multiple of them it is necessary to queue them in the application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The ble_nus_data_send() functions uses notifications, which is a type of command and not request, and as such the QWR module is not relevant.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to maximize throughput using notifications it is necessary to upload as many packets as you can until the NRF_ERROR_RESOURCES error is returned, and then hold off until the&amp;nbsp;&lt;span&gt;BLE_GATTS_EVT_HVN_TX_COMPLETE event occurs, at which point you can upload more notifications to the stack.&amp;nbsp;&lt;br /&gt;For more context on this please refer to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35125/how-to-deal-with-nrf_error_resources"&gt;this case&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;br /&gt;Torbjørn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>