<?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中的主题 KW41Z BLE Scan</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947553#M7522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the iBeacon sources&amp;nbsp;are close the the KW41Z (&lt;SPAN&gt;ble_fsci_black_box received&amp;nbsp; rssi&amp;nbsp;&lt;/SPAN&gt;~65dBm) and all the sources&amp;nbsp; transmit iBeacons at 100ms transmit interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we have&amp;nbsp; more than 3 iBeacons sources are active, then&amp;nbsp;&lt;SPAN&gt;KW41Z with ble_fsci_black_box binary get all the scan results as expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we enable only one iBeacon source, kw41z returns only one scan result when we enable the ble scan. Then it does not give any scan results for several minutes (1-15 mins).&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we have many beacon sources, then we do see all the scan results as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any filtering mechanism inside the&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ble_fsci_black_box firmware?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLE SCAN reported&amp;nbsp; every 30 mins, when only one iBecon source is present&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;17:58:10.772: iBeacon: rssi=-52 addrType=0 payldLen=30 major=257c minor=6e73&lt;BR /&gt;18:26:13.777: iBeacon: rssi=-50 addrType=0 payldLen=30 major=257c minor=6e73&lt;BR /&gt;18:48:09.882: iBeacon: rssi=-49 addrType=0 payldLen=30 major=257c minor=6e73&lt;BR /&gt;19:20:08.653: iBeacon: rssi=-51 addrType=0 payldLen=30 major=257c minor=6e73&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 14:20:02 GMT</pubDate>
    <dc:creator>sensenthuran</dc:creator>
    <dc:date>2019-10-04T14:20:02Z</dc:date>
    <item>
      <title>KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947553#M7522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the iBeacon sources&amp;nbsp;are close the the KW41Z (&lt;SPAN&gt;ble_fsci_black_box received&amp;nbsp; rssi&amp;nbsp;&lt;/SPAN&gt;~65dBm) and all the sources&amp;nbsp; transmit iBeacons at 100ms transmit interval.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we have&amp;nbsp; more than 3 iBeacons sources are active, then&amp;nbsp;&lt;SPAN&gt;KW41Z with ble_fsci_black_box binary get all the scan results as expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we enable only one iBeacon source, kw41z returns only one scan result when we enable the ble scan. Then it does not give any scan results for several minutes (1-15 mins).&amp;nbsp;&lt;/P&gt;&lt;P&gt;If we have many beacon sources, then we do see all the scan results as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any filtering mechanism inside the&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ble_fsci_black_box firmware?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLE SCAN reported&amp;nbsp; every 30 mins, when only one iBecon source is present&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;17:58:10.772: iBeacon: rssi=-52 addrType=0 payldLen=30 major=257c minor=6e73&lt;BR /&gt;18:26:13.777: iBeacon: rssi=-50 addrType=0 payldLen=30 major=257c minor=6e73&lt;BR /&gt;18:48:09.882: iBeacon: rssi=-49 addrType=0 payldLen=30 major=257c minor=6e73&lt;BR /&gt;19:20:08.653: iBeacon: rssi=-51 addrType=0 payldLen=30 major=257c minor=6e73&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:20:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947553#M7522</guid>
      <dc:creator>sensenthuran</dc:creator>
      <dc:date>2019-10-04T14:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947554#M7523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be caused by the BLE Scan duplicated filter. Try to disable the filter and test again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check function:&lt;/P&gt;&lt;P&gt;Gap_StartScanning(pScanningParameters, App_ScanningCallback,&amp;nbsp; enableFilterDuplicates);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function is normally called via App_StartScanning()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pass the last parameter as "FALSE" for enableFilterDuplicates, like this:&lt;/P&gt;&lt;P&gt;App_StartScanning(&amp;amp;gScanParams, BleApp_ScanningCallback, FALSE);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 12:01:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947554#M7523</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2019-10-08T12:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947555#M7524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thanks, that was the issue. The FSCI API is not exposing the "duplicate filter". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Do you know, in ble_fsci_black_box, where the call&amp;nbsp;&lt;SPAN&gt;Gap_StartScanning is defined as TRUE?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 01:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947555#M7524</guid>
      <dc:creator>sensenthuran</dc:creator>
      <dc:date>2019-10-15T01:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947556#M7525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sensenthuran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you be more specific on which "FSCI API is not exposing the duplicate filter". Provide more info in 1 go would save time for both of us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are using FSCI, probably on the PC side you are using the Test Tool GUI?&lt;/P&gt;&lt;P&gt;Check this link for more info:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/465030"&gt;https://community.nxp.com/thread/465030&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a quick check and in Test Tool you can see the parameter of control duplicate filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91391i5BA5757210FF437C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 03:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947556#M7525</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2019-10-15T03:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947557#M7526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, test tool has it. I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&lt;STRONG style="text-decoration: underline; "&gt;\hsdk-c\inc\cmd_ble_1.2.8.h&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;typedef struct GAPStartScanningRequest_tag {&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;bool_t ScanningParametersIncluded; // Boolean value which indicates if scanning parameters are included or not&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;struct {&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;GAPStartScanningRequest_ScanningParameters_Type_t Type; // Scanning type - default passive&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;uint16_t Interval; // Scanning interval - default 10ms&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;uint16_t Window; // Scanning window - default 10ms&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;GAPStartScanningRequest_ScanningParameters_OwnAddressType_t OwnAddressType; // Indicates whether the address used in scan requests will be the public address or the random address - default public address&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;GAPStartScanningRequest_ScanningParameters_FilterPolicy_t FilterPolicy; // Indicates whether the advertising packets are filtered using the White List - default does not use White List&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;} ScanningParameters; // The scanning parameters&lt;/P&gt;&lt;P style="margin: 0in 0in 0.0001pt; font-size: 11pt; color: #000000; font-weight: 400; text-indent: 0px;"&gt;}&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background: yellow;"&gt;GAPStartScanningRequest_t&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 03:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947557#M7526</guid>
      <dc:creator>sensenthuran</dc:creator>
      <dc:date>2019-10-15T03:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947558#M7527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing this out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the root cause is that your BLE stack version is not to the latest. Currently I can see in the QN908x SDK the BLE version is 1.5.4.&lt;/P&gt;&lt;P&gt;But when I download the latest KW41Z SDK, its BLE version is still 1.2.8.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ".h" file is generated from a xml file.&lt;/P&gt;&lt;P&gt;And if I do a diff between the xml files, I can see the duplicatefilter parameter has been added in the later version of BLE xml. See picture below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91636i6B9ECA0B07C4E129/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why the BLE software component are not kept the same between QN908x and KW41Z, that I have no idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you already have a workaround for this issue? E.g. you may hardcode the parameter in GAP to force the duplicatefilter to be true or false.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 06:30:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947558#M7527</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2019-10-15T06:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947559#M7528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I got the workaround.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great,&amp;nbsp; if I can change the default value in the ble_fsci_blackbox and build the binary again. Do you know where it is defined?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 10:45:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947559#M7528</guid>
      <dc:creator>sensenthuran</dc:creator>
      <dc:date>2019-10-15T10:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947560#M7529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what do you mean by "I got the workaround". So what is the workaround you have already? If it works, just keep it that way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would do is to search for Gap_StartScanning(), and pass a hardcoded FALSE for the input parameter "enableFilterDuplicates", as I pointed out in my 1st post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 11:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947560#M7529</guid>
      <dc:creator>Xiang_Li</dc:creator>
      <dc:date>2019-10-15T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: KW41Z BLE Scan</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947561#M7530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+++ b/hsdk-c/src/cmd_ble_1.2.8.c&lt;/P&gt;&lt;P&gt;Added extra byte in&amp;nbsp;&lt;SPAN&gt;GAPStartScanningRequest to disable filter.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2019 04:51:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/KW41Z-BLE-Scan/m-p/947561#M7530</guid>
      <dc:creator>sensenthuran</dc:creator>
      <dc:date>2019-10-16T04:51:38Z</dc:date>
    </item>
  </channel>
</rss>

