<?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: disconnect after the connection</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999748#M8462</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;Without the sniffer log and the modification I can't really know what it is happening to your device. Still, you need to be sure that your second client-server connection is advertising correctly and sending the correct packet to the correct address. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you need to be careful as you might get out of memory due to the necessary footprint for the Wireless Connectivity Framework, using both libraries and the different application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try adding the next defines to your application to try to find out if your issue is a memory ones or a different.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define gUsePanic_c 1&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_TRACKING&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_STATISTICS&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_DEBUG&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_DEBUG_OUT_OF_MEMORY&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;Hope it helps.&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>Wed, 22 Jan 2020 18:42:24 GMT</pubDate>
    <dc:creator>stephanie_m</dc:creator>
    <dc:date>2020-01-22T18:42:24Z</dc:date>
    <item>
      <title>disconnect after the connection</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999745#M8459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use the QN908X device.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modify the private_profile_client_project for my project and i want to connect at an other ble device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i success to scan and connect to the server device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, sometimes, after to connect at the server device, the client device disconnect automatically and i need to make an reset MCU to reconnect to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i look in the&amp;nbsp;pConnectionEvent when a receive the disconnect event, the fail reason is&amp;nbsp;gHciConnectionFailedToBeEstablished_c. Do you know why this disconnection happens&lt;BUTTON class="" style="background: transparent; border: none;"&gt;?&lt;/BUTTON&gt;&lt;/P&gt;&lt;DIV style="color: #1b1e25; background-color: #ffffff;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 12:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999745#M8459</guid>
      <dc:creator>romain_auber</dc:creator>
      <dc:date>2020-01-13T12:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: disconnect after the connection</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999746#M8460</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;By any chance do you have more details on when does this situation happen ? Do you have an sniffer log so we can see the complete process being followed? When you mention you modify to communicate with another device, which kind of modification are you talking about ?&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>Thu, 16 Jan 2020 16:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999746#M8460</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2020-01-16T16:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: disconnect after the connection</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999747#M8461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I don't have a sniffer to see the proces of the connection.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modify the example private profile serveur and private profile client with my own profiles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The private profile client is modify too to work in serveur mode. i launch the scan with the function&amp;nbsp;App_StartScanning(&amp;amp;gScanParams, BleApp_ScanningCallback,TRUE). I found the serveur device and i launch the connection with function&amp;nbsp;App_Connect(&amp;amp;gConnReqParams, BleApp_ConnectionCallback) in the function BleApp_ScanningCallback (gapScanningEvent_t* pScanningEvent).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see always the client connect to the serveur in the&amp;nbsp;BleApp_ConnectionCallback() function in the client device.&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;However, i don't see connection in the serveur device and i see next a deconnection&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;in the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;BleApp_ConnectionCallback() function in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;client&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;device.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;I dont 't change the connection parameters&amp;nbsp;gConnReqParams and i use the parameter than the&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;private profile client.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 14:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999747#M8461</guid>
      <dc:creator>romain_auber</dc:creator>
      <dc:date>2020-01-20T14:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: disconnect after the connection</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999748#M8462</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;Without the sniffer log and the modification I can't really know what it is happening to your device. Still, you need to be sure that your second client-server connection is advertising correctly and sending the correct packet to the correct address. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you need to be careful as you might get out of memory due to the necessary footprint for the Wireless Connectivity Framework, using both libraries and the different application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try adding the next defines to your application to try to find out if your issue is a memory ones or a different.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="property macro token"&gt;#define gUsePanic_c 1&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_TRACKING&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_STATISTICS&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_DEBUG&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#define MEM_DEBUG_OUT_OF_MEMORY&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;Hope it helps.&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>Wed, 22 Jan 2020 18:42:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/disconnect-after-the-connection/m-p/999748#M8462</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2020-01-22T18:42:24Z</dc:date>
    </item>
  </channel>
</rss>

