<?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>Avoid updating attribute value on Indications/Notifications</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71045/avoid-updating-attribute-value-on-indications-notifications</link><description>The documentation for the sd_ble_gatts_hvx() method states: 
 This function checks for the relevant Client Characteristic Configuration descriptor value to verify that the relevant operation (notification or indication) has been enabled by the client</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jan 2021 14:34:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71045/avoid-updating-attribute-value-on-indications-notifications" /><item><title>RE: Avoid updating attribute value on Indications/Notifications</title><link>https://devzone.nordicsemi.com/thread/291823?ContentTypeID=1</link><pubDate>Thu, 28 Jan 2021 14:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc66969f-e59a-468c-9401-4101434a7faa</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am not quite sure I understand your question, but let me give it a go.&lt;/p&gt;
&lt;p&gt;Notifications vs indications is almost the same. The difference is the layer in which the payload is ACKed. Notifications are ACKedin the link layer (in the softdevice), while indications are ACKed in the application layer. If you are not interrested in updating the value at all, I would suggest you use notifications, as these are much more efficient.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That being said, the value of a characteristic is updated whether you like it or not *. If it only supports notification, and not read, then strictly speaking, there is no value to update. It will just push the value to the device that has enabled notifications, sort of like a pipe.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;*If you use write with permission, then you will send a write request, which you can reject or accept, but if you do this to save time, then it is lost, because it generates a lot more messages back and forth, which takes a lot more time than actually updating the value.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So why are you asking this? Do you see that the throughput is not high enough? Do you want to save power? Or do you simply &amp;quot;not need to store the value&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>