<?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>notification &amp;amp; indication simultaneous usage with sdk 14.0.1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29919/notification-indication-simultaneous-usage-with-sdk-14-0-1</link><description>hello, 
 I have one problem to distinguish the following 2 functions :
ble_srv_is_notification_enabled and ble_srv_is_indication_enabled 
 in on_write function,
the two functions are checked in the same routine (if ((p_evt_write-&amp;gt;handle == p_cus-</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Feb 2018 01:20:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29919/notification-indication-simultaneous-usage-with-sdk-14-0-1" /><item><title>RE: notification &amp; indication simultaneous usage with sdk 14.0.1</title><link>https://devzone.nordicsemi.com/thread/119454?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2018 01:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83f1b3b5-6dda-470d-bcf0-ef2560f646cc</guid><dc:creator>edmond.yun</dc:creator><description>&lt;p&gt;Hello, Hung Bui,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thankful for&amp;nbsp; your kind concern....I checked common method as to the usage of notification &amp;amp; indication,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in most cases, app will use only one at the same time, so I no need to consider the case,&lt;/p&gt;
&lt;p&gt;thankful for your kindness..&lt;/p&gt;
&lt;p&gt;thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: notification &amp; indication simultaneous usage with sdk 14.0.1</title><link>https://devzone.nordicsemi.com/thread/118988?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 14:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae26b4f5-5420-4121-94c9-fe40123b2adc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Could you let me know why you want to have both notification and indication ?&lt;/p&gt;
&lt;p&gt;Usually if you want to have confirmation from slave you can simply use indication instead of notification.&lt;/p&gt;
&lt;p&gt;Anyway, if you want both, simply call sd_ble_gatts_hvx() twice, one with hvx_params.type   = BLE_GATT_HVX_INDICATION; and the other with hvx_params.type   = BLE_GATT_HVX_NOTIFICATION;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>