NCS1.5.1 : Which API indicates that OTA starts? (use mcuboot)

I want to get the api  to do some logic operation.  

in SDK  I know it will   "enter_bootloader(p_dfu)  "  then "nrf_dfu_settings_write ", 

But in NCS1.5.1,  It's hard for me to track the code which OTA 's process.

Related