12#ifndef NRF_PROVISIONING_H__
13#define NRF_PROVISIONING_H__
lte_lc_func_mode
Definition lte_lc.h:153
void(* nrf_provisioning_event_cb_t)(enum nrf_provisioning_event event, void *user_data)
Called when provisioning state changes.
Definition nrf_provisioning.h:72
int nrf_provisioning_init(struct nrf_provisioning_mm_change *mmode, struct nrf_provisioning_dm_change *dmode)
Initializes the provisioning library and registers callback handlers.
void nrf_provisioning_set_interval(int interval)
Set provisioning interval.
nrf_provisioning_event
nrf_provisioning callback events
Definition nrf_provisioning.h:56
@ NRF_PROVISIONING_EVENT_STOP
Definition nrf_provisioning.h:60
@ NRF_PROVISIONING_EVENT_DONE
Definition nrf_provisioning.h:62
@ NRF_PROVISIONING_EVENT_START
Definition nrf_provisioning.h:58
int(* nrf_provisioning_mmode_cb_t)(enum lte_lc_func_mode new_mode, void *user_data)
Callback to request a modem state change, being it powering off, flight mode etc.
Definition nrf_provisioning.h:36
int nrf_provisioning_trigger_manually(void)
Starts provisioning immediately.
void * user_data
Definition nrf_provisioning.h:84
nrf_provisioning_event_cb_t cb
Definition nrf_provisioning.h:83
Holds the callback to be called once provisioning state changes together with data set by the callbac...
Definition nrf_provisioning.h:82
void * user_data
Definition nrf_provisioning.h:48
nrf_provisioning_mmode_cb_t cb
Definition nrf_provisioning.h:47
Holds the callback used for querying permission from the application to proceed when modem's state ch...
Definition nrf_provisioning.h:46