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.
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.
Hi spring.liu,
Sorry for the late reply. It's quite an old SDK you are working on, and my knowledge with DFU is not applicable with it. Meanwhile, my attempts to install it encountered some issues.
In more recent SDKs, DFU is done through the img_mgmt module. In this module, you can use img_mgmt_register_callbacks() and get information of when DFU starts using callback functions.
Could you let me know how you are setting up DFU in your project? What modules are you using? Some starting points will help me look up the documentation faster.
I will also try to install the SDK and research more into it.
Hieu
I was able to install NCS v1.5.1 and can see that the same API is available. Could you please give it a try?