NCS 3.0.1 : How to Initialize/deinitialize (BAS) service Dynamically?

Hi,

Testing Hardware: nrf52832 Module in a Custom board OR nrf52DK possbile

-> We would like to change the order of the BLE service as shown in this thread: https://devzone.nordicsemi.com/f/nordic-q-a/115493/change-the-order-of-services-in-nrf-connect-mobile

OR

->We want to turn on/off the BAS service dynamically at runtime. (A system Reboot scenario is acceptable if it's possible.)

In a static scenario, "CONFIG_BT_BAS=y" works, but how to do it in the dynamic scenario? 


Please let us know. Thanks for the support

Related