nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ img_mgmt_state_any_pending()

int img_mgmt_state_any_pending ( void )

#include <img_mgmt.h>

Check if any slot is in MCUboot pending state.

Function returns 1 if slot 0 or slot 1 is in MCUboot pending state, which means that it has been either marked for test or confirmed.

Returns
1 if there's pending DFU otherwise 0.