<?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>Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21395/help-switching-from-notification-to-indication</link><description>Guys 
 I am a newbie using nordic modulesI am just starting to program here with a nRF52 and SDK 12.2 
 I was trying to edit the experimental_ble_app_blinky and experimental_ble_app_blink_central to use Indication instead of Notifications. may I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Apr 2017 12:45:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21395/help-switching-from-notification-to-indication" /><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83846?ContentTypeID=1</link><pubDate>Mon, 24 Apr 2017 12:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fafa74b-8bcd-4cec-bf99-049284d82e1a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! All packets will be retransmitted until the supervision timeout is hit, if it is hit, the link is considered lost/disconnected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83845?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 17:22:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4ccfcbd-526e-4520-9c88-8c6b88faa461</guid><dc:creator>Mufasa1</dc:creator><description>&lt;p&gt;Hey Petter I added the &lt;code&gt;sd_ble_gattc_hv_confirm&lt;/code&gt; to the central code when It receive an indication from the peripheral and in the peripheral code &lt;code&gt;BLE_GATTS_EVT_HVC&lt;/code&gt; event when it receive the indication confrimation from the central after it I disconnect the two devices. It is working for now pretty good I am testing in case I lost some packet, in case a lost packet the peripheral send it again or do I have to wait 30sec for the timeout?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83848?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 13:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dec2de9-4340-4902-a9cc-0e396c4d76b6</guid><dc:creator>Mufasa1</dc:creator><description>&lt;p&gt;So do I have to wait for BLE_EVT_TX_COMPLETE before kill the connection? I am going to test because now I am thinking a posible reason when I have a packet lost: In case the a packet lost I kill the connection to early, but I stll haven&amp;#39;t any verification the BLE_EVT_TX_COMPLETE to do any retransmission  in case this applies? Or how can I handle a packet lost when sending notification/indication to a central device&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83840?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 07:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76fadace-b99d-471b-a67c-4521a1b4305e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You will not lose any more packets with notifications compared to indications, they are both acked and retransmitted at the link layer. The difference is that indication has to be acknowledged at the application layer. See &lt;a href="https://devzone.nordicsemi.com/question/310/notificationindication-difference/"&gt;this&lt;/a&gt; for more information. If the central doesn&amp;#39;t receive notifications at longer ranges it is probably because it is not receiving any packets at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83842?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 07:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c2f8091-2cfa-41e4-899f-35d8c6f9028a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Why are you disconnecting? You should get a confirmation, but are you actually &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v4.0.2/group___b_l_e___g_a_t_t_c___h_v_i___m_s_c.html?cp=2_3_0_1_1_2_2_3_8"&gt;confirming&lt;/a&gt; the indication in the central application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83844?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2017 06:37:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:545e1f69-0fc2-4e89-9b3e-c34ab80fb42e</guid><dc:creator>Mufasa1</dc:creator><description>&lt;p&gt;Petter an aditional issue I am getting is... the central some times dont receive the notifications (data loss) when the two devices are 25feet+ away that is the main reason I am switching to use indications in case it helps to avoid data lost or in case a packet is not received. Using a sniffer I see the notification from the peripheral but for some reason the central does not receive it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83843?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 16:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1ff3283-2067-406d-8841-7a468d98f843</guid><dc:creator>Mufasa1</dc:creator><description>&lt;p&gt;The following are the examples I am testing and the changes I made are marked &lt;code&gt;////changes&lt;/code&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/experimental_5F00_ble_5F00_app_5F00_blinky.rar"&gt;ble_app_blinky_c.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6082.experimental_5F00_ble_5F00_app_5F00_blinky.rar"&gt;experimental_ble_app_blinky.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83841?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2017 15:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46b71b45-c2c7-431e-a87b-c50e6315732c</guid><dc:creator>Mufasa1</dc:creator><description>&lt;p&gt;I solved it. I was killing the connection to early and calling the indication too late in the peripheral code.&lt;/p&gt;
&lt;p&gt;The only concern I have is where is the indication ACK confirmation?
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/indicate.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Or Do I have to handle it on code level? because I need verificate I received the data on the central module. I read about an &lt;code&gt;ATT_Handle_Value_Confirm&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83849?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2017 11:58:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d16aa38-2065-4494-81f5-bb1698084c5a</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Maybe you can upload the sniffer trace? Are you successfully calling sd_ble_gatts_hvx()? No error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83850?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2017 23:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43b825f0-cf5f-4cb5-b586-0df12ad3caf0</guid><dc:creator>Mufasa1</dc:creator><description>&lt;p&gt;Petter, I was my mistake the Central and the Peripheral can connect between them but the Peripheral is not sending the indication to the Central, The central send the cccd 2 to the peripheral but it last is not responding&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help switching from notification to indication</title><link>https://devzone.nordicsemi.com/thread/83847?ContentTypeID=1</link><pubDate>Tue, 18 Apr 2017 15:17:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11cf50aa-698a-4616-a2cb-fb25e7c717ab</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t see how the changes you have done would cause not being able to connect. You don&amp;#39;t even see a connection request on the sniffer trace? Or are they able to connect, but disconnect quickly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>