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
Parents Reply
  • Yes, for the softdevice controller. 

    ZLL supports all combinations of varying interval and window simultaneously on both phy, and also simultaneous continuous scanning on both phy. Scanning wraps around other active roles, only when in continuous scanning, I.e. interval equals window. Mix of continuous on one phy and windowed on other phy too is supported, where continuous scanning wraps around windowed scanning.

Children
Related