nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
nRF Device Provisioning API

API for device provisioning over cellular networks. More...

Data Structures

struct  nrf_provisioning_callback_data
 Event data structure passed to the provisioning callback function. More...
 

Typedefs

typedef void(* nrf_provisioning_event_cb_t) (const struct nrf_provisioning_callback_data *event)
 Callback function type for provisioning state changes.
 

Enumerations

enum  nrf_provisioning_event {
  NRF_PROVISIONING_EVENT_START = 0x1 , NRF_PROVISIONING_EVENT_STOP , NRF_PROVISIONING_EVENT_DONE , NRF_PROVISIONING_EVENT_FAILED ,
  NRF_PROVISIONING_EVENT_NO_COMMANDS , NRF_PROVISIONING_EVENT_FAILED_TOO_MANY_COMMANDS , NRF_PROVISIONING_EVENT_FAILED_DEVICE_NOT_CLAIMED , NRF_PROVISIONING_EVENT_FAILED_WRONG_ROOT_CA ,
  NRF_PROVISIONING_EVENT_FAILED_NO_VALID_DATETIME , NRF_PROVISIONING_EVENT_NEED_LTE_DEACTIVATED , NRF_PROVISIONING_EVENT_NEED_LTE_ACTIVATED , NRF_PROVISIONING_EVENT_SCHEDULED_PROVISIONING ,
  NRF_PROVISIONING_EVENT_FATAL_ERROR
}
 nrf_provisioning callback events More...
 

Functions

int nrf_provisioning_init (nrf_provisioning_event_cb_t callback_handler)
 Initialize the provisioning library and registers a callback handler.
 
int nrf_provisioning_trigger_manually (void)
 Start provisioning immediately.
 
int nrf_provisioning_set_interval (int interval)
 Set provisioning interval for scheduled provisioning.
 

Detailed Description

API for device provisioning over cellular networks.

This API provides functionality for secure device provisioning using either HTTP or CoAP transport protocols. The library handles: