<?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>Wi-Fi® + Bluetooth® + 802.15.4中的主题 Re: Programmatically Restarting BLE</title>
    <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1960093#M3225</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can take a look to the Release Notes of the SDK in the following directory&amp;nbsp;SDK_2_16_000_MIMXRT1170-EVKB\docs\wireless\Release Notes to see the changes and known bug fixes. I checked RT1170-EVK 2.13.1 RNs and I didn't find any known issues in BT.&lt;BR /&gt;&lt;BR /&gt;By the way, if you upgrade and you would like to get BT examples, you will need to use the EVKB SDK and not the EVK.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel.&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 18:28:02 GMT</pubDate>
    <dc:creator>DanielRuvalcaba</dc:creator>
    <dc:date>2024-09-23T18:28:02Z</dc:date>
    <item>
      <title>Programmatically Restarting BLE</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1957752#M3222</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;My team and I are using MIMXRT1176, using v2.13.1 of the SDK and the VSCode extension.&lt;/P&gt;&lt;P&gt;We have stumbled upon an error where repeatedly connecting then disconnecting stalls the BLE module, which seems to actually be a deadlock within the Ethermind Bluetooth stack's internal threads, though we are not entirely sure.&lt;BR /&gt;&lt;SPAN&gt;We know that Ethermind is built on top of the Zephyr Bluetooth stack and tried looking around for solutions there, but no luck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Ideally, we'd want to programmatically reset the BLE, and we found a bt_disable function (which is wrapped around a #if 0 directive), but there are a bit of issues with our solution that we hoped could get answered.&lt;/P&gt;&lt;P&gt;1. bt_disable&amp;nbsp;calls controller_init, which downloads the soft device again. Is this necessary?&lt;/P&gt;&lt;P&gt;2. Attempting to enable the Bluetooth via bt_enable after disabling it results in an error due to failure to push to a queue. The queue in question is free_tx, and seems to be related to the deadlock - it is never emptied.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have there been any changes that might address these issues in later versions of the SDK?&lt;BR /&gt;How do we programmatically reset the BLE?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For clarity:&lt;/P&gt;&lt;P&gt;* bt_enable and bt_disable can be found in bt_pal_hci_core.c&lt;/P&gt;&lt;P&gt;* The failure point of re-enabling Bluetooth is in bt_conn_init, there you can find the free_tx queue. The file is bt_pal_conn.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 13:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1957752#M3222</guid>
      <dc:creator>ofirmsh</dc:creator>
      <dc:date>2024-09-19T13:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Restarting BLE</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1957949#M3223</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Please help me with the following information:&lt;/P&gt;
&lt;P&gt;- What SDK example are you using?&lt;/P&gt;
&lt;P&gt;- Are you using an EVK?&lt;/P&gt;
&lt;P&gt;- What wireless module are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SDK 2.13.1 is an old version. I strongly recommend you use SDK 2.16.000. It includes several bug fixes since the delta between versions is big.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 18:46:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1957949#M3223</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2024-09-19T18:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Restarting BLE</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1959198#M3224</link>
      <description>Hi Daniel,&lt;BR /&gt;&lt;BR /&gt;1. Our codebase has significantly changed since we started the project, but was originally based off of the Bluetooth shell.&lt;BR /&gt;2. No, we are using a custom board; though its schematic is heavily based on the MIMXRT1170-EVK.&lt;BR /&gt;3. We are using the 88w8987 wireless module.&lt;BR /&gt;&lt;BR /&gt;We've been with v2.13.1 from a very early stage, fearing an upgrade due to integration issues. We'll try updating to the latest and see how it goes.&lt;BR /&gt;&lt;BR /&gt;In the meantime do you happen to know what version of the Zephyr Bluetooth stack does SDK v2.13.1 use, so we can have a look at the changelog since?&lt;BR /&gt;Or any other ways that we can programmatically restart the Bluetooth stack?</description>
      <pubDate>Sun, 22 Sep 2024 06:04:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1959198#M3224</guid>
      <dc:creator>ofirmsh</dc:creator>
      <dc:date>2024-09-22T06:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Programmatically Restarting BLE</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1960093#M3225</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can take a look to the Release Notes of the SDK in the following directory&amp;nbsp;SDK_2_16_000_MIMXRT1170-EVKB\docs\wireless\Release Notes to see the changes and known bug fixes. I checked RT1170-EVK 2.13.1 RNs and I didn't find any known issues in BT.&lt;BR /&gt;&lt;BR /&gt;By the way, if you upgrade and you would like to get BT examples, you will need to use the EVKB SDK and not the EVK.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 18:28:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/Programmatically-Restarting-BLE/m-p/1960093#M3225</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2024-09-23T18:28:02Z</dc:date>
    </item>
  </channel>
</rss>

