Hello all,
nordic and zephyr newbie here.
I am looking for some help with getting ble with coded phy working on 9160dk using nrfConnect SDK.
I have a 9160dk as central and 52833dk acting as peripheral.
I have a semi-custom firmware running on 52833dk which is based of off hr coded phy peripheral example.
I can connect to it using another 52833dk running modified firmware based of off central coded phy example.
In developed my 9160dk code looking at central coded phy example, but when I try to start scanning
bt_scan_start(BT_SCAN_TYPE_SCAN_ACTIVE);
I get this error
Scanning failed to start with err -5
Some of the config settings I have
CONFIG_BT=y
CONFIG_BT_H4=y
CONFIG_BT_WAIT_NOP=y
CONFIG_BT_CENTRAL=y
CONFIG_BT_GATT_CLIENT=y
CONFIG_BT_GATT_DM=y
CONFIG_BT_SCAN=y
CONFIG_BT_SCAN_FILTER_ENABLE=y
CONFIG_BT_SCAN_UUID_CNT=1
CONFIG_BT_CTLR_PHY_CODED=y
CONFIG_BT_EXT_ADV=y
CONFIG_BT_USER_PHY_UPDATE=y
My question is if there is something obvious that I am missing or what is something you experts can think of that I should look for?