Disable and enable BLE OTA/DFU service

Hi,

Platform: nRF54L15, SDK 2.9

The application is Matter + BLE.  CONFIG_CHIP_DFU_OVER_BT_SMP & MCUBoot are part of the configuration.  As soon as we enable  the BLE services(via BLE ADV arbiter), the BLE DFU/OTA service are also enabled.

#1. Is  there way to disable and enable the DFU? we looked at dfu/smp/dfu_over_smp, which has a API for starting the service but I don't this API is called.  

#2. If disabling the service is not possible,  is it possible to change the characteristics setting during runtime dynamically. For example, we set the characteristics to read-only and then change to write when we want to start the DFU.

#3. Clarification: we assume that the DFU uses the same level of security as the other services. For example, if we set a customer service to L4(encryption),  DFU will also be encrypted?

Thanks.

Subu

Related