<?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>Will bluetooth stack(nRF51) handle automatic retires to app?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15847/will-bluetooth-stack-nrf51-handle-automatic-retires-to-app</link><description>Hi,
I am using nRF51822xxaa and s130 and SDK 10.0. nRF51 connects with the app(notifications enabled), then bonds with it. Subsequent communications between the app and the nRF51 would happen only if the app and nRF51 are already bonded. Every time when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Aug 2016 07:11:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15847/will-bluetooth-stack-nrf51-handle-automatic-retires-to-app" /><item><title>RE: Will bluetooth stack(nRF51) handle automatic retires to app?</title><link>https://devzone.nordicsemi.com/thread/60489?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 07:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59ab5e37-079b-42e0-89a9-af71f34b1f4e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;It will retransmit the packet until supervision timeout is reached, then the connection shall be considered lost.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Will bluetooth stack(nRF51) handle automatic retires to app?</title><link>https://devzone.nordicsemi.com/thread/60490?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 18:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8f3d42f-fdf4-49c3-9975-471f70581e90</guid><dc:creator>nordicdev</dc:creator><description>&lt;p&gt;This is what I wanted to know. May I know how many attempts of retransmissions does the softdevice do for notifications (in case there is a packet failure from nRF51 to peer&amp;#39;s link layer) Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Will bluetooth stack(nRF51) handle automatic retires to app?</title><link>https://devzone.nordicsemi.com/thread/60488?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2016 11:51:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b73ceda6-b8aa-4e79-adff-73175453672e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Notifications are only acknowledged at the link layer, and the SoftDevice will handle retransmissions. The SoftDevice doesn&amp;#39;t know if the app has received the notification, the SoftDevice only knows that the notification has been successfully transferred to the peer&amp;#39;s link layer.&lt;/p&gt;
&lt;p&gt;If you want the app to acknowledge each packet, you should use indication instead of notification.&lt;/p&gt;
&lt;p&gt;Please see &lt;a href="https://devzone.nordicsemi.com/question/310/notificationindication-difference/"&gt;this&lt;/a&gt; for more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Will bluetooth stack(nRF51) handle automatic retires to app?</title><link>https://devzone.nordicsemi.com/thread/60487?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 22:53:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b7e214d-3ee3-4b2c-9156-2e09d421eea7</guid><dc:creator>nordicdev</dc:creator><description>&lt;p&gt;Hi Petter, thanks for the reply. Sorry for not being clear. Lets say for example, the nRF51 sends data1 to a connected, bonded app. This data1 was received by the app and the app would get a notification when data1 arrives in the app. This way, the app need not poll to see if any data was received from the nRF51. After a while, data2 is sent by the nRF51 to the app. This time, for some reason, the app has not received the data2. Will the softdevice of nRF51 know that the app has not received the data2? If yes, will the softdevice do retries for a few times till it receives an ack (or something of that sort) from the app (that app has received data2 from the nRF51)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Will bluetooth stack(nRF51) handle automatic retires to app?</title><link>https://devzone.nordicsemi.com/thread/60486?ContentTypeID=1</link><pubDate>Fri, 19 Aug 2016 10:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58927b34-2c81-4d3e-b9f4-11ee40851bef</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand. What do you think is handled automatically by the SoftDevice? Every time you call sd_ble_gatts_hvx() with NRF_SUCCESS a notification will be put into the packet buffer. Every time one or more notifications are sent you will receive the BLE_EVT_TX_COMPLETE event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>