<?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>Characteristics count and TX ressources</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49547/characteristics-count-and-tx-ressources</link><description>Hello everyone, 
 I have a device with a custom service including 3 characteristics and another device with 4 characteristics (same 3 chars as the first device + 1 new). 
 When I sync data continuously on the same char for both devices (as soon as BLE_GATTS_EVT_HVN_TX_COMPLETE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Aug 2019 12:00:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49547/characteristics-count-and-tx-ressources" /><item><title>RE: Characteristics count and TX ressources</title><link>https://devzone.nordicsemi.com/thread/202602?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2019 12:00:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a89d97c-1d52-46a5-aa70-0f4adfdcc93f</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;sorry for the late response.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Peripheral are either&amp;nbsp;&lt;span&gt;nRF52832 or&amp;nbsp;&lt;/span&gt;nRF52840 for peripheral (see above MCU, SDK and SD version).&lt;br /&gt;Central is One Plus 3T or One Plus 6 but the behavior looks the same.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Connection interval is changed dynamically and lowered when much data has to be transferred. Regarding BLE GAP event length, the MCU is acting as peripheral so that no longer relevant, right?&lt;/p&gt;
&lt;p&gt;For nRF52840:&lt;br /&gt;&lt;span&gt;NRF_SDH_BLE_GAP_EVENT_LENGTH &lt;/span&gt;&lt;span&gt;320&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I think I&amp;#39;ll investigate with&amp;nbsp;2 simple examples for each target using the two different SDK on each target.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll let you know if I find someting.&lt;br /&gt;&lt;br /&gt;Best&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristics count and TX ressources</title><link>https://devzone.nordicsemi.com/thread/198438?ContentTypeID=1</link><pubDate>Mon, 15 Jul 2019 11:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0eaed0ac-98bf-4445-9062-7fc7dc051bfe</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Cyril&lt;/p&gt;
&lt;p&gt;Martin is on vacation, so I&amp;#39;ve been assigned this case in his absence. I&amp;#39;m struggling to see why you would get this many resource errors here. What devices are your peripheral and central? What is your buffer size set to?&amp;nbsp;Are you able to see where the NRF_ERROR_RESOURCES is coming from? What is the NRF_SDH_BLE_GAP_EVENT_LENGTH in sdk_config.h set to? You can try to increase that and alternatively lower your connection interval parameters.&lt;/p&gt;
&lt;p&gt;Due to the summer holidays in Norway, our support team is understaffed this week, and delayed replies must be expected. Sorry for the inconvenience!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristics count and TX ressources</title><link>https://devzone.nordicsemi.com/thread/197964?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 04:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972deaa4-ee71-4dd5-ac5d-487833dffad4</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I performed data sync on both devices, using the same phone, and logged into a CSV file:&lt;/p&gt;
&lt;p&gt;characteristic number (0, 1 or 2), timestamp with hundredth, err_code&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Both have a MTU of 120 bytes.&lt;/p&gt;
&lt;p&gt;As I said before, packets are sent on&amp;nbsp;&lt;span&gt;BLE_GATTS_EVT_HVN_TX_COMPLETE event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Device with 3 data chars has way more errors:&lt;/p&gt;
&lt;p&gt;nRF52840&lt;/p&gt;
&lt;p&gt;SD: s140_nrf52_6.0.0_softdevice.hex&lt;/p&gt;
&lt;p&gt;SDK 15.0&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/output_5F00_s_5F00_OP3T_5F00_char2notsubscribed.csv"&gt;devzone.nordicsemi.com/.../output_5F00_s_5F00_OP3T_5F00_char2notsubscribed.csv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Device with 2 data char:&lt;/p&gt;
&lt;p&gt;nRF52832&lt;br /&gt;SD&amp;nbsp;s132_nrf52_4.0.2_softdevice.hex&lt;/p&gt;
&lt;p&gt;SDK 13.0&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/output_5F00_OP6.csv"&gt;devzone.nordicsemi.com/.../output_5F00_OP6.csv&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How&amp;nbsp;is it possible to have that&amp;nbsp;many&amp;nbsp;&lt;span&gt;NRF_ERROR_RESOURCES on the device with 3 data chars?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Cyril&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Characteristics count and TX ressources</title><link>https://devzone.nordicsemi.com/thread/197788?ContentTypeID=1</link><pubDate>Thu, 11 Jul 2019 10:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fe5f40f-c06d-4325-ba15-8e8eada8e5c5</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think there should be any link between the characteristics count and TX buffer size. Have you seen ths &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35125/how-to-deal-with-nrf_error_resources" rel="noopener noreferrer" target="_blank"&gt;post&lt;/a&gt;&amp;nbsp;regarding the NRF_ERROR_RESOURCES error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>