<?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>Sending data on Notification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13699/sending-data-on-notification</link><description>Hey,
I have a problem with sending data on Notification. The problem is data is transmitted in the characteristics even when the notification is not enabled by the app.
The topics i wanted anyone to brief is : 
 
 How to Know that the Android app</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 May 2016 08:12:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13699/sending-data-on-notification" /><item><title>RE: Sending data on Notification</title><link>https://devzone.nordicsemi.com/thread/52357?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 08:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67999f95-0051-45b4-9e39-530529894b3e</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If the CCCD is 0x0001 it means notifications has been enabled by the peer and that you can send notifications. You will get a Write event from the softdevice when notifications are enabled.&lt;br /&gt;
If the peer didn&amp;#39;t enable notifications and you try to send them anyway, you will get an &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.0/group___b_l_e___g_a_t_t_s___h_v_x___d_i_s_a_b_l_e_d___m_s_c.html?cp=2_6_2_1_0_2_4_3_2"&gt;invalid state error&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data on Notification</title><link>https://devzone.nordicsemi.com/thread/52356?ContentTypeID=1</link><pubDate>Thu, 12 May 2016 07:48:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5116015d-e55e-40ba-b666-2969ae9b369d</guid><dc:creator>Vijayalakshmi</dc:creator><description>&lt;p&gt;No im not using bonding. and the value of CCCD on master panel is 0x01.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending data on Notification</title><link>https://devzone.nordicsemi.com/thread/52355?ContentTypeID=1</link><pubDate>Mon, 09 May 2016 07:55:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a0de796-79b4-4b2d-a263-f7993419c190</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;There are several examples in our SDK that is using notifications, e.g. Heart rate or UART. Note that sd_ble_gatts_hvx will return an error if you are trying to send notifications and it&amp;#39;s not enabled. Are you sure that you are not using bonding, so the state of the CCCD&amp;#39;s are preserved across connections (with the known device as per spec).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>