scanning on coded PHY and 1M simultaneously

Hello,

Im trying to scan on the 1M PHY and coded PHY at the same time, which in theory should work but doesnt.

I am using the recommended scan parameters from the core spec:

static const struct bt_le_scan_param scanParam{
    .type=BT_LE_SCAN_TYPE_PASSIVE,
    .options=BT_LE_SCAN_OPT_CODED,
    .interval=BT_GAP_SCAN_SLOW_INTERVAL_1,
    .window=BT_GAP_SCAN_SLOW_WINDOW_1,
    .timeout=0
    .interval_coded=0x1800,
    .window_coded=0x36
    };

If I try to start advertising with these parameters (NCS 2.5 with softdevice controller) I will get hci error code 12, so invalid parameters.

the interesting part is, that if I use the Zephyr opensource BLE controller instead of the softdevice it works without issues.

where is it documented what scan parameters the softdevice will accept? And is it wanted behaviour that the softdevice rejects parameters that the opensource controller accepts?

kind regards,

Jonas Woerner

Parents
  • Hi Jonas, 
    Our softdevice controller has different implementation regarding scanning on multiple PHYs that each PHY would has its own scanning window. 
    So to be able to scan on 1Mbps and Coded PHY the following apply (quoted from our internal discussion with R&D team): 
    The scan windows have to fit into the scan interval. In the case of scanning on two phys and the same window for both phys, window has to be less than 50% of the interval.

    Could you try to reduce the scan windows ?

Reply
  • Hi Jonas, 
    Our softdevice controller has different implementation regarding scanning on multiple PHYs that each PHY would has its own scanning window. 
    So to be able to scan on 1Mbps and Coded PHY the following apply (quoted from our internal discussion with R&D team): 
    The scan windows have to fit into the scan interval. In the case of scanning on two phys and the same window for both phys, window has to be less than 50% of the interval.

    Could you try to reduce the scan windows ?

Children
No Data
Related