<?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>ios reconnect keyboard after bonds erased,conn_sec_failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28568/ios-reconnect-keyboard-after-bonds-erased-conn_sec_failed</link><description>i use the keyboard project, bond and pair the iphone7(ios11.2), the iphone display is connected,ok, then i reset the keyboard and erase bonds, the iphone display disconnected then connected, but this link can not work, is a kind of false connections.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Jan 2018 13:38:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28568/ios-reconnect-keyboard-after-bonds-erased-conn_sec_failed" /><item><title>RE: ios reconnect keyboard after bonds erased,conn_sec_failed</title><link>https://devzone.nordicsemi.com/thread/113193?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2018 13:38:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf0f1a7-7c0a-4fb4-aae3-a369e50d893f</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid I don&amp;#39;t have a viewer for the TI sniffer logs. But I recreated this here and I can see that iOS doesn&amp;#39;t terminate the connection even though encryption start is rejected. However I&amp;#39;m afraid we cannot change the behavior of iOS, so you will have to add code to your application to disconnect on this event if that is the behavior you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ios reconnect keyboard after bonds erased,conn_sec_failed</title><link>https://devzone.nordicsemi.com/thread/113192?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 10:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb2bafd1-d2b8-4258-9866-acc967fd31fb</guid><dc:creator>jiaqing_liuliu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7624.2017121502android.psd"&gt;2017121502android.psd&lt;/a&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4503.2017121502ios.psd"&gt;2017121502ios.psd&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;hi run_ar ,thank you for your reply, i get the sniffer logs by Packet Sniffer,the catch chip is cc2540, please see the attachment , 2017121502android.psd  is  android5.1.1 link keyboard
2017121502ios.psd is ios11.2 link keyboard.
the step is that  android bond and pair keyboard ,connect ok,then reset the keyboard and erase bonds, then android disconnect with keyboard.
the ios11.2 link keybord step is same,   but the ios disconect then connect the keyboard ,
i don&amp;#39;t know the sniffer log files is valid , this is my first time to catch the sinffer log message.&lt;/p&gt;
&lt;p&gt;In addition, android5.1.1 link the keyboard, i find the log message in the end , when android find a connnect security failed event ,then send a disconnect event to keyboard ,so the link is disconnect,then keyboard go to fast advertising .
ios11.2 link the keyboard, i find in the end,  a connect security failed event is  the case SM_EVT_LINK_ENCRYPTION_FAILED, but ios have no  send disconnect event to keyboard&lt;/p&gt;
&lt;p&gt;the issue is easy to repeat,  i use the nrf52832 chip,nRF5_SDK_12.3.0_d7731ad,pca10040.h,ble_app_hids_keyboard project s132_nrf52_3.0.0_softdevice.hex&lt;/p&gt;
&lt;p&gt;thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ios reconnect keyboard after bonds erased,conn_sec_failed</title><link>https://devzone.nordicsemi.com/thread/113191?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 20:34:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a94035-77e7-4caa-a682-cf9e4e41d617</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If you delete the bond information on the the Peripheral but not on the phone you should see get a error event. Note that iOS will reconnect automatically to a known/bonded HID device and try to re-establish the bond. So you will get the failed event. Not sure what the behavior is for the Android 5.1.1 Handset you are using, but sounds like it has a security issue... Regardless it is hard to say exactly what is happening without looking at sniffer logs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>