Correct procedure to toggle between BLE and proprietary protocol

Hello!

What are the steps I need to take to switch from BLE protocol to lets say the Gazelle protocol?

Is it as simple as disabling the Softdevice? If such a function exists- will it take care of resetting interrupts, freeing resources etc.?

This is how it'd work:
Pressing button 1 triggers a switch to BLE
Pressing button 2 triggers a switch to Gazelle

Parents Reply
  • Hi,

    I see. There are no official samples demonstrating this, but it is possible to initialize and un-initialize the protocl stacks. While not using Gazel, there is an unofficial third party sample here which demonstrate BLE and ESB non-concurrently (the BLE stack is disabled when ESB is enabled and vise versa).

    (Regarding SoftDevice, the nRF Connect SDK include the SoftDevice Controller as as the Bluetooth Link Layer, you are right on that).

Children
Related