I am getting an error trying to get coded phy working with a sysbuild configuration for a nrf5340 custom board:
<wrn> bt_hci_core: opcode 0x203a status 0x01 <wrn> bt_hci_core: Controller does not support 'LE_READ_MAX_ADV_DATA_LEN'. Assuming maximum length is 31 bytes. <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002) <inf> bt_hci_core: HW Variant: nRF53x (0x0003) <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 252.16862 Build 1121034987 <inf> bt_hci_core: HCI transport: IPC <inf> bt_hci_core: Identity: CD:BA:8D:27:07:4E (random) <inf> bt_hci_core: HCI: version 6.1 (0x0f) revision 0x2069, manufacturer 0x0059 <inf> bt_hci_core: LMP: version 6.1 (0x0f) subver 0x2069 <wrn> bt_hci_core: opcode 0x2036 status 0x01 <err> ble_manager: Advertising failed to start (err -5)
I am trying to follow the Bluetooth: Peripheral Heart Rate Monitor with Coded PHY example for how they enabled it by adding these settings:
CONFIG_BT_CTLR_PHY_CODED=y CONFIG_BT_CTLR_ADV_EXT=y CONFIG_BT_EXT_ADV=y CONFIG_BT_EXT_ADV_CODING_SELECTION=y CONFIG_BT_USER_PHY_UPDATE=y
When I add extended advertising it seems to fail.