How to set Coded PHY rate to S8 or S2 using nRF Connect SDK

Hi Nordic Team,

I've got the nrf coded phy hr example working using 1.5.1 nRF Connect SDK, with the peripheral and central sides running on a couple of nRF52840-DK's.

Now I would like to see the difference between S8 and S2 modes but can't quite see how to set or change modes?

I'm guessing that I set the mode I want to connect with on the peripheral side?  and how do I tell what the resulting connection is made with on the central side?

I get connection values on the console of tx_phy 4, rx_phy 4. What does 4 indicate?

I couldn't find any similar questions in other cases so I guess I'm missing the obvious, so any help here would be apricated.

Thanks

Simon 

  • Hi Simon, 

    Sorry for the delay.

    how to set or change modes?

    You could use bt_conn_le_phy_update function to update with bt_conn_le_phy_param.

    I'm guessing that I set the mode I want to connect with on the peripheral side?  and how do I tell what the resulting connection is made with on the central side?

    I think you might need both sides since it only specifies the TX phy. However, there is a known issue with the softdevice controller which is not supported to change the PHY preferred coding in both directions now.

    I get connection values on the console of tx_phy 4, rx_phy 4. What does 4 indicate?

     Bitmask of transmit PHYs.

    -Amanda H.

  • Hi Amanda,

    Can you provide a timeline for when this issue will be fixed? What might be the SDK release number to look out for?

    What coded setting is used for the current working sample? Is it S2 or S8?

    Thanks

    Simon

  • Hi Simon, 

    Currently, the softdevice controller which makes it not possible to set S2/S8 for both sides. We are working on this issue, but there is no timeline to share. Sorry for the inconvenience. 

    -Amanda H.

Related