How to exit from BLE to 2.4G mode?

Hi,All:

      As the topic,I find It  goes error from BLE  to 2.4G mode without Power Off & reset,How? How to Exit BLE mode safely?

Parents
  • Hi,

    This depends on several factors, not least which SDK variant and version you are using. Can you explain?

    If you use the nRF5 SDK and SoftDevice the SoftDevice itself supports being disabled and then re-enabled. However, several of the SDK libraries are configured for using SoftDevice or not compile-time, and the SoftDevice handler library supports initializing the SoftDevice, but does not handle re-initialization out of the box. In sum this means that you need to make quite a few changes in SDK code in order to support disabling BLE and using proprietary radio without a reset. Other alternatives is to do a soft reset when switching, if that works with your application. You can also keep the SoftDevice enabled, and use timeslots.

Reply
  • Hi,

    This depends on several factors, not least which SDK variant and version you are using. Can you explain?

    If you use the nRF5 SDK and SoftDevice the SoftDevice itself supports being disabled and then re-enabled. However, several of the SDK libraries are configured for using SoftDevice or not compile-time, and the SoftDevice handler library supports initializing the SoftDevice, but does not handle re-initialization out of the box. In sum this means that you need to make quite a few changes in SDK code in order to support disabling BLE and using proprietary radio without a reset. Other alternatives is to do a soft reset when switching, if that works with your application. You can also keep the SoftDevice enabled, and use timeslots.

Children
Related