This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Changing the PHY used by device

Hi there, 

I am currently runnning tests with the nrf52840 for university project on Bluetooth 5 and I'm struggling to figure otu how to change the PHY used, 

e.g. in the heart rate sensor example there is code for BLE_GAP_EVT_PHY_UPDATE_REQUEST, does changing the lines

                .rx_phys = BLE_GAP_PHY_AUTO,
                .tx_phys = BLE_GAP_PHY_AUTO,

to

                .rx_phys = BLE_GAP_PHY_CODED,
                .tx_phys = BLE_GAP_PHY_CODED,

make the device work in LE coded or is there something else that has to be done?

Parents Reply Children
Related