We are using an nRF5340. Looking at the nRF Connect SDK direct_test_mode sample, it appears that the network core is flashed with DTM only firmware. In our application we want to be able to flash our device with once with our application firmware and then at run-time switch to DTM mode. We will restart the firmware after switching to DTM mode and when the firmware starts up in DTM mode it will offer all the DTM functions. Then we switch back to normal mode and restart and go back to using the normal BLE stack.
Is there a configuration of the ncs network firmware that supports this? What would it take to make this work?