<?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>Long Writes with iOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5958/long-writes-with-ios</link><description>I&amp;#39;m using SDK 7.1, PCA10028 eval board, SD310 2.0.1, MCP 3.6.0.8331 
 MCP and iOS are generating a different event sequences for a long writes. 
 MCP: after the BLE_EVT_USER_MEM_REQUEST event and my call to sd_ble_user_mem_reply, a BLE_EVT_USER_MEM_RELEASE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Aug 2017 13:53:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5958/long-writes-with-ios" /><item><title>RE: Long Writes with iOS</title><link>https://devzone.nordicsemi.com/thread/20755?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2017 13:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:accb59a6-00a5-4fe8-a4bc-47ced2fd892f</guid><dc:creator>c cook</dc:creator><description>&lt;p&gt;I got it to work, but I don&amp;#39;t remember what I had to do. Sorry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long Writes with iOS</title><link>https://devzone.nordicsemi.com/thread/20756?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2017 12:49:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ab8eff8-4bf2-4aec-9cff-c8d319462e35</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Roland: Please try to capture a sniffer trace.
The queued write process should follow &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_t_t_s___q_u_e_u_e_d___w_r_i_t_e___n_o_b_u_f___n_o_a_u_t_h___m_s_c.html?cp=2_3_0_1_0_2_4_3_6"&gt;this sequence chart&lt;/a&gt;, you need to check if the characteristic requires authorization or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long Writes with iOS</title><link>https://devzone.nordicsemi.com/thread/20757?ContentTypeID=1</link><pubDate>Sun, 13 Aug 2017 13:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0096caf-3609-4c43-b12d-d843e8e78871</guid><dc:creator>Roland</dc:creator><description>&lt;p&gt;Did you figure this issue out?
I have same issue.
BLE_GATTS_OP_EXEC_WRITE_REQ_NOW seems never happened.&lt;/p&gt;
&lt;p&gt;Log:&lt;/p&gt;
&lt;p&gt;INFO:user memory requesting&lt;/p&gt;
&lt;p&gt;INFO:Releasing user memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long Writes with iOS</title><link>https://devzone.nordicsemi.com/thread/20758?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2015 13:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1215dd03-3e5a-44bd-bad5-130ebfdf83fc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Clint,&lt;/p&gt;
&lt;p&gt;From my understanding, the normal long write events should be:
BLE_EVT_USER_MEM_RELEASE -&amp;gt; BLE_GATTS_EVT_WRITE -&amp;gt; BLE_EVT_USER_MEM_RELEASE&lt;/p&gt;
&lt;p&gt;What you described for both MCP and iOS are pretty strange.&lt;/p&gt;
&lt;p&gt;Could you try &lt;a href="https://github.com/NordicSemiconductor/ble_app_hrs---LongWrite"&gt;this example&lt;/a&gt; and let me know the result ? It&amp;#39;s made for S110 but it should be similar to S310.&lt;/p&gt;
&lt;p&gt;If the issue remains, I think &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF-Sniffer/(language)/eng-GB"&gt;a sniffer trace&lt;/a&gt; would make it clearer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>