<?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: KW36: Changing connection parameters by central</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940016#M7380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Mario, hallo Xiang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, exactly. The parameters used in&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;gapConnectionRequestParameters_t gConnReqParams are correctly passed and are in fact what I see when tracing the connection. But I want to update the parameters at run time later on - preferably not by triggering the change from a peripheral but by the central.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Xiang Li, you are right of course,&amp;nbsp;&lt;SPAN&gt;Gap_UpdateConnectionParameters() works even for the central role. I did not see that earlier, but now realized that my peripheral overwrote the connection parameters with a request of it's own. This is why the interval I saw in the trace did not match my expectation.&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="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thank you!&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="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Finn&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Oct 2019 08:02:10 GMT</pubDate>
    <dc:creator>finn_schmitz</dc:creator>
    <dc:date>2019-10-21T08:02:10Z</dc:date>
    <item>
      <title>KW36: Changing connection parameters by central</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940013#M7377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am running a FRDM-KW36 with SDK 2.2.1 as BLE central. Chaning the connection parameters by peripheral request works fine. However, I have not found how to change the connection parameters by the central directly. Can someone please point me towards to API call to use here? I first thought of&amp;nbsp;Gap_UpdateConnectionParameters(), but it seems this is used by the peripheral role.&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;Kind regards&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Finn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:14:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940013#M7377</guid>
      <dc:creator>finn_schmitz</dc:creator>
      <dc:date>2019-10-18T08:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: KW36: Changing connection parameters by central</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940014#M7378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Finn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you look at the next structure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;/* Default Connection Request Parameters */&lt;BR /&gt;gapConnectionRequestParameters_t gConnReqParams&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the initialization that has been defined in the app_config.c&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;.connIntervalMin = 30,&lt;BR /&gt; .connIntervalMax = 200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 01:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940014#M7378</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2019-10-21T01:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: KW36: Changing connection parameters by central</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940015#M7379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Finn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could be wrong. But I thought the function Gap_UpdateConnectionParameters() can work both on central / peripheral sides. Have you tested this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the structure "gConnReqParams" is only used when creating a connection, which is passed to the BLE stack via Gap_Connect(). So it only updates the connection parameters at the moment a connection is (re)established.&lt;/P&gt;&lt;P&gt;But I understood you that you want to keep the connection and update the parameters in the run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Xiang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 04:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940015#M7379</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2019-10-21T04:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: KW36: Changing connection parameters by central</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940016#M7380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Mario, hallo Xiang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, exactly. The parameters used in&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;gapConnectionRequestParameters_t gConnReqParams are correctly passed and are in fact what I see when tracing the connection. But I want to update the parameters at run time later on - preferably not by triggering the change from a peripheral but by the central.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Xiang Li, you are right of course,&amp;nbsp;&lt;SPAN&gt;Gap_UpdateConnectionParameters() works even for the central role. I did not see that earlier, but now realized that my peripheral overwrote the connection parameters with a request of it's own. This is why the interval I saw in the trace did not match my expectation.&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="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thank you!&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="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Finn&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 08:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW36-Changing-connection-parameters-by-central/m-p/940016#M7380</guid>
      <dc:creator>finn_schmitz</dc:creator>
      <dc:date>2019-10-21T08:02:10Z</dc:date>
    </item>
  </channel>
</rss>

