<?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>Wireless MCUのトピックRe: KW41Z Pairing Bonding Process</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986214#M8285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you do any additional changes to the application itself to merge the OTAP and HRS examples?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know of your findings about the device wipe and reprogramming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2020 18:24:18 GMT</pubDate>
    <dc:creator>Sebastian_Del_Rio</dc:creator>
    <dc:date>2020-01-16T18:24:18Z</dc:date>
    <item>
      <title>KW41Z Pairing Bonding Process</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986209#M8280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My prototype uses Rigado R41Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm able to connect, list all my services, sleep, wake up, connect etc without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started from HRS into, i integrate Otap functionnality ( may be it has an impact on my issue ? adresse conflict when save information on paring&amp;nbsp; or something like that ?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i'm enabling the pairing /bonding #include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able only one time with iot toolbox to bounded and have hrs value updating in the app.&lt;/P&gt;&lt;P&gt;Then i tried with nRf , it was boded and connected, but impossible to get all my services etc. Then i came back to iOt Toolbox, the same, unable to have again the hrs working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I force to unpair via android my R41Z eval board.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now impossible to get the paring process properly, when i click to connect both even in android, no pop up comes to enter the 6 digit passkey. It just doesn ' t connect and nothing happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also i see in the video that you have to disable Power down mode. I'm using low power and wake up perdiodically to check if i somebody wants to connect. Can you confirm we can use pairing process even with sleeping mode please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there dedicated step i forgot or a memory i corrupt ? Is the external memory used to save the pairing device please ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot bcause i'm a bit lost :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 22:22:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986209#M8280</guid>
      <dc:creator>Olfox</dc:creator>
      <dc:date>2020-01-08T22:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z Pairing Bonding Process</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986210#M8281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian, I hope you're doing well!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know which definitions did you enable/disable on your app_preinclude.h header file?&lt;/P&gt;&lt;P&gt;Specifically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is the privacy flag (gAppUsePrivacy_d) enabled?&lt;/LI&gt;&lt;LI&gt;Is the NVM flag (gAppUseNvm_d) enabled?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When pairing and bonding a device using these examples, information about the bond is saved to NVM (if enabled) or RAM, and, if for some reason, a proper disconnection is not performed, information about the bond may not be cleared accordingly, and may prevent the application from working as intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2020 16:02:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986210#M8281</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-01-10T16:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z Pairing Bonding Process</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986211#M8282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your answer and you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is the privacy flag (gAppUsePrivacy_d) enabled?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;-&amp;gt; no, i try with, same result no pop up for pairing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Is the NVM flag (gAppUseNvm_d) enabled?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;-&amp;gt; Yes, as OTAP feature as been merged into my HRS project. I have to first flash otap firmware, then flash my application based on hrs into the memory.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Is it possible to have a conflict of access to tha nvram because of the otap function?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;When i run latest hrs project it works fine. So I used Winmerge to compare the two project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;in app_preinclude.h, i see some difference that i tried to change without success yet:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;I'm using powerDowm mode to 1 to sleep between advertising if no central scan.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;Here in hrs :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;/* Defines pools by block size and number of blocks. Must be aligned to 4 bytes.*/&lt;BR /&gt;#define AppPoolsDetails_c \&lt;BR /&gt; _block_size_ 32 _number_of_blocks_ 6 _eol_ \&lt;BR /&gt; _block_size_ 64 _number_of_blocks_ 3 _eol_ \&lt;BR /&gt; _block_size_ 128 _number_of_blocks_ 10 _eol_ \&lt;BR /&gt; _block_size_ 512 _number_of_blocks_ 10 _eol_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;also :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;/* Defines total heap size used by the OS */&lt;BR /&gt;#define gTotalHeapSize_c 8000&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;and in mine :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;/* Defines pools by block size and number of blocks. Must be aligned to 4 bytes.*/&lt;BR /&gt;#define AppPoolsDetails_c \&lt;BR /&gt; _block_size_ 32 _number_of_blocks_ 8 _eol_ \&lt;BR /&gt; _block_size_ 64 _number_of_blocks_ 5 _eol_ \&lt;BR /&gt; _block_size_ 128 _number_of_blocks_ 4 _eol_ \&lt;BR /&gt; _block_size_ 512 _number_of_blocks_ 10 _eol_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;/* Defines total heap size used by the OS */&lt;BR /&gt;#define gTotalHeapSize_c 8500 //8000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;in the&amp;nbsp; MKW41...connectivity.ld there is also some diference&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f; "&gt;in HRS :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;gUseBootloaderLink_d = DEFINED(gUseBootloaderLink_d) ? gUseBootloaderLink_d : 0;&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;/* By default, the NVM is not used. */&lt;BR /&gt;gUseNVMLink_d = DEFINED(gUseNVMLink_d) ? gUseNVMLink_d : 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gUseBootloaderLink_d = DEFINED(gUseBootloaderLink_d) ? gUseBootloaderLink_d : 1;&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;/* By default, the NVM is not used. */&lt;BR /&gt;gUseNVMLink_d = DEFINED(gUseNVMLink_d) ? gUseNVMLink_d : 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it is may be normal as i'm using otap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran in debug mode step by step my program, and in ble_con_manager, i reach gConEvtConnected_c but never ParamRequest or EvtPairingRequest... so i guess that's normal i never see on smartphone the pop up to enter 6 digit code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jan 2020 12:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986211#M8282</guid>
      <dc:creator>Olfox</dc:creator>
      <dc:date>2020-01-12T12:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z Pairing Bonding Process</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986212#M8283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please try performing a mass erase by using the "unlock kinetis" command with J-Link Commander on your KW41Z? A guide on how to perform it can be found &lt;A href="https://mcuoneclipse.com/2014/10/05/unlocking-and-erasing-flash-with-segger-j-link/"&gt;here&lt;/A&gt;. After the unlock, does the pairing and bonding process still not initiate?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; Could you please let me know the procedure that was followed to add OTA support to the HRS example? This could be having an impact in the way the information for pairing and bonding is saved to NVM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 18:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986212#M8283</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-01-14T18:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z Pairing Bonding Process</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986213#M8284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sebastian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the tutoriel i followed to merge:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-343990"&gt;https://community.nxp.com/docs/DOC-343990&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So i have two step to perform: first flash bottloader otap client in memory, then flash my application ( in witch i merge the otap services , application code etc ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to erase the full memory and then re program like you advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 13:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986213#M8284</guid>
      <dc:creator>Olfox</dc:creator>
      <dc:date>2020-01-16T13:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z Pairing Bonding Process</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986214#M8285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you do any additional changes to the application itself to merge the OTAP and HRS examples?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know of your findings about the device wipe and reprogramming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 18:24:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-Pairing-Bonding-Process/m-p/986214#M8285</guid>
      <dc:creator>Sebastian_Del_Rio</dc:creator>
      <dc:date>2020-01-16T18:24:18Z</dc:date>
    </item>
  </channel>
</rss>

