<?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>Zephyr OS BLE central multiple notification subscription event issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106158/zephyr-os-ble-central-multiple-notification-subscription-event-issue</link><description>Hi NRF team, 
 I am working on the NRF52840 dev board with Zephyr OS. 
 My requirement is to create a BLE central device which can connect with my peripheral and discover all the services. 
 Then after discovering all the services, central device should</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Dec 2023 06:30:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106158/zephyr-os-ble-central-multiple-notification-subscription-event-issue" /><item><title>RE: Zephyr OS BLE central multiple notification subscription event issue</title><link>https://devzone.nordicsemi.com/thread/458645?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 06:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:023e7e96-569b-4397-b00e-f9ad88802f58</guid><dc:creator>Dhruv@1997</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;memcpy(&amp;amp;discover_uuid[0], BT_UUID_BAS, sizeof(discover_uuid[0]));
		discover_params[0].uuid = &amp;amp;discover_uuid[1].uuid;
		discover_params[0].func = discover_func;
		discover_params[0].start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE;
		discover_params[0].end_handle = BT_ATT_LAST_ATTRIBUTE_HANDLE;
		discover_params[0].type = BT_GATT_DISCOVER_PRIMARY;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Actually there is one typo in code.Need to update the uuid index. &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;memcpy(&amp;amp;discover_uuid[0], BT_UUID_BAS, sizeof(discover_uuid[0]));
		discover_params[0].uuid = &amp;amp;discover_uuid[0].uuid;
		discover_params[0].func = discover_func;
		discover_params[0].start_handle = BT_ATT_FIRST_ATTRIBUTE_HANDLE;
		discover_params[0].end_handle = BT_ATT_LAST_ATTRIBUTE_HANDLE;
		discover_params[0].type = BT_GATT_DISCOVER_PRIMARY;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And now I am able to get notification from both heart rate and battery monitoring service.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr OS BLE central multiple notification subscription event issue</title><link>https://devzone.nordicsemi.com/thread/458501?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 12:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc7440a7-61a2-4a1c-8280-d8618589e220</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I am able to get both when I enable BAS_CLIENT in your prj.conf.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_BAS_CLIENT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am able to see both on my terminal.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:580px;max-width:986px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1972x1160/__key/communityserver-discussions-components-files/4/pastedimage1701432976935v4.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr OS BLE central multiple notification subscription event issue</title><link>https://devzone.nordicsemi.com/thread/458355?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 15:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58c6ae72-a3df-41dd-be0f-f21fb7e7fd61</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Dhruv,&lt;/p&gt;
&lt;p&gt;Sorry for delays, I do not see anything obviously wrong in your code. so I will try to test it out myself tomorrow at my desk. Will let you know when I have some observations with that test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>