<?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 BLE Encryption in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1695065#M15364</link>
    <description>&lt;P&gt;I am trying to pair two QN9090 devices(SDK_2.6.3_QN9090) using OOB method.&lt;BR /&gt;The following parameters are used both peripheral and central.&lt;BR /&gt;gapPairingParameters_t gPairingParameters = {&lt;BR /&gt;.withBonding = gAppUseBonding_d,&lt;BR /&gt;.securityModeAndLevel = gSecurityMode_1_Level_4_c,&lt;BR /&gt;.maxEncryptionKeySize = mcEncryptionKeySize_c,&lt;BR /&gt;.localIoCapabilities = gIoNone_c,&lt;BR /&gt;.oobAvailable = TRUE,&lt;BR /&gt;.centralKeys = (gapSmpKeyFlags_t)(gIrk_c),&lt;BR /&gt;.peripheralKeys = (gapSmpKeyFlags_t)(gIrk_c),&lt;BR /&gt;.leSecureConnectionSupported = TRUE,&lt;BR /&gt;.useKeypressNotifications = FALSE,&lt;BR /&gt;};&lt;BR /&gt;Initially the pairing request was sent by central and response was sent by peripheral.&lt;/P&gt;&lt;P&gt;I am having few doubts after this.&lt;/P&gt;&lt;P&gt;1)I am trying to start the encryption between peripheral and central. Currently I am struggling how to start the encryption link between the devices.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2)I know For secure connection LTK cannot be distributed, it will generated internally, But how can i exchange LTK and store it for secure pairing between peripheral and central .&lt;/P&gt;&lt;P&gt;3)I registered L2Cap connection using PSM Value and I am able to transfer the data using L2CAP, but I need to send data using SMP L2CAP . I tried with SMP CID (0x0006). But unable to transfer the data in SMP L2CAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2023 13:58:28 GMT</pubDate>
    <dc:creator>Ajay1202</dc:creator>
    <dc:date>2023-07-28T13:58:28Z</dc:date>
    <item>
      <title>BLE Encryption</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1695065#M15364</link>
      <description>&lt;P&gt;I am trying to pair two QN9090 devices(SDK_2.6.3_QN9090) using OOB method.&lt;BR /&gt;The following parameters are used both peripheral and central.&lt;BR /&gt;gapPairingParameters_t gPairingParameters = {&lt;BR /&gt;.withBonding = gAppUseBonding_d,&lt;BR /&gt;.securityModeAndLevel = gSecurityMode_1_Level_4_c,&lt;BR /&gt;.maxEncryptionKeySize = mcEncryptionKeySize_c,&lt;BR /&gt;.localIoCapabilities = gIoNone_c,&lt;BR /&gt;.oobAvailable = TRUE,&lt;BR /&gt;.centralKeys = (gapSmpKeyFlags_t)(gIrk_c),&lt;BR /&gt;.peripheralKeys = (gapSmpKeyFlags_t)(gIrk_c),&lt;BR /&gt;.leSecureConnectionSupported = TRUE,&lt;BR /&gt;.useKeypressNotifications = FALSE,&lt;BR /&gt;};&lt;BR /&gt;Initially the pairing request was sent by central and response was sent by peripheral.&lt;/P&gt;&lt;P&gt;I am having few doubts after this.&lt;/P&gt;&lt;P&gt;1)I am trying to start the encryption between peripheral and central. Currently I am struggling how to start the encryption link between the devices.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2)I know For secure connection LTK cannot be distributed, it will generated internally, But how can i exchange LTK and store it for secure pairing between peripheral and central .&lt;/P&gt;&lt;P&gt;3)I registered L2Cap connection using PSM Value and I am able to transfer the data using L2CAP, but I need to send data using SMP L2CAP . I tried with SMP CID (0x0006). But unable to transfer the data in SMP L2CAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 13:58:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1695065#M15364</guid>
      <dc:creator>Ajay1202</dc:creator>
      <dc:date>2023-07-28T13:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Encryption</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1696147#M15369</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219236"&gt;@Ajay1202&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Hope you are doing well.&lt;/P&gt;
&lt;P&gt;Please, use the latest version available of the QN9090 SDK. You can download it from the &lt;A href="https://mcuxpresso.nxp.com/en/select" target="_blank"&gt;MCUXpresso SDK Builder&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;securityModeAndLevel = gSecurityMode_1_Level_4_c should allow you to have Encryption with LE Secure Connections pairing. Also, please make sure that you have enabled gAppUseBonding_d and gAppUsePairing_d in source/app_preinclude.h file.&lt;/P&gt;
&lt;P&gt;When using Secure Connections, LTK should be derived/calculated from the Diffie-Hellman Key. This operation should be done by the stack.&lt;/P&gt;
&lt;P&gt;You may find some useful information inside the BLE Application Developer's Guide and BLE Host Stack API Reference Manual (these documents can be found inside QN9090 SDK docs folder &amp;gt; docs &amp;gt; wireless &amp;gt; Bluetooth).&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 21:32:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1696147#M15369</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-07-31T21:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Encryption</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1696348#M15373</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200888"&gt;@EduardoZamora&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am doing well, Hope you are doing well.&lt;/P&gt;&lt;P&gt;I &lt;SPAN&gt;have enabled gAppUseBonding_d and gAppUsePairing_d in source/app_preinclude.h file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;When using Secure Connections, LTK should be derived/calculated from the Diffie-Hellman Key. This operation should be done by the stack&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- Is the calculation from DHkey implementation is required in the application host side ?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 05:37:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1696348#M15373</guid>
      <dc:creator>Ajay1202</dc:creator>
      <dc:date>2023-08-01T05:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: BLE Encryption</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1698020#M15396</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please, take a look at the article &lt;A href="https://community.nxp.com/t5/Wireless-Connectivity-Knowledge/KW36-Enabling-Out-Of-Band-Pairing-on-a-Bluetooth-LE-Central-and/ta-p/1109992" target="_blank"&gt;KW36 - Enabling Out Of Band Pairing on a Bluetooth LE Central and Peripheral&lt;/A&gt;. Although this article describes how to enable OOB pairing (using Legacy Pairing and Secure Connections) on Bluetooth LE connectivity examples basing on FRDM-KW36, you can use it as a reference for your development. Here you can see which APIs require user implementation in the code.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Eduardo.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 20:32:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/BLE-Encryption/m-p/1698020#M15396</guid>
      <dc:creator>EduardoZamora</dc:creator>
      <dc:date>2023-08-02T20:32:18Z</dc:date>
    </item>
  </channel>
</rss>

