<?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: gAttErrCodeInsufficientEncryption_c error in client mode</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/gAttErrCodeInsufficientEncryption-c-error-in-client-mode/m-p/1094212#M9986</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;How are you enabling/disabling the bonding and pairing process? Could you please confirm that you are changing the definitions in the &lt;EM&gt;&lt;SPAN style="color: #993366;"&gt;app_preinclude.h&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/*! Enable/disable use of bonding capability */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define gAppUseBonding_d   1&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/*! Enable/disable use of pairing procedure */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define gAppUsePairing_d   1&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those need to be also defined in that way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2020 03:41:40 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2020-06-02T03:41:40Z</dc:date>
    <item>
      <title>gAttErrCodeInsufficientEncryption_c error in client mode</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/gAttErrCodeInsufficientEncryption-c-error-in-client-mode/m-p/1094211#M9985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello members,&lt;/P&gt;&lt;P&gt;I have 2 boards in my architecture one in client &lt;SPAN&gt;central&amp;nbsp;&lt;/SPAN&gt;and one in the server&amp;nbsp;peripheral configuration.&lt;/P&gt;&lt;P&gt;These are my pairing parameters of both side&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;gapPairingParameters_t gPairingParameters = {&lt;BR /&gt; .withBonding = gAppUseBonding_d,&lt;BR /&gt; .securityModeAndLevel = gSecurityMode_1_Level_3_c,&lt;BR /&gt; .maxEncryptionKeySize = mcEncryptionKeySize_c,&lt;BR /&gt; .localIoCapabilities = gIoNone_c,//gIoKeyboardDisplay_c&lt;BR /&gt; .oobAvailable = FALSE,&lt;BR /&gt; .centralKeys = gIrk_c,&lt;BR /&gt; .peripheralKeys = (gapSmpKeyFlags_t)(gLtk_c | gIrk_c),&lt;BR /&gt; .leSecureConnectionSupported = TRUE,&lt;BR /&gt; .useKeypressNotifications = FALSE,&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;when I run the code the client-side callback&amp;nbsp;&lt;STRONG&gt;BleApp_GattClientCallback &lt;/STRONG&gt;throws an error&lt;STRONG&gt;&amp;nbsp;gAttErrCodeInsufficientEncryption_c .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The same architecture works fine with pairing and bonding disabled.&lt;/P&gt;&lt;P&gt;I'm guessing that the problem is with the pairing process but I couldn't find the reason.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2020 12:13:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/gAttErrCodeInsufficientEncryption-c-error-in-client-mode/m-p/1094211#M9985</guid>
      <dc:creator>rahul_singh</dc:creator>
      <dc:date>2020-05-30T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: gAttErrCodeInsufficientEncryption_c error in client mode</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/gAttErrCodeInsufficientEncryption-c-error-in-client-mode/m-p/1094212#M9986</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;How are you enabling/disabling the bonding and pairing process? Could you please confirm that you are changing the definitions in the &lt;EM&gt;&lt;SPAN style="color: #993366;"&gt;app_preinclude.h&lt;/SPAN&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/*! Enable/disable use of bonding capability */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define gAppUseBonding_d   1&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;/*! Enable/disable use of pairing procedure */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define gAppUsePairing_d   1&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Those need to be also defined in that way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 03:41:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/gAttErrCodeInsufficientEncryption-c-error-in-client-mode/m-p/1094212#M9986</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2020-06-02T03:41:40Z</dc:date>
    </item>
  </channel>
</rss>

