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

Default PHY

Hi

What is the default PHY when using NRF52832, SDK 14.2 and SD S132 v5.0?

When does a device's PHY get reset to this default value? Is it upon disconnect or is it as a part of each connection? Or is it the responsibility of the application to handle the PHY?

I have created a peripheral with above combination. If this peripheral connects to a BLE 5.0 enabled central, I get a PHY update request for 2M PHY. The peripheral selects AUTO and hence the PHY gets set to 2M PHY. If the peripheral disconnects from this central and connects to a new one which is not BLE PHY enabled, what should happen? Not all centrals trigger PHY update procedure. To handle this cleanly, should I call the SD API to set the PHY to 1M after every disconnection or does the softdevice handle this internally?

Thanks

Amruta

Parents
  • Hi,

    The default PHY is the same as the PHY you use to advertise with. In other words, the central will send the connection request with the same PHY used for the connectable advertisement packet. If the central support 2M PHY, it may choose to request a PHY change after the connection has been established, which will be accepted if you reply with AUTO.

    If the peripheral disconnects from this central and connects to a new one which is not BLE PHY enabled, what should happen?

     Then nothing will happen. The bitrate will remain at 1M. 

Reply
  • Hi,

    The default PHY is the same as the PHY you use to advertise with. In other words, the central will send the connection request with the same PHY used for the connectable advertisement packet. If the central support 2M PHY, it may choose to request a PHY change after the connection has been established, which will be accepted if you reply with AUTO.

    If the peripheral disconnects from this central and connects to a new one which is not BLE PHY enabled, what should happen?

     Then nothing will happen. The bitrate will remain at 1M. 

Children
Related