<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: KW36 : Iphone re-pairing issue  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955266#M54876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #555555; "&gt;After receiving the PIN or key missing, the iPhone will actively disconnect and cannot execute to GATT Read/Write, so replying to ATT_ERR_INSUFFICIENT_AUTHOR is also unrealizable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82857i9AD37302B0289667/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2019 08:10:22 GMT</pubDate>
    <dc:creator>xing_chang</dc:creator>
    <dc:date>2019-09-27T08:10:22Z</dc:date>
    <item>
      <title>KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955263#M54873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings for the day!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Face re-pairing issue in iPhone similar to the issue mentioned in this link &amp;nbsp;&lt;A class="link-titled" href="https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/649415" title="https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/649415"&gt;[Resolved] TI SDK 1.40.00.45 : Crash when re-pairing with a peer device that lost or removed its bonding keys still exis…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My peripheral device : KW36, central device: iPhone X(iOS version: 12.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try the following sequence :&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Flash KW36 with hid_device example.&lt;/P&gt;&lt;P&gt;2) Initiate a connection from iPhone X(iOS version:12.4) to KW36,&lt;/P&gt;&lt;P&gt;3) I use just works pairing( no display, no keyboard) and &lt;STRONG&gt;iPhone gets paired successfully&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;4) Bonding deleted from peripheral device(kw36) and not from central device(iPhone)&lt;/P&gt;&lt;P&gt;5) After this the central device(iphone) initiates a connection request, but does not send a pairing request to the peripheral device(kw36)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I understood from this link&amp;nbsp;&lt;A class="link-titled" href="https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/649415" title="https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/t/649415"&gt;[Resolved] TI SDK 1.40.00.45 : Crash when re-pairing with a peer device that lost or removed its bonding keys still exis…&lt;/A&gt;&amp;nbsp; is, we can send "insufficient authentication" to GATT read/write request by central device to peripheral device, so that central device will get discovery error(insufficient authentication) and iPhone will initiate pairing request after this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement this failure scenario in KW36, how I can do this ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sai Kalyana Raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Sep 2019 12:54:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955263#M54873</guid>
      <dc:creator>skalyan2</dc:creator>
      <dc:date>2019-09-22T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955264#M54874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a specific reason why you are removing the bonding information from your device ? Also, could you please help me with more details about your security settings ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;BR /&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:12:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955264#M54874</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2019-09-25T14:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955265#M54875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Estephania,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to my requirement, we can pair and bond maximum of one device.&lt;/P&gt;&lt;P&gt;Assume if kw36 has already one device bonded to kw36 and user needs to pair and bond some other device to kw36, for this we have a&amp;nbsp;button in our prototype which if user presses, we will delete the bonding information of the previously bonded phone from KW36 and allow him to pair or bond new device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Security settings :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;securityModeAndLevel :mode1 level 2 and just works pairing&amp;nbsp;&lt;/P&gt;&lt;P&gt;localIoCapabilities : gIoNone_c&lt;/P&gt;&lt;P&gt;leSecureConnectionSupported = FALSE,&lt;BR /&gt;useKeypressNotifications = FALSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please get back if you need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Sai Kalyana Raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 14:28:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955265#M54875</guid>
      <dc:creator>skalyan2</dc:creator>
      <dc:date>2019-09-25T14:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955266#M54876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #555555; "&gt;After receiving the PIN or key missing, the iPhone will actively disconnect and cannot execute to GATT Read/Write, so replying to ATT_ERR_INSUFFICIENT_AUTHOR is also unrealizable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/82857i9AD37302B0289667/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2019 08:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955266#M54876</guid>
      <dc:creator>xing_chang</dc:creator>
      <dc:date>2019-09-27T08:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955267#M54877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/XingChang"&gt;XingChang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you say ,i understand the "&lt;SPAN style="color: #555555; background-color: #ffffff;"&gt;ATT_ERR_INSUFFICIENT_AUTHOR" is&amp;nbsp;&lt;SPAN&gt;unrealizable, then what is the procedure in slave(KW36 peripheral) that can be done for making master(central device - iphone) to initiate a pairing request after slave has sent a security request&amp;nbsp;in this half-paired scenario?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also in your snapshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; background-color: #ffffff;"&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; background-color: #ffffff;"&gt;&lt;SPAN&gt;Sai Kalyana Raman&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2019 22:19:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955267#M54877</guid>
      <dc:creator>skalyan2</dc:creator>
      <dc:date>2019-09-28T22:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955268#M54878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P&gt;When KW36 returns PIN or Key missing, the phone will initiate the re-pairing, but it is obvious that the iPhone has not done so.&lt;/P&gt;&lt;P&gt;Can you check if the iPhone receives a key missing message, if yes, you can actively delete the pairing message and repair it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2019 23:42:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955268#M54878</guid>
      <dc:creator>xing_chang</dc:creator>
      <dc:date>2019-09-28T23:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955269#M54879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/XingChang"&gt;XingChang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked, iphone does not receive any "key missing message" , what is happening in my case is :&lt;/P&gt;&lt;P&gt;Step 1: KW36 is connected to iphone.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step 2:&lt;/SPAN&gt;&amp;nbsp;I delete the bonding(keys) in kw36&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step 3:&amp;nbsp;&lt;/SPAN&gt;The iphone gets disconnected after step2 and after 2 seconds, iphone again shows as "&lt;STRONG&gt;connected&lt;/STRONG&gt;" in "iphone-&amp;gt;Settings-&amp;gt; bluetooth" menu , iphone encrypts the link and the iphone shows as connected . Can you please check in iphone X (12.4 ios version) and provide any workaround which can make &lt;STRONG&gt;iphone disconnect&lt;/STRONG&gt; from kw36 &lt;STRONG&gt;or is it possible&amp;nbsp;to&amp;nbsp;do some workaround in "ios version - nxp iot toolbox"&lt;/STRONG&gt; ? if any workaround can be done, please provide me the workaround , i am struck with this issue to test half paired scenarios&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you provide me some analysis for my request asap ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai Kalyana Raman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Oct 2019 18:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955269#M54879</guid>
      <dc:creator>skalyan2</dc:creator>
      <dc:date>2019-10-05T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: KW36 : Iphone re-pairing issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955270#M54880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sai,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;At step 2,&amp;nbsp;do you delete the bonding information using Gap_RemoveBond() in the connection state?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;If yes, please disconnect first, then delete the bonding information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;&lt;SPAN style="font-weight: 400;"&gt;Gap_RemoveBond&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;/*! *********************************************************************************&lt;BR /&gt;* \brief Removes the bond with a device.&lt;BR /&gt;*&lt;BR /&gt;* \param[in] nvmIndex Index of the device in the NVM bonding area.&lt;BR /&gt;*&lt;BR /&gt;* \return gBleSuccess_c or error.&lt;BR /&gt;*&lt;BR /&gt;* \remarks &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;This API requires that there are no active connections at call time&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;* nvmIndex is an integer ranging from 0 to N-1, where N is the number of&lt;BR /&gt;* bonded devices and can be obtained by calling Gap_GetBondedDevicesCount(&amp;amp;N).&lt;BR /&gt;*&lt;BR /&gt;* \remarks This function executes synchronously.&lt;BR /&gt;*&lt;BR /&gt;********************************************************************************** */&lt;BR /&gt;bleResult_t Gap_RemoveBond&lt;BR /&gt;(&lt;BR /&gt; uint8_t nvmIndex&lt;BR /&gt;);&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 02:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW36-Iphone-re-pairing-issue/m-p/955270#M54880</guid>
      <dc:creator>xing_chang</dc:creator>
      <dc:date>2019-10-08T02:36:18Z</dc:date>
    </item>
  </channel>
</rss>

