nRF5340 bt_le_ext_adv_create fails with err -5 in various samples

Nrf Connect Version v2.1.2

VSCode Plugin v2022.10.30

Using various samples on my nRF5340DK fail with the following error codes:

hap_ha sample:

Bluetooth initialized
Failed to create advertising set (err -5)
Failed to set advertising data (err -5)
[00:00:00.267,333] <wrn> bt_pacs: No callback for publish_location
[00:00:00.286,987] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.286,987] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:00.287,017] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 41.37468 Build 2457941745
[00:00:00.290,496] <inf> bt_hci_core: Identity: C0:1C:F1:98:45:37 (random)
[00:00:00.290,527] <inf> bt_hci_core: HCI: version 5.3 (0x0c) revision 0x21d8, manufacturer 0x0059
[00:00:00.290,527] <inf> bt_hci_core: LMP: version 5.3 (0x0c) subver 0x21d8
[00:00:00.295,257] <wrn> bt_hci_core: opcode 0x2036 status 0x01
[00:00:00.299,591] <wrn> bt_hci_core: opcode 0x2037 status 0x01

unicast_audio_server example:

*** Booting Zephyr OS build v3.1.99-ncs1-1 ***
Bluetooth initialized
Location successfully set
Failed to create advertising set (err -5)
[00:00:00.287,231] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.287,261] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:00.287,292] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 41.37468 Build 2457941745
[00:00:00.290,649] <inf> bt_hci_core: Identity: C0:1C:F1:98:45:37 (random)
[00:00:00.290,649] <inf> bt_hci_core: HCI: version 5.3 (0x0c) revision 0x21d8, manufacturer 0x0059
[00:00:00.290,679] <inf> bt_hci_core: LMP: version 5.3 (0x0c) subver 0x21d8
[00:00:00.295,593] <wrn> bt_hci_core: opcode 0x2036 status 0x01

I added the folders to the workspace and created a build config. Using all default values results in the above mentioned errors.

What am I doing wrong?

Thanks in advance.

Related