nRF Connect SDK API 0.1.0
|
int set_monotonic_version | ( | uint16_t | version, |
uint16_t | slot | ||
) |
#include <include/bl_validation.h>
Write 15 bit version and 1 bit slot to a 16 bit monotonic counter.
[in] | version | Firmware version. Can be any unsigned 15 bit value. |
[in] | slot | Slot where firmware is located. Must be 0 or 1. |