<?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>odd problem with sd_ble_gatts_hvx()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3272/odd-problem-with-sd_ble_gatts_hvx</link><description>When I use sd_ble_gatts_hvx() to send data to iOS and Android device I meet a problem: 
 Data send to iOS ok,but will return error 8 (invalid states) when send to Android 4.4 device. 
 I am sure notification is enable. 
 Is there any other different</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Jun 2016 00:55:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3272/odd-problem-with-sd_ble_gatts_hvx" /><item><title>RE: odd problem with sd_ble_gatts_hvx()</title><link>https://devzone.nordicsemi.com/thread/11960?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2016 00:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a727b5b5-1c31-4de5-a6d9-8993fb794d11</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;i have the same problem running on Android but iOS is ok, does anyone has a suggestion or solution for this?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: odd problem with sd_ble_gatts_hvx()</title><link>https://devzone.nordicsemi.com/thread/11959?ContentTypeID=1</link><pubDate>Tue, 29 Jul 2014 05:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a9f4e76-4c71-4595-acd1-7018135a18fc</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;I don&amp;#39;t know about that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: odd problem with sd_ble_gatts_hvx()</title><link>https://devzone.nordicsemi.com/thread/11958?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2014 13:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45503cbf-3072-4a22-a55e-213280f09c8c</guid><dc:creator>gootoomoon</dc:creator><description>&lt;p&gt;Can I config something to make Android enable it auto?
I find a ble device can enable it when connect it to  MCP ,but my device must enable it by click enable button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: odd problem with sd_ble_gatts_hvx()</title><link>https://devzone.nordicsemi.com/thread/11957?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2014 08:38:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:595c3f4c-8ad5-4909-9aec-36960b353316</guid><dc:creator>P&amp;#229;l H&amp;#229;land</dc:creator><description>&lt;p&gt;Hi gootoomoon,&lt;/p&gt;
&lt;p&gt;As far as I remember, the IOS automatically enables the notifications if you have registered for it. But the Android I think you have to manually do it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.android.com/guide/topics/connectivity/bluetooth-le.html"&gt;developer.android.com/.../bluetooth-le.html&lt;/a&gt; search for setCharacteristicNotification&lt;/p&gt;
&lt;p&gt;BR Pål&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: odd problem with sd_ble_gatts_hvx()</title><link>https://devzone.nordicsemi.com/thread/11956?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2014 08:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae178fe7-fe95-4820-8033-e299d3ee3297</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;What version of android are you using? 4.4.4? Do you see the same problem on several android phones?&lt;/p&gt;
&lt;p&gt;Err_code 8 (INVALID_STATE) indicates that the CCCD is not set properly from the central side:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;@return @ref NRF_ERROR_INVALID_STATE Invalid state to perform operation, notifications or indications must be enabled in the CCCD.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>