Scanning on Coded PHY and 1M PHY with softdevice Controller

Hi,

I created an application, that scans on Coded PHY and 1M PHY simultaneously. The problem is, it only works with the Zephyr opensource LL, but not with the Nordic Softdevice LL.

With the Softdevice LL, I dont get any error and it seems like its working, but its only scanning for 1M devices. if I add the SCAN_OPT_NO_1M flag, coded scanning works, but ofcourse no 1M scanning.

these are my scan parameters:

static constexpr struct bt_le_scan_param scanParams{
.type=BT_LE_SCAN_TYPE_PASSIVE,
.options=BT_LE_SCAN_OPT_CODED,
.interval=BT_GAP_SCAN_SLOW_INTERVAL_1,
.window=0x320,
.timeout=0,
.interval_coded=BT_GAP_SCAN_SLOW_INTERVAL_1,
.window_coded=0x320,
};
This seems to be a bug in Nordics LL implementation? Im using sdk 2.6.1.
any help is much appreciated!
Kind regards,
Jonas
Related