Device not scannable by BLE apps when BT_LE_ADV_OPT_CODED is enabled

Hello,

I encountered an issue when using BT_LE_ADV_OPT_CODED in the bt_le_adv_param options.

static const struct bt_le_adv_param adv_param =
{
    .id = BT_ID_DEFAULT,
    .sid = 1,
    .interval_min = 80,
    .interval_max = 160,
    .peer = NULL,
    .options =           BT_LE_ADV_OPT_CONN |
                         BT_LE_ADV_OPT_EXT_ADV |
                         BT_LE_ADV_OPT_USE_IDENTITY |
                         BT_LE_ADV_OPT_NO_2M |
                         BT_LE_ADV_OPT_CODED |           
                         BT_LE_PER_ADV_OPT_USE_TX_POWER |
                         BT_LE_ADV_OPT_REQUIRE_S8_CODING,
};

When I enable BT_LE_ADV_OPT_CODED, the device cannot be scanned by other BLE applications.
However, when I remove this option, the device can be scanned normally.

To verify whether the problem is related to my application code, I also tested the Nordic sample.

I copied the [sysbuild/ipc_radio] configuration into the [samples/bluetooth/central_hr_coded] sample and built the project.
However, the result was the same — the device still cannot be scanned by other BLE applications.

At this point, I am not sure what the cause of this issue is.

Could you please advise what might be wrong or which documentation or examples I should refer to?

Thank you.

[App core - prj.conf]

CONFIG_BT=y

CONFIG_BT_PERIPHERAL=y
CONFIG_BT_BROADCASTER=y
CONFIG_BT_BAS=y
CONFIG_BT_HRS=y

CONFIG_BT_EXT_ADV=y
CONFIG_BT_EXT_ADV_CODING_SELECTION=y
                                    
CONFIG_BT_PHY_UPDATE=y
CONFIG_BT_USER_PHY_UPDATE=y

[ sysbuild/ipc_radio/prj.conf]

CONFIG_IPC_SERVICE=y
CONFIG_MBOX=y

CONFIG_HEAP_MEM_POOL_SIZE=8192
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_MAIN_STACK_SIZE=512

CONFIG_BT=y
CONFIG_BT_HCI=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_MAX_CONN=16

                                           
CONFIG_BT_EXT_ADV=y
CONFIG_BT_EXT_ADV_CODING_SELECTION=y

CONFIG_BT_PHY_UPDATE=y

#CONFIG_BT_CTLR=y
CONFIG_BT_CTLR_ADV_EXT=y
CONFIG_BT_CTLR_PHY_CODED=y
CONFIG_BT_CTLR_PHY_2M=n
CONFIG_BT_CTLR_TX_PWR_PLUS_3=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y

CONFIG_IPC_RADIO_BT=y
CONFIG_IPC_RADIO_BT_HCI_IPC=y

Setting:

  • Ubuntu 24.04
  • VSCode - Toolchain and SDK 3.2.2
Parents Reply Children
No Data
Related