hci_power_ctrl throws bt_hci_core: opcode 0xfc0f status 0x01 on my nRF5340

Hello,

I am struggling trying to make this sample work on my board. I changed my prj.conf file with these lines:

CONFIG_BT=y
CONFIG_BT_DEBUG_LOG=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_HRS=y
CONFIG_BT_DEVICE_APPEARANCE=400
CONFIG_BT_DEVICE_NAME="Cacharro inutil"
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_CONN_RSSI=y
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y
CONFIG_BT_LL_SOFTDEVICE=n
CONFIG_BT_LL_SW_SPLIT=y
CONFIG_MAIN_STACK_SIZE=2048

And looking at other questions I discovered that sometimes the failure is in the transmission power setting when is not admitted so i adjusted it into the nrf5340 limits:

static const int8_t txp[DEVICE_BEACON_TXPOWER_NUM] = {0, -1, -3, -8,
						    -15, -18, -23, -30};

All I obtain after doing this is this info printed on my serial:

Can anyone help me? I am stuck and it is important for me to control the transmit power for continuing my project.

Kind Regards,

César

Related