nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ fota_download_s0_active_get()

int fota_download_s0_active_get ( bool *const  s0_active)

#include <include/net/fota_download.h>

Get the active bootloader (B1) slot, s0 or s1.

Parameters
[out]s0_activeSet to 'true' if s0 is active slot, 'false' otherwise
Return values
0If successful. Otherwise, a (negative) error code is returned.