<?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>slow down the speed of bootloader receiving the app update.zip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41459/slow-down-the-speed-of-bootloader-receiving-the-app-update-zip</link><description>hi i have problem!how to slow down the speed of bootloader receiving the app update.zip. SDK 15.2.0 ,s112 ,securebootloader example ,nRF52810</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Dec 2018 09:25:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41459/slow-down-the-speed-of-bootloader-receiving-the-app-update-zip" /><item><title>RE: slow down the speed of bootloader receiving the app update.zip</title><link>https://devzone.nordicsemi.com/thread/161375?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 09:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee1c41f5-da50-4aef-b1dd-6df50a2426b1</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="75005" url="~/f/nordic-q-a/41459/slow-down-the-speed-of-bootloader-receiving-the-app-update-zip/161325"]nRF52810 i could not find the parameter as&amp;nbsp;follows[/quote]
&lt;p&gt;Yes, the&amp;nbsp;BLE bandwidth configuration and application packet concept has been changed. Previously, the application could specify a bandwidth setting, which would result in a given queue size and a correpsonding given radio time allocated. Now the queue sizes and the allocated radio time have been separated. The application can now configure:Event length,&amp;nbsp;Write without response queue size, Handle Value Notification queue size.&lt;/p&gt;
&lt;p&gt;The ble_enable_params_t::common_enable_params.p_conn_bw_counts parameter of the sd_ble_enable() SV call is replaced by the sd_ble_cfg_set() SV call with cfg_id parameter set to BLE_CONN_CFG_GAP.&lt;/p&gt;
&lt;p&gt;To&amp;nbsp;configure&amp;nbsp;this so it corresponds to BLE_CONN_BW_MID, you should set the NRF_SDH_BLE_GAP_EVENT_LENGTH parameter in sdk_config.h to&amp;nbsp;BLE_GAP_EVENT_LENGTH_DEFAULT&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img height="110" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1544605978130v1.png" width="577" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;o&amp;gt; NRF_SDH_BLE_GAP_EVENT_LENGTH - GAP event length. 
// &amp;lt;i&amp;gt; The time set aside for this connection on every connection interval in 1.25 ms units.

#ifndef NRF_SDH_BLE_GAP_EVENT_LENGTH
#define NRF_SDH_BLE_GAP_EVENT_LENGTH BLE_GAP_EVENT_LENGTH_DEFAULT
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: slow down the speed of bootloader receiving the app update.zip</title><link>https://devzone.nordicsemi.com/thread/161325?ContentTypeID=1</link><pubDate>Wed, 12 Dec 2018 02:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d03d26dc-97fb-43a4-9d23-01ead7197564</guid><dc:creator>Mainland Lu</dc:creator><description>&lt;p&gt;Hi. I use the nRF Toobox with HUAWEI Mobilephone to update my app.zip.&lt;span&gt;I had a problem that update failed when using the SDK13 ，S132, nRF52832 before.when I slow down the speed that uddate successful,but in SDK 15.2.0 ,s112 ,securebootloader example ,nRF52810 i could not find the parameter as&amp;nbsp;follows!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;		/***********************/
		//SDK13 ，S132, nRF52832
		ble_opt_t op;

		memset(&amp;amp;op,0,sizeof(op));

		op.common_opt.conn_bw.conn_bw.conn_bw_rx=BLE_CONN_BW_MID;

		op.common_opt.conn_bw.conn_bw.conn_bw_tx=BLE_CONN_BW_MID;

		op.common_opt.conn_bw.role = BLE_GAP_ROLE_PERIPH;

    err_code=sd_ble_opt_set(BLE_COMMON_OPT_CONN_BW,&amp;amp;op);

    if (err_code != NRF_SUCCESS)
    {
        NRF_LOG_ERROR(&amp;quot;Bandwith option error&amp;quot;, err_code);
    }

    else
    {
        NRF_LOG_INFO(&amp;quot;Bandwith option ok\r\n&amp;quot;);
    }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: slow down the speed of bootloader receiving the app update.zip</title><link>https://devzone.nordicsemi.com/thread/161201?ContentTypeID=1</link><pubDate>Tue, 11 Dec 2018 13:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52f37757-822c-497a-95a7-8a4da616ae30</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you explain why you want to slow down the speed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>