<?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>pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16825/pc-ble-driver-1-0-bandwidth-configuration</link><description>Hello, 
 I work on application (written in C, compiled with GCC) which use pc-ble-driver 1.0 and nRF51822QFAC with the ble_connectivity (S130 v2.0.0) as BLE Gateway. I need to to change bandwidth configuration but unfortunately I can not do this properly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Oct 2016 12:46:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16825/pc-ble-driver-1-0-bandwidth-configuration" /><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64387?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2016 12:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a0b756e-52d9-4cb2-aafa-5c2b097cba5c</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;I&amp;#39;va made a new question for this issue &lt;a href="https://devzone.nordicsemi.com/question/98360/pc-ble-driver-10-maximum-data-throughput/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64386?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2016 07:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a5a9748-5feb-430f-bcfd-1081c10ddf6c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Mike: I would suggest you to create a new question. In your question please include more information on how many peripherals you connected to the central. I assume you set high bandwidth with option API sd_ble_opt_set() before you call the connect request from central.&lt;/p&gt;
&lt;p&gt;A sniffer trace can help telling which side caused the low bandwidth.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64385?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2016 13:41:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:003b2d7e-3f7e-4ea9-9611-6d4418ff2440</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Hi again,
setting a bandwidth works but I am still not able to achieve maximum data throughput (128 kbit/s). I am able only to achieve around  16,8 kbit/s which is not enough for my application. Is there any limitation in ble_connectivity firmware which does not allow to achieve maximum data throughput?&lt;/p&gt;
&lt;p&gt;I noticed that my peripheral device can&amp;#39;t send to me 6 packet per connection every time. Sometimes it is able to send 3 or only 1 packet. The same device has no problem to send 6 packets in every connection with Master Control Panel 3.10 and achieve maximum data throughput.&lt;/p&gt;
&lt;p&gt;Could You tell me if it is possible to achieve maximum data throughput with ble_connectivity and pc-ble-driver 1.0 ?
If yes, what I have to do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64384?ContentTypeID=1</link><pubDate>Thu, 06 Oct 2016 08:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7028e202-9faa-4b88-8acb-fc5d4b97d267</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Status code 4 means PKT_SEND_ERROR as defined in sd_rpc_app_status_t in sd_rpc_types.h.
Error code 3 and 13 match with NRF_ERROR_INTERNAL and NRF_ERROR_TIMEOUT as in nrf_error.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64383?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2016 13:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1d96ded-2064-4965-a006-2d4217d92d8d</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Thank You Hung Bui for help. It seems to be working now. Could tell me also, how to interpret messages from a &amp;#39;sd_rpc_status_handler_t&amp;#39; (status / error codes)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64382?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2016 12:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ce0e6e4-eb3c-4ea2-95d8-9735ee05adcf</guid><dc:creator>Christian Waldmann</dc:creator><description>&lt;p&gt;the correct path for the file is: components\serialization\connectivity\codecs\s130\middleware\conn_mw_ble.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64381?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2016 12:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dde558db-4e83-45d5-b595-3f0c48ae9ce9</guid><dc:creator>Christian Waldmann</dc:creator><description>&lt;p&gt;To use an up to date serialization, one have to use a patch from &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/master/hex"&gt;github&lt;/a&gt; and the patch you mention above.
And Nordic reports that &lt;a href="https://devzone.nordicsemi.com/question/97488/why-is-serialization-of-s130-deprecated-in-sdk-121/"&gt;S130 serialization is deprecated&lt;/a&gt;
That is not the expected maintenance of the only &amp;quot;active&amp;quot; supported softdevice for the nRF51 family.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64380?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2016 11:29:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2ecad45-4517-49e8-bf67-76fdf2fd5445</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Thanks for reporting the issue. It&amp;#39;s actually a bug in the serialization code.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s fixed in the code in SDK v12.1 but since we don&amp;#39;t have serialization code for S130 in SDK v12.1 you would need to do the patch in the code for SDK v11.&lt;/p&gt;
&lt;p&gt;So the bug was that we didn&amp;#39;t provide the instance for ble_conn_bw_counts_t struct in the param for sd_ble_enable() in the code. You would need to add this two lines&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_conn_bw_counts_t conn_bw_counts;
params.common_enable_params.p_conn_bw_counts = &amp;amp;conn_bw_counts;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;At line 258 in conn_mw_ble.c file in the firmware of \examples\ble_central_and_peripheral\ble_connectivity, right under the declaration of params.&lt;/p&gt;
&lt;p&gt;After that you can compile the project and flash the hex file to your dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64379?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 12:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54d720de-21bc-44cf-a396-3d5c16f58e34</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Yes, I compiled my own &amp;#39;pc_ble_driver_shared.so&amp;#39; (I use Linux) but also tried with library from &lt;a href="https://www.nordicsemi.com/Products/Bluetooth-low-energy/nRF-Connect-for-desktophttps://www.nordicsemi.com/Products/Bluetooth-low-energy/nRF-Connect-for-desktop"&gt;nRF Connect&lt;/a&gt; source files. Effect was the same (I test it also with PCA10040 and desktop).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pc-ble-driver 1.0 bandwidth configuration</title><link>https://devzone.nordicsemi.com/thread/64378?ContentTypeID=1</link><pubDate>Mon, 03 Oct 2016 12:14:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d542c179-a2fa-44f1-8581-6d90c8f2588f</guid><dc:creator>Christian Waldmann</dc:creator><description>&lt;p&gt;Have you compiled the &amp;quot;pc_ble_driver_shared.dll&amp;quot; on your system with the same settings?&lt;/p&gt;
&lt;p&gt;When not, you may have some packing/byte mangling problem when using the &lt;code&gt;ble_conn_bw_counts_t&lt;/code&gt; struct.&lt;/p&gt;
&lt;p&gt;There are two times 3 bytes in &lt;code&gt;ble_conn_bw_count_t&lt;/code&gt; for &lt;code&gt;tx_count&lt;/code&gt; and &lt;code&gt;rx_count&lt;/code&gt;, and a &lt;code&gt;uin16_t&lt;/code&gt; in front of this in the enclosing type &lt;code&gt;ble_common_enable_params_t&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I am using the &amp;quot;pc_ble_driver_shared.dll&amp;quot;, Versin 1.0.0, from the Python package and a VS2013 C/C++ project to talk to my custom connectivity chip. I can receive advertising telegram, but conneting fails with error 18. May be I have the same problems.&lt;/p&gt;
&lt;p&gt;Happy coding Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>