Smart Remote 3 nRF52 v1.2
Copy URL
Source
Bootloader
bootloader
dfu
nrf_dfu_settings.h
1
/*$$$LICENCE_NORDIC_STANDARD<2016>$$$*/
9
#ifndef NRF_DFU_SETTINGS_H__
10
#define NRF_DFU_SETTINGS_H__
11
12
#include <stdint.h>
13
#include "nrf_dfu_types.h"
14
#include "nrf_dfu_flash.h"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
26
extern
nrf_dfu_settings_t
s_dfu_settings
;
27
28
34
ret_code_t
nrf_dfu_settings_write
(
void
);
35
36
42
void
nrf_dfu_settings_init
(
void
);
43
44
52
ret_code_t
nrf_dfu_settings_peer_data_copy
(
nrf_dfu_peer_data_t
* p_data);
53
54
62
ret_code_t
nrf_dfu_settings_adv_name_copy
(
nrf_dfu_adv_name_t
* p_adv_name);
63
64
69
bool
nrf_dfu_settings_shared_data_is_valid
(
void
);
70
71
76
ret_code_t
nrf_dfu_settings_shared_data_erase
(
void
);
77
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif // NRF_DFU_SETTINGS_H__
84