<?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: Ble Kw41z multiple peripheral device at the same time in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1163814#M10231</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i'm still looking for a real-time system with multiple ble devices connection. I need to use a tablet/smarphone as central. Since i can't use the ble mesh network, can you suggest me a way to do this task? I need a system that ensure me that the data received by ble peripheral devices are related by the same time.&lt;/P&gt;&lt;P&gt;Thank you&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 09:15:57 GMT</pubDate>
    <dc:creator>mangramarco</dc:creator>
    <dc:date>2020-10-07T09:15:57Z</dc:date>
    <item>
      <title>Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020422#M8691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;i'm trying to modify a device with Ble stack inside a kw41z that use wireless uart nxp demo. My fw is ok and it "speaks" with a smartphone app without problems.&lt;/P&gt;&lt;P&gt;Now i need to program more of one device (currently only two devices) at the same times with two different smartphone that use the same app.&lt;/P&gt;&lt;P&gt;In the first&amp;nbsp;step i changed the "shortened local name" in the gapAdStructure_t inside app_config.c file. I also changed the "public device address"in&amp;nbsp;gBDAddress_c[6] array (BD_ADDR macro).&lt;/P&gt;&lt;P&gt;With this mods the app is able to view the different devices with the same firmware but it works bad. For example, if i switch on both devices and if i connect a device with app, when i switchoff the other, the first does a disconnection from the app.&lt;/P&gt;&lt;P&gt;i'm trying to change the uuid128 of the uuid_service_wireless_uart but i'm not shure if this a correct procedure.&lt;/P&gt;&lt;P&gt;How can i do?&lt;/P&gt;&lt;P&gt;Thank youMarco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2020 10:08:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020422#M8691</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-03-12T10:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020423#M8692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to confirm,&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;For example, if i switch on both devices and if i connect a device with app, when i switchoff the other, the first does a disconnection from the app.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you connecting with 2 Phones?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example creates a random bd address with the same OUI. If you are connecting a 2 KW41 with 2 Phones, both connections are independent one of the other. Also, you could look at the disconnect reason in your code.&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>Thu, 12 Mar 2020 16:37:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020423#M8692</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-03-12T16:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020424#M8693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;thank you for response.&lt;/P&gt;&lt;P&gt;To be honest, i did an error. Now i explain better the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wrote an assignment of one flag for my code in callback function&amp;nbsp;BleApp_ConnectionCallback&amp;nbsp; to be able to&amp;nbsp;recognize when the device is or not connected. Maybe this is not a good solution because now i'm watching that this function is triggered even if i switch on/off other device but BEFORE a connection with a smartphone. I don't know if this is correct because the two devices are&amp;nbsp;with different BD_ADDR and shortened name.&lt;/P&gt;&lt;P&gt;Moreover when i switch on the second device, the first stop his advertising so i can't see it in the app, i can see only the second device.&lt;/P&gt;&lt;P&gt;In the last post i wrote that it cause a disconnection from the smartphone but it was only an impression for my inattention because this mechanism occur only when the devices are disconnected from any smartphone.&lt;/P&gt;&lt;P&gt;When connection with smartphone is established the callback function is only executed when really occur a disconnection from the phone.&lt;/P&gt;&lt;P&gt;However now i need to use other flags or mechanism to recognize when my peripheral is or not connected/disconnected. Can you suggest me a way?&lt;/P&gt;&lt;P&gt;How can i see more devices into my app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2020 11:39:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020424#M8693</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-03-13T11:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020425#M8694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure about your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;However now i need to use other flags or mechanism to recognize when my peripheral is or not connected/disconnected?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The BleApp_ConnectionCallback is generating an event depending on the connection status.&amp;nbsp;gConnEvtConnected_c or&amp;nbsp;gConnEvtDisconnected_c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are trying to connect more devices to a specific Phone, the APP is not capable to connect with more devices at the same time, but you could create a second instance and try to connect to another device.&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>Tue, 17 Mar 2020 00:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020425#M8694</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-03-17T00:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020426#M8695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;thanks for the support.&lt;/P&gt;&lt;P&gt;i don't know if i correctly explained my issue.&lt;/P&gt;&lt;P&gt;However in this days i've observed with more attention the code with debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to switch-on two of my devices and see them in a smarphone app. After i want to connect to only one of them.&lt;/P&gt;&lt;P&gt;The problem is that when i&amp;nbsp; switch-on the second device (with different BD_ADDR and shortened name) it would like to connect with the first! for this reason t&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;he BleApp_ConnectionCallback generate a gConnEvtConnected_c event&amp;nbsp;&lt;SPAN style="color: #3d3d3d;"&gt;and the first device disappear from the app view.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;how can i see both devices in advertising status?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #3d3d3d; "&gt;&lt;BR /&gt;Marco&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 12:32:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020426#M8695</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-03-17T12:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020427#M8696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not following you. Is it possible that you could provide a diagram about what do you want to achieve?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;how can i see both devices in advertising status? Depending on if you are entering in the&amp;nbsp;BleApp_AdvertisingCallback, you could look at the adv status of your device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2020 23:52:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020427#M8696</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-03-17T23:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020428#M8697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;here an image that describe my situation. I hope it's clear.&lt;/P&gt;&lt;P&gt;Relatively to my issue, how can i do for avoid that&amp;nbsp; the second device activate an gConnEvtConnected_c event to the first device?&lt;/P&gt;&lt;P&gt;to give an additional information, if i switch-off the second device after gConnEvtConnected_c event in the first, it activate an gConnEvtDisconnected_c event and the first device&amp;nbsp;is now visible in the app.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Marco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled Diagram (1).png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/98067i267FB8910D62DF0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled Diagram (1).png" alt="Untitled Diagram (1).png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 11:37:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020428#M8697</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-03-18T11:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020429#M8698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I am getting your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The wireless example starts in scanning mode, and if you have one device in adv mode, the device will get connected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend starting in slave mode.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;static&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;BleApp_Config&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;    
    mGapRole &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gGapPeripheral_c&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You could also try to avoid entering the scan mode.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; BleApp_Start &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;gapRole_t mGapRole&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;switch&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;mGapRole&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;//case gGapCentral_c:&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;//{&lt;/SPAN&gt;
         &lt;SPAN class="comment token"&gt;//   gPairingParameters.localIoCapabilities = gIoKeyboardDisplay_c;&lt;/SPAN&gt;
         &lt;SPAN class="comment token"&gt;//   App_StartScanning(&amp;amp;gScanParams, BleApp_ScanningCallback, TRUE);&lt;/SPAN&gt;
         &lt;SPAN class="comment token"&gt;//   break;&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;//}&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;case&lt;/SPAN&gt; gGapPeripheral_c&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
            gPairingParameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;localIoCapabilities &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gIoDisplayOnly_c&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
            &lt;SPAN class="token function"&gt;BleApp_Advertise&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;break&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;default&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;break&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&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;/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;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;/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;After pressing the SW3, it will start in peripheral mode. As the MCU supports multiple connections that is the reason why you are only seeing DEV 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Please be sure that both devices are in adv mode.&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>Wed, 18 Mar 2020 22:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020429#M8698</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-03-18T22:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020430#M8699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario, thank you for the support.&lt;/P&gt;&lt;P&gt;I not solved with your suggestion but it was useful to find a solution.&lt;/P&gt;&lt;P&gt;In my code BleApp_Config is executed after BleApp_Start so changing the mGapRole inside it not makes any benefit.&lt;/P&gt;&lt;P&gt;So i changed mGapRole before BleApp_Start. In this manner the smarphone can see both devices but no one display the name and it can't connect to any device.&lt;/P&gt;&lt;P&gt;The smartphone can not see any device by removing App_StartScanning() function.&lt;/P&gt;&lt;P&gt;Anyway i had an idea to solve this issue. I changed the&amp;nbsp;gScanParams filter policy from gScanAll to&amp;nbsp;gScanWithWhiteList_c. My white list is empty so it can't see any advertising data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2020 15:12:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020430#M8699</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-03-20T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020431#M8700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that both devices are in ADV mode? Is the Red LED flashing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the app that you are using in your phone?&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;App_StartScanning is for the Central Rol, so if you are not setting this role, this function will never be called.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;You can save the bd_address of the phone, but it uses a random address, so you have to enable the privacy feature, and it should be after the first connection or you could do it manually.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Mar 2020 02:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020431#M8700</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-03-21T02:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020432#M8701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;i'm not using a frdm board but a custom board with kw41z inside. The app used is also a custom app developed with android studio. thank you for your suggestion but for me is a good way to use an empty whitelist. I tried the penultimate suggestion but for me not work. Moreover i prefer to not save the bd_address of the phone in order to be able of use any smarphone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i've a new questions: can i connect two device with only one smartphone? i'm reading a guide for kw36 but i found the follow line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: powderblue;"&gt;#if (gAppMaxConnections_c &amp;gt; 1)&lt;BR /&gt; #error "The application does not support more than 1 connection"&lt;BR /&gt;#endif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 10:06:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020432#M8701</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-04-15T10:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020433#M8702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are doing great.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;can I connect two devices with only one smartphone?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;It will depend on your smartphone, it should support multiple connections. For example, your phone app could provide an option for scan new devices or create a second instance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 02:15:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020433#M8702</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-04-16T02:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020434#M8703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mario. This was very useful. Now my app is able to communicate with two of my ble devices.&lt;/P&gt;&lt;P&gt;Speaking of this capability: can a central device send a broadcast message to all connected peripheral device ad the same time? Now i can only send a single message to a device one at time.&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 10:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020434#M8703</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-05-05T10:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020435#M8704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am thinking that you are looking for the BLE Mesh, unfortunately, our current stack doesn't support that feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, the central device that is supporting the multiple connections must be switching between both devices.&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>Tue, 05 May 2020 14:21:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020435#M8704</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-05-05T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020436#M8705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Mario for the reason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 08:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1020436#M8705</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-05-06T08:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ble Kw41z multiple peripheral device at the same time</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1163814#M10231</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i'm still looking for a real-time system with multiple ble devices connection. I need to use a tablet/smarphone as central. Since i can't use the ble mesh network, can you suggest me a way to do this task? I need a system that ensure me that the data received by ble peripheral devices are related by the same time.&lt;/P&gt;&lt;P&gt;Thank you&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 09:15:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/Ble-Kw41z-multiple-peripheral-device-at-the-same-time/m-p/1163814#M10231</guid>
      <dc:creator>mangramarco</dc:creator>
      <dc:date>2020-10-07T09:15:57Z</dc:date>
    </item>
  </channel>
</rss>

