de-nordic commented on issue #129: URL: https://github.com/apache/mynewt-mcumgr/issues/129#issuecomment-869528485
Yes. That was supposed to be my next question: whether you confirm the image on the device you upload it to. The mcumgr does not do that by default, unless the image has been marked as confirmed with imgtool. The receiving application, on the second mcu, should set the new application it received for test, or confirmed pending; in case when the application will be set for test it needs to confirm itself after reboot (and probably some internal tests). You may use functions from zephyr/subsys/dfu/boot/mcuboot.c to confirm at run-time. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
