<?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 Relation between BLE Connection Event Length and Connection Intervel in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503762#M13531</link>
    <description>&lt;P&gt;Is there a relation between connection event length and connection intervel?&lt;/P&gt;&lt;P&gt;From my understanding connection intervel = connection event + sleep time. That is after the connection event the device sleeps, then wakes up on next intervel to process the event. Is this right?&lt;/P&gt;&lt;P&gt;Is only one event in one intervel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Connection Event Length Ranges&lt;BR /&gt;* Size: 2 bytes.&lt;BR /&gt;* Unit: 0.625ms.&lt;BR /&gt;* Range: maximum possible (0 - (40959.375ms ~ 41s))&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Connection Interval Ranges&lt;BR /&gt;* Size: 2 bytes&lt;BR /&gt;* Unit: 1.25ms.&lt;BR /&gt;* Range: 7.5ms - 4s.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;How we use eventLengthMax which 41s and intervelLengthMax 4s together? How this is possible?&lt;/P&gt;&lt;P&gt;In KW36 sample example 'frdmkw36_wireless_examples_bluetooth_temp_coll_bm',&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gapConnectionRequestParameters_t gConnReqParams =
{
    .scanInterval = 36,
    .scanWindow = 36,
    .filterPolicy = (uint8_t)gUseDeviceAddress_c,
    .ownAddressType = gBleAddrTypePublic_c,
    .connIntervalMin = gcConnectionIntervalMinDefault_c,
    .connIntervalMax = gcConnectionIntervalMinDefault_c,
    .connLatency = 0,
    .supervisionTimeout = 0x03E8,
    .connEventLengthMin = 0,
    .connEventLengthMax = 0xFFFF,
    .initiatingPHYs = (uint8_t)gLePhy1MFlag_c,
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Here event length is ~41 sec and connection intervel is 50 ms. Please clarify this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nidhin&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 07:30:33 GMT</pubDate>
    <dc:creator>nidhintomy</dc:creator>
    <dc:date>2022-08-10T07:30:33Z</dc:date>
    <item>
      <title>Relation between BLE Connection Event Length and Connection Intervel</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503762#M13531</link>
      <description>&lt;P&gt;Is there a relation between connection event length and connection intervel?&lt;/P&gt;&lt;P&gt;From my understanding connection intervel = connection event + sleep time. That is after the connection event the device sleeps, then wakes up on next intervel to process the event. Is this right?&lt;/P&gt;&lt;P&gt;Is only one event in one intervel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Connection Event Length Ranges&lt;BR /&gt;* Size: 2 bytes.&lt;BR /&gt;* Unit: 0.625ms.&lt;BR /&gt;* Range: maximum possible (0 - (40959.375ms ~ 41s))&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;* Connection Interval Ranges&lt;BR /&gt;* Size: 2 bytes&lt;BR /&gt;* Unit: 1.25ms.&lt;BR /&gt;* Range: 7.5ms - 4s.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;How we use eventLengthMax which 41s and intervelLengthMax 4s together? How this is possible?&lt;/P&gt;&lt;P&gt;In KW36 sample example 'frdmkw36_wireless_examples_bluetooth_temp_coll_bm',&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;gapConnectionRequestParameters_t gConnReqParams =
{
    .scanInterval = 36,
    .scanWindow = 36,
    .filterPolicy = (uint8_t)gUseDeviceAddress_c,
    .ownAddressType = gBleAddrTypePublic_c,
    .connIntervalMin = gcConnectionIntervalMinDefault_c,
    .connIntervalMax = gcConnectionIntervalMinDefault_c,
    .connLatency = 0,
    .supervisionTimeout = 0x03E8,
    .connEventLengthMin = 0,
    .connEventLengthMax = 0xFFFF,
    .initiatingPHYs = (uint8_t)gLePhy1MFlag_c,
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Here event length is ~41 sec and connection intervel is 50 ms. Please clarify this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nidhin&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 07:30:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503762#M13531</guid>
      <dc:creator>nidhintomy</dc:creator>
      <dc:date>2022-08-10T07:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Relation between BLE Connection Event Length and Connection Intervel</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503870#M13532</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;As shown in the code above `.connEventLengthMax = 0xFFFF`,&amp;nbsp; 0xFFFF converted to decimal is 65535, then multiply by the unit&amp;nbsp;&lt;SPAN&gt;0.625ms, get the result of 40925ms(~ 41s).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And&amp;nbsp; the&amp;nbsp;definition of&amp;nbsp; `gcConnectionIntervalMinDefault_c` could be found in the file `ble_general.h`.&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;#ifndef gcConnectionIntervalMinDefault_c
#define gcConnectionIntervalMinDefault_c            (40U)
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, the connection interval is 40 multiplied by the unit 1.25ms to get 50ms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gavin Jia&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503870#M13532</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2022-08-10T09:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Relation between BLE Connection Event Length and Connection Intervel</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503883#M13533</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thats why i am asking how is this possible?&lt;/P&gt;&lt;P&gt;How is event length greater than connection interval?&lt;/P&gt;&lt;P&gt;Should it be lower than connection interval?&lt;/P&gt;&lt;P&gt;Please clarify.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nidhin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 10:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1503883#M13533</guid>
      <dc:creator>nidhintomy</dc:creator>
      <dc:date>2022-08-10T10:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Relation between BLE Connection Event Length and Connection Intervel</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1504442#M13540</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/194348"&gt;@nidhintomy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Event length should always be less than connection interval, and we can&amp;nbsp; achieve this relationship because of the existence of the relation of the two units. Here the `connEventLengthMax` is a possible value that cannot be obtained &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;due to other constraints.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Gavin Jia&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 03:16:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1504442#M13540</guid>
      <dc:creator>Gavin_Jia</dc:creator>
      <dc:date>2022-08-11T03:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Relation between BLE Connection Event Length and Connection Intervel</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1504840#M13543</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203261"&gt;@Gavin_Jia&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After considering the constraints link layer selects a connection event length less than connection intervel.&lt;/P&gt;&lt;P&gt;Is it mean the event length selected by link layer is always constant value and it will not changed after selecting it ,except calling a update connection parameter request?&lt;/P&gt;&lt;P&gt;Is the event length can be a variable that can change between 0 - connection intervel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nidhin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 09:31:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Relation-between-BLE-Connection-Event-Length-and-Connection/m-p/1504840#M13543</guid>
      <dc:creator>nidhintomy</dc:creator>
      <dc:date>2022-08-11T09:31:58Z</dc:date>
    </item>
  </channel>
</rss>

