<?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>Failed to disconnect from iOS device after several times</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21562/failed-to-disconnect-from-ios-device-after-several-times</link><description>Hello.
I am developing a project on nRF52832 using SDK 13, in which I need to transfer up to 300 bytes of data from iOS device via my dedicated app (in the background) to nRF in 10 second cycles. Project is based on ble_peripheral_uart example, so I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Apr 2017 08:21:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21562/failed-to-disconnect-from-ios-device-after-several-times" /><item><title>RE: Failed to disconnect from iOS device after several times</title><link>https://devzone.nordicsemi.com/thread/84661?ContentTypeID=1</link><pubDate>Fri, 28 Apr 2017 08:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46dd37b2-d552-4580-8f8f-4c22b661b725</guid><dc:creator>Wujq</dc:creator><description>&lt;p&gt;I started development with SEGGER Embedded Studio, where I manually set &lt;code&gt;SRAM_START=0x20002600&lt;/code&gt; for testing and device is working flawless for last 12 hours.
In Keil I had &lt;code&gt;0x20002168&lt;/code&gt; which I guess was not enough after expanding the UART Example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Failed to disconnect from iOS device after several times</title><link>https://devzone.nordicsemi.com/thread/84660?ContentTypeID=1</link><pubDate>Sun, 23 Apr 2017 12:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7d952f8-c499-455e-ac03-90e54e2d5774</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Interesting, I use exactly same procedure (&lt;code&gt;sd_ble_gap_disconnect&lt;/code&gt; to invoke LL_TERMINATE packet over the radio) to bypass this iOS limitation and I&amp;#39;ve never encountered any issue. Do you have RF trace from some sniffer to understand better what is happening? E.g. are you sure that always &lt;code&gt;m_conn_handle&lt;/code&gt; is valid (= link was not already disconnected) and that err_code is &lt;code&gt;NRF_SUCCESS&lt;/code&gt;? Because 0x08 means  &lt;code&gt;/* @retval ::NRF_ERROR_INVALID_STATE Invalid state to perform operation (disconnection is already in progress). */&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>