<?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 Issues</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5644/notification-issues</link><description>Hi, I have a custom service with 3 characteristics and i&amp;#39;ve been attempting to send one of them as a notification so I can use it in the HRS sensor app by changing the UUIDs. I have managed to get notifications on both the light blue app(ios) and master</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Feb 2015 01:36:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5644/notification-issues" /><item><title>RE: Notification Issues</title><link>https://devzone.nordicsemi.com/thread/19763?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 01:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed896a1c-ae2d-4cbf-9814-abe5081c3bbc</guid><dc:creator>Kosidinma</dc:creator><description>&lt;p&gt;OK so I solved my issue. I had to include my data handler into a timer event and then send it (similar to the hrs sample code).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notification Issues</title><link>https://devzone.nordicsemi.com/thread/19762?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 22:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66efcf01-ecfd-4f32-ab2a-41c7660694c5</guid><dc:creator>Kosidinma</dc:creator><description>&lt;p&gt;I sorted out the issue of notifying which was just naive programming on my part (poorly coded event handler) but I&amp;#39;ve edited the question to highlight the major issue which I need help with. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notification Issues</title><link>https://devzone.nordicsemi.com/thread/19761?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 12:05:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:282cc27f-e805-409c-a641-6657d3eef03c</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;I think the issue here might be that you are trying to send notifications without checking if you are in the BLE_LBS_EVT_NOTIFICATION_ENABLED state. I did not run your example to check if it crashed before that, but conceptually you have to wait until the peer has enabled notifications before you can start sending them.&lt;/p&gt;
&lt;p&gt;You can skip this step if you are bonded and are restoring system parameters that enable notifications, but you should still check if you are in the enabled state before allowing the application to call sd_ble_gatts_hvx().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Notification Issues</title><link>https://devzone.nordicsemi.com/thread/19760?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 11:57:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ee928f4-7edf-4c9a-979c-65397334d96c</guid><dc:creator>Ulrich Myhre</dc:creator><description>&lt;p&gt;To be able to send a notification the peer must enable notifications. Since you haven&amp;#39;t mentioned exactly what is not working, could you edit your question to include the procedure you do, the behavior you see (and error codes) vs the behavior you wanted?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>