nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
nrf_provisioning.h File Reference

nRF Provisioning API. More...

#include <stddef.h>
#include <modem/lte_lc.h>

Go to the source code of this file.

Data Structures

struct  nrf_provisioning_mm_change
 Holds the callback used for querying permission from the application to proceed when modem's state changes. Together with data set by the callback provider. More...
 
struct  nrf_provisioning_dm_change
 Holds the callback to be called once provisioning state changes together with data set by the callback provider. More...
 

Typedefs

typedef 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.
 
typedef void(* nrf_provisioning_event_cb_t) (enum nrf_provisioning_event event, void *user_data)
 Called when provisioning state changes.
 

Enumerations

enum  nrf_provisioning_event { NRF_PROVISIONING_EVENT_START , NRF_PROVISIONING_EVENT_STOP , NRF_PROVISIONING_EVENT_DONE }
 nrf_provisioning callback events More...
 

Functions

int nrf_provisioning_init (struct nrf_provisioning_mm_change *mmode, struct nrf_provisioning_dm_change *dmode)
 Initializes the provisioning library and registers callback handlers.
 
int nrf_provisioning_trigger_manually (void)
 Starts provisioning immediately.
 
void nrf_provisioning_set_interval (int interval)
 Set provisioning interval.
 

Detailed Description

nRF Provisioning API.