<?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>Enabling Notification by default</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63606/enabling-notification-by-default</link><description>Hello, 
 
 I am using nRF52840 S140 V7.0.1. 
 
 I added notification and if I enable notification in nRF app (Client), I am able to see notification getting executed whenever there is a change in Server. 
 But my query is, whether can we enable Notification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 27 May 2023 11:13:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63606/enabling-notification-by-default" /><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/427911?ContentTypeID=1</link><pubDate>Sat, 27 May 2023 11:13:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d5cd0fc-76e9-4b12-b445-cecb46672495</guid><dc:creator>Thanuha</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you send me the link or any tutorial from where you followed to add notify characteristics along with read and write&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/259331?ContentTypeID=1</link><pubDate>Fri, 10 Jul 2020 06:22:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34b2722c-2664-483a-9d42-a3e98d93fa72</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you for your inputs and confirmation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/259330?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 18:50:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4da11ece-01ac-4575-b34a-8a172bfe38c2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I can report this as a bug in nRF Connect app (the state should be cleared).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/259329?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 15:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86883db0-a514-4746-93ae-492dc95f25ff</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you for your inputs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have one more observation. Below is the sequence of steps I did.&lt;/p&gt;
&lt;p&gt;1) Assume connection established and Notification enabled in nRF Connect app (Client).&lt;/p&gt;
&lt;p&gt;2) From nRF app I will disconnect.&lt;/p&gt;
&lt;p&gt;3) Without closing, I will click on &amp;#39;connect&amp;#39; with in few seconds.&lt;/p&gt;
&lt;p&gt;4) Connection will be established and also &lt;strong&gt;Notification is enabled by default&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Because of this, though Notification is enabled in nRF app, this is not know by other device. Because of this Notifications are not sent by other device (Server) to nRF app (Client).&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f6c06371a0dd4da992417153d63f5f8f/Notification_5F00_Enabled_5F00_By_5F00_Default_5F00_After_5F00_Reconnect.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/259328?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 07:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b1bfa4-23b5-4ef1-9890-084f9fb4d7b0</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It might be technically possible, but it not good practice to do this, since the peer may receive a notification from unknown origin and the peer may not understand what/why it has received a notification without first reading the GATT database and enable the notification in the first place.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/259327?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2020 16:17:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f801f81-21d3-43de-9744-b335c12e0f1b</guid><dc:creator>beemavishnu</dc:creator><description>&lt;p&gt;Thank you for your inputs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As per below link&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/15571/automatically-start-notification-upon-connection-event-manually-write-cccd---short-tutorial-on-notifications#post-id-90507"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/15571/automatically-start-notification-upon-connection-event-manually-write-cccd---short-tutorial-on-notifications#post-id-90507&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and the statement&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;By following the steps using two main functions&amp;nbsp;&lt;/span&gt;&lt;em&gt;sd_ble_gatts_sys_attr_set&lt;/em&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;em&gt;sd_ble_gatts_sys_attr_get&lt;/em&gt;&lt;span&gt;&amp;nbsp;, I finally enable the notification successfully on the GATT server side.Now we could notify the value as long as building the connection without waiting the enabled notification from GATT client.&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you please let me know whether this will work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards&lt;/p&gt;
&lt;p&gt;Vishnu Beema&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enabling Notification by default</title><link>https://devzone.nordicsemi.com/thread/259326?ContentTypeID=1</link><pubDate>Tue, 07 Jul 2020 11:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4812ff1-342e-43c7-8358-7064882d7ce6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You can find this answer still valid:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16125/how-to-enable-notification-on-the-peripheral-side/61493"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/16125/how-to-enable-notification-on-the-peripheral-side/61493&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s only possible with bonding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>