--UPDATE 2--
It is working now as expected. "bluetooth_1.2.7" does support setting "EnableFilterDuplicates" via FSCI even though it is not exposed by the corresponding API/Function-Signature.
Just appending a single byte (bool) indicating the desired behavior is enough to make it work as expected.
I suggest updating the SDK as I already have seen similar questions here.
Kind regards,
Chilipp
--UPDATE 1--
I just discovered that starting with FSCI-Command-Set Version 1.3.x (XML shipped with NXP Test Tool 12) the FilterDuplicates options is available.
But my installed (I think it is the most recent version) SDK for USB-KW41Z (SDK Version: KSDK 2.2.0 (2019-01-16)) ships with "bluetooth_1.2.7" where the option for FilterDuplicates is not available via FSCI. Interestingly it IS defined in middleware\wireless\bluetooth_1.2.7\application\common\fsci_host\fsci\fsci_ble_gap.c for calling via FSCI to another host ...
The question is, how can I disable duplicate filtering with FSCI on USB-KW41Z with SDK Version: KSDK 2.2.0 (2019-01-16) (bluetooth_1.2.7)
--ORIGINAL--
That would probably work but I am unable to test it as the "enableFilterDuplicates" parameter for the Gap_StartScanning-Method is unfortunately unavailable via FSCI as far as I can see.
I am using the USB-KW41Z SDK Version: KSDK 2.2.0 (2019-01-16)
Is there any workaround for that issue? I'm afraid the FSCI-Functions are private and only available as static library.
Kind regards