Some questions about NCS DFU target library

Hello,

I've got some questions regarding the use of DFU target library. I get my update data from the UART and like to use a setup with two partitions on my device. Is this generally possible with the library?

The dfu_target_init() function has the img_num argument. does this relate to the partition number?

Do I have to select which partition to use? If yes how would I do this?

If a firmware update was succesful and dfu_target_done(true) and dfu_target_schedule_update(0) are called does the reboot to actually run the new firmware need to be done manually?

Thanks in advance!

Related