Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52840 Bluetooth 5, BLE_GAP_PHY_CODED problem

Hi all,

I want to work with Coded PHY on Bluetooth 5.
I tried to change lines on mesh_adv.c file like below, but i getting this error  : app_error_weak.c,  119, Mesh error 7 at 0x00000000 (:0)
I cannot solved this problem, how can i change PHY to BLE_GAP_PHY_CODED , please somebody explain this.
I use nrf5SDKforMeshv310src.
Thanks for advice

static ble_gap_adv_params_t m_adv_params =
{
.properties = {
.type = MESH_ADV_ADV_TYPE,
},
.interval = MESH_ADV_INTERVAL_DEFAULT,
.duration = MESH_ADV_TIMEOUT_INFINITE,
.primary_phy=BLE_GAP_PHY_CODED /*added line*/
};

Parents Reply Children
Related