how to set phy to 125 kbps in nrf 52840?

Hi,

I am using zephyr application. I need your guidance on how to set phy to 125 kbps?

I enabled some configurations regarding this please verify that and let me know is that enough to set phy to 125 kbps.

CONFIG_BT_AUTO_PHY_UPDATE=y
CONFIG_BT_CTLR_PHY_CODED=y
CONFIG_BT_PHY_UPDATE=y
Parents Reply Children
  • Hi,

    thanks for the reply i gone through Heart rate example and try to set extended advertisement with coded phy i's giving error -134 ?

    BT_LE_ADV_PARAM_INIT(BT_LE_ADV_OPT_EXT_ADV | BT_LE_ADV_OPT_CODED |
                             BT_LE_ADV_OPT_USE_NAME,
                             BT_GAP_ADV_FAST_INT_MIN_2,
                             BT_GAP_ADV_FAST_INT_MAX_2,
                             NULL);
    this is my advertising parameter and 
    bt_le_ext_adv_set_data(adv, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); this function generating error. As I gone through some of the nordic support query regarding this issue i noticed that ad data and sd data can not be used concurrently so i tried with ad data only then the beacon device is not getting connected to central.

    Please provide some suggestions

Related