why can cause this problem! I'm not familiar with NCS OTA
why can cause this problem! I'm not familiar with NCS OTA
We do, that is the example I referred to under <SDK>/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/. See documentation here: SMP Server Sample. This sample works out of the box. You use it in the exact same way as you do with 2.0.0, just remember to use the configuration overlay file for Bluetooth when you build it.
smp_svr I run and it is ok ,I tried to transplant main.c and bluetooth.c .I hope it will work