<?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 Re: Connecting to multiple servers from a client in BLE in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389794#M184759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tested the code and it is asserting after subscribing to one service. Please find attached the screenshots for your reference.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 03:35:22 GMT</pubDate>
    <dc:creator>EmbeddedTech</dc:creator>
    <dc:date>2021-12-21T03:35:22Z</dc:date>
    <item>
      <title>Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1384761#M184253</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to connect my BLE Client (iMXRT1060 +ublox module) with 2 servers (QN9090). I was able to successfully connect to one board and read the data. When I try to establish connection with both the servers only one gets connected and for the other module I get the error as below,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Found device:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Create connection failed (err -12)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have configured the CONFIG_BT_MAX_CONN to 2 and have done the required modifications in the central_ht.c file to connect to 2 servers. But I understand from the above error that the SDK currently supports only one connection. Is that correct?&lt;/P&gt;&lt;P&gt;Is there any sample SDK to connect to multiple servers as we need to connect to multiple peripherals to get data. Your help on this is highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 09:44:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1384761#M184253</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-10T09:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389161#M184704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Our requirement is to connect to multiple servers (atleast 3) to get the data. Since BLE can support a maximum of 7 connections at a time, should the sdk also support multiple connections? Can you help us with the changes to be done on the sdk side to support multiple connections?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 02:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389161#M184704</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-20T02:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389168#M184705</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189325"&gt;@EmbeddedTech&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Sorry, my previous reply is not correct, I checked with our BLE engineer, the client can connect more than 2 server at the same time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please refer to this application note at first:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12414.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12414.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;If you still have question about it please kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 02:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389168#M184705</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-12-20T02:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389212#M184706</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Does the edgefast bluetooth example in iMXRT 1060 SDK support multiple connections? I am using the ublox module so I have defined the macro&amp;nbsp;WIFI_BOARD_AW_CM358. The sdk code for edgefast bluetooth is different from the freedom series code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have defined the macro CONFIG_BT_MAX_CONN to 2 and have also done changes in the central_ht.c file to support 2 connections. But looks like I can establish only one connection at a time.&lt;/P&gt;&lt;P&gt;In file bluetooth.h, what does the below macro mean?&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/4560"&gt;@def&lt;/a&gt; BT_ID_DEFAULT&lt;BR /&gt;*&lt;BR /&gt;* Convenience macro for specifying the default identity. This helps&lt;BR /&gt;* make the code more readable, especially when only one identity is&lt;BR /&gt;* supported.&lt;BR /&gt;*/&lt;BR /&gt;#define BT_ID_DEFAULT 0&lt;/P&gt;&lt;P&gt;The above ID is used in bt_pal_conn.c etc. Does this mean the sdk currently supports only one connection?&lt;/P&gt;&lt;P&gt;Your help on this is highly appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 03:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389212#M184706</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-20T03:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389262#M184715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189325"&gt;@EmbeddedTech&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please keep patient, I will find more resource to check the details, any updated information will let you know, please give me more time, thanks.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 05:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389262#M184715</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-12-20T05:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389293#M184719</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;Ok, I will wait for your reply.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 05:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389293#M184719</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-20T05:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389441#M184733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I wrote a code but I do not have the device. So I hope you can test it. I am trying to use the array to store the connection info.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf56274_0-1639991403244.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165683i2CBF8A422CDBC29F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf56274_0-1639991403244.png" alt="nxf56274_0-1639991403244.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 09:11:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389441#M184733</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-12-20T09:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389473#M184735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189325"&gt;@EmbeddedTech&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;A id="link_37" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.nxp.com/t5/user/viewprofilepage/user-id/71004" target="_self" aria-label="View Profile of nxf56274"&gt;&lt;SPAN class=""&gt;nxf56274&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;is my BLE colleague, he helps you test it today, please follow his code and test it on your side, whether it works or not?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Any updated information, please kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 09:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389473#M184735</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2021-12-20T09:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389735#M184751</link>
      <description>&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;I will update on my side and test it today.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 01:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389735#M184751</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-21T01:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389794#M184759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have tested the code and it is asserting after subscribing to one service. Please find attached the screenshots for your reference.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 03:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389794#M184759</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-21T03:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389802#M184761</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;1 Comment the 'scan_start', Does it work with only one device?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asd1.PNG" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/165756iADA438AFA5A23D43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asd1.PNG" alt="asd1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2 If so, please try to create a thread. In the thread, the uart is waiting for the cmd to&amp;nbsp;call the scan_start after the first device sending the data normally.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 04:32:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389802#M184761</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-12-21T04:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389947#M184777</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you mean like setting some sort of flag in the notify function on first receive and then use the flag in a new task to start scanning again?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 08:03:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389947#M184777</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-21T08:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389984#M184779</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yeah, this method works on kw. So I want you to try.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 08:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1389984#M184779</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-12-21T08:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1390045#M184790</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please find attached the file and the screenshot. Let me know if it makes sense. I will do some more testing to see if its consistent and will also do changes to my custom peripherals read to see if it works.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 09:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1390045#M184790</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2021-12-21T09:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1390054#M184791</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Yeah, it looks good&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 09:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1390054#M184791</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2021-12-21T09:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1403017#M186121</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Good morning. Now, I am trying to connect a third peripheral to my central device and I am able to establish a connection after connecting and subscribing to the first two peripherals. But after connecting the service discovery fails. The error code is 12 (ENOMEM). What does that mean?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 03:19:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1403017#M186121</guid>
      <dc:creator>EmbeddedTech</dc:creator>
      <dc:date>2022-01-21T03:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to multiple servers from a client in BLE</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1404331#M186230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will no longer support the wireless mcu. If you have any other question, please create a new thread. Many thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Da&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jan 2022 06:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Connecting-to-multiple-servers-from-a-client-in-BLE/m-p/1404331#M186230</guid>
      <dc:creator>nxf56274</dc:creator>
      <dc:date>2022-01-25T06:08:46Z</dc:date>
    </item>
  </channel>
</rss>

