<?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>Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51415/not-receiving-tx-notification-nus-service-from-second-peripheral</link><description>I have a central device (nRF52832/Soft device s132) that connects to two peripherals. Both peripherals send data to the central via NUS. I have incorporated the required changes for the NUS_C by refering to the LBS_C service from multi-link central example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2019 12:35:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51415/not-receiving-tx-notification-nus-service-from-second-peripheral" /><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206864?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2019 12:35:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b6d771-3711-4464-9319-9080e41fd053</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Good to hear you found the issue. I will close the case then &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206720?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 18:27:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff3f39d4-25f5-45e0-a6f8-f3f904db794b</guid><dc:creator>tinytrex</dc:creator><description>&lt;p&gt;Found the issue. A global variable was being updated undesirably. This was supposed to be updated once upon&amp;nbsp;&lt;em&gt;BLE_NUS_C_EVT_DISCOVERY_COMPLETE &lt;/em&gt;event. However I was updating it outside of it so for every handler callback this was being updated.&amp;nbsp;Now I see the data from both the NUS peripherals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206630?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 12:50:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11b15055-c8e3-4cdc-b24a-ca776481fe27</guid><dc:creator>tinytrex</dc:creator><description>&lt;p&gt;I assume the service handler must be invoked from the soft device whenever there is an incoming data from the peripheral. It might be that connection handle of the peripheral is being affected somehow. I am not sure. I am posting my source code. I have removed few parts of the code which are irrelevant just for better readability. &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2746.main.c"&gt;devzone.nordicsemi.com/.../2746.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206547?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 09:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:863f2d3f-ac4d-4dcb-b70e-a9b87f63e668</guid><dc:creator>tinytrex</dc:creator><description>&lt;p&gt;Yes, I confirmed&amp;nbsp;BLE_NUS_C_EVT_DISCOVERY_COMPLETE&amp;nbsp; and&amp;nbsp;ble_nus_c_tx_notif_enable(p_ble_nus_c) is successful for both the peripherals. Status is returned as NRF_SUCCESS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206508?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2019 07:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3b15d6-0f6e-4780-ba9d-853f70ca9353</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If notifications are not coming through it could be because they are not enabled by the client.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you checked whether or not the&amp;nbsp;&lt;em&gt;BLE_NUS_C_EVT_DISCOVERY_COMPLETE&lt;/em&gt; event occurs for both peripherals, and whether or not the call to&amp;nbsp;&lt;em&gt;ble_nus_c_tx_notif_enable(p_ble_nus_c)&lt;/em&gt; is successful for both of them?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206316?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 10:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52a1de7f-d002-4e97-a865-3aa9f3dbecd3</guid><dc:creator>tinytrex</dc:creator><description>&lt;p&gt;The order of the peripherals doesn&amp;#39;t matter. It&amp;#39;s always the second connection that doesn&amp;#39;t work and when I say it doesn&amp;#39;t work I mean that I cannot see the streaming NUS data from the second connection. The connection is however alive because I can see the Battery service notification coming regularly from the second peripheral.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206307?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 09:47:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe69b6a5-f901-4ec5-8aef-8bb4a52d6914</guid><dc:creator>tinytrex</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Torbj&amp;oslash;rn,&amp;nbsp;&lt;/span&gt;I tried debugging the peripherals but I have no clue. I can actually connect the two peripherals to the nRF Connect app (Android) and I can see the data streaming from both the peripherals in the logs. Both peripherals are identical (My peripheral is an Adafruit Feather nRF52832 Bluefruit LE device ... two of them running same code ... only difference is the hardcoded sensor Id which I am using to distinguish the data from the sensors).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206270?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2019 08:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28ee326f-3d31-427e-8279-5fafc9f1d9b5</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Just let me know when you have more results to share.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you try to reverse the order of connection, to see if it is always the second connection that doesn&amp;#39;t work, or if it follows the peripheral?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not receiving tx notification (NUS service) from second peripheral.</title><link>https://devzone.nordicsemi.com/thread/206158?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 14:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d60d3ee-4d83-40e4-b7f9-0ca9a76f5290</guid><dc:creator>tinytrex</dc:creator><description>&lt;p&gt;Ahh nevermind. The issue seems to be in the peripheral. I replaced the second peripheral with a ESP32 with NUS based example application running and I can distinctly see the data streaming from the two peripheral. I am still investigating the issue why the data from second peripheral is not being received. I will update the findings later.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>