<?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>Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45440/apple-device-terminates-connection-after-30-seconds-the-connection-establishment-when-reconnect-with-the-a-bonded-n52832</link><description>Hi, I am using N52832 to developing a producation need to implements ANCS NC. I am using sdk 15.2. And I found the connection is terminated by the apple device after the reconnect with the bonded N52832. 
 
 The attachment is the nrf-sniffer log of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 30 Mar 2019 10:20:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45440/apple-device-terminates-connection-after-30-seconds-the-connection-establishment-when-reconnect-with-the-a-bonded-n52832" /><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179331?ContentTypeID=1</link><pubDate>Sat, 30 Mar 2019 10:20:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c3cc566-a92b-4e46-8fc9-2256fe2fb7a4</guid><dc:creator>Bing</dc:creator><description>&lt;p&gt;My question is if no MTU exchange procedure happen, why softdevice can notify applicaiton layer? I want solve if peer device won&amp;#39;t send ATT MTU exachange request, when should&amp;nbsp;the N52832 send this request to peer device, Now it seems that we cannot send the MTU exchange request upon the connection is established. My protocol needs to know the maximum&amp;nbsp;ATT payload. If no MTU exachange request send by peer device, the N52832 must initiate to send the request.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179273?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 14:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9f87295-f45d-4fbc-8875-82a693d7cfb7</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;The result after the mtu exchange will send the notification event to application layer.&amp;nbsp; It can use as the indicator.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179270?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 14:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f042e0c2-8029-4467-9874-b3c9ef061b5a</guid><dc:creator>Bing</dc:creator><description>&lt;p&gt;So. This is the problem. How can I know the peer device will&amp;nbsp;or not&amp;nbsp; initiate MTU request?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179263?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 14:08:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60cb59af-a8f0-4feb-85d7-e64b4a34e4e5</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;IOS will send the MTU request all the time.&amp;nbsp; but the android would not initialize the mtu request.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179262?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 14:05:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9e1cadc-294e-40a5-a2c9-adf821bef0df</guid><dc:creator>Bing</dc:creator><description>&lt;p&gt;OK thanks. In the thread&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes/176316#176316"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes/176316#176316&lt;/a&gt;&amp;nbsp;you mentioned to comment the processing code if I modified the MTU size. That is, the peripheral device needs to wait the central device to send MTU exchange request to exchange their MTU size. If the central device won&amp;#39;t initiate the MTU exchange request. Where should I trigger the MTU exchanging procedure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179246?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 13:13:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f1891e2-0419-4702-87f5-15d8fdde3897</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;Data length extension.&amp;nbsp; It has already included the gatt_init. You can find it at the documentation of the Softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179244?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 13:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1763cab-b11a-47a0-b702-11f23929d374</guid><dc:creator>Bing</dc:creator><description>&lt;p&gt;Hi, DLE request?&amp;nbsp;How to start a DLE request? Which API should I call?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179239?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 12:57:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:055c6e35-e0d0-4f72-b1e7-07b8a1477373</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;if you work with IOS, you need to do the DLE request first and wait the MTU request from IOS.&lt;/p&gt;
&lt;p&gt;Otherwise, you would only get the MTU = 185.&lt;/p&gt;
&lt;p&gt;you can refer to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179238?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 12:57:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15d39668-e83f-43a9-b085-9d24d3751ebb</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;if you work with IOS, you need to do the DLE request first and wait the MTU request from IOS.&lt;/p&gt;
&lt;p&gt;Otherwise, you would only get the MTU = 185.&lt;/p&gt;
&lt;p&gt;you can refer to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/44825/ios-mtu-size-why-only-185-bytes&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179235?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 12:52:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3713812d-c225-46aa-9459-012cf3eb329b</guid><dc:creator>Bing</dc:creator><description>&lt;p&gt;Thanks for your replay. Jimmy, have you tried to enlarge the MTU size? in SDK 15.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179219?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 12:33:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2763d2d0-7f45-4bf6-8339-fe2d920c0cdb</guid><dc:creator>Jimmy Wong</dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The attached is the main.c from SDK 15.0.&amp;nbsp; I added the PM handler on this example.&lt;/p&gt;
&lt;p&gt;You can try on the SDK 15.0 with IOS first.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3058.main.c"&gt;devzone.nordicsemi.com/.../3058.main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179209?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 11:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e782f1-3a22-4b81-a957-918e6864d50f</guid><dc:creator>Bing</dc:creator><description>&lt;p&gt;Yes I have done&amp;nbsp;4 modifications to &lt;strong&gt;ble_peripheral\ble_app_ancs_c&lt;/strong&gt; exmaple in the SDK.&lt;/p&gt;
&lt;p&gt;1 adveritisng init with white list disable&lt;/p&gt;
&lt;p&gt;2 allow repairing by adding the proccessing in peer_manager_handler.c -&amp;gt;&amp;nbsp;pm_handler_pm_evt_log() -&amp;gt;&amp;nbsp;switch (p_pm_evt-&amp;gt;evt_id) -&amp;gt;&amp;nbsp;PM_EVT_CONN_SEC_CONFIG_REQ:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;pm_conn_sec_config_t conn_sec_config = {.allow_repairing = true};&lt;br /&gt; pm_conn_sec_config_reply(p_pm_evt-&amp;gt;conn_handle, &amp;amp;conn_sec_config);&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3 Modify the&amp;nbsp;NRF_SDH_BLE_GATT_MAX_MTU_SIZE to 163 in the sdk_config.h&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;4 Adjust the RAM start address reported by&amp;nbsp;ret_code_t nrf_sdh_ble_enable(uint32_t * const p_app_ram_start).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And the tested&amp;nbsp;Apple devices&amp;nbsp;are iPhone 5s and iPhone XR. And the iOS version is 12.1.4.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Without change to&amp;nbsp;&lt;span&gt;NRF_SDH_BLE_GATT_MAX_MTU_SIZE. The default is 23. Then there will be no any problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But our project need to transfer large packet with smart phones. Once I modified the MAX MTU, the problem will apper 100% each time it reconnect with iPhone.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have tested the newest SDK 15.3. The same problem exists. Please help me. Thanks.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Apple Device terminates connection after 30 seconds the connection establishment  when reconnect with the a bonded N52832</title><link>https://devzone.nordicsemi.com/thread/179199?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 11:13:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7257892d-e575-4e76-94b9-4af3954a8c6b</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which apple device are you testing with (hw and sw version)?&lt;/p&gt;
&lt;p&gt;Are you testing with the ANCS example in the SDK? Have you done any modifications to this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>