21#ifndef NRF_PROVISIONING_H__
22#define NRF_PROVISIONING_H__
void(* nrf_provisioning_event_cb_t)(const struct nrf_provisioning_callback_data *event)
Callback function type for provisioning state changes.
Definition nrf_provisioning.h:210
int nrf_provisioning_set_interval(int interval)
Set provisioning interval for scheduled provisioning.
nrf_provisioning_event
nrf_provisioning callback events
Definition nrf_provisioning.h:59
@ NRF_PROVISIONING_EVENT_FAILED_WRONG_ROOT_CA
Definition nrf_provisioning.h:111
@ NRF_PROVISIONING_EVENT_STOP
Definition nrf_provisioning.h:66
@ NRF_PROVISIONING_EVENT_DONE
Definition nrf_provisioning.h:72
@ NRF_PROVISIONING_EVENT_NEED_LTE_DEACTIVATED
Definition nrf_provisioning.h:134
@ NRF_PROVISIONING_EVENT_NEED_LTE_ACTIVATED
Definition nrf_provisioning.h:142
@ NRF_PROVISIONING_EVENT_NO_COMMANDS
Definition nrf_provisioning.h:85
@ NRF_PROVISIONING_EVENT_SCHEDULED_PROVISIONING
Definition nrf_provisioning.h:152
@ NRF_PROVISIONING_EVENT_FAILED_TOO_MANY_COMMANDS
Definition nrf_provisioning.h:93
@ NRF_PROVISIONING_EVENT_FAILED_DEVICE_NOT_CLAIMED
Definition nrf_provisioning.h:105
@ NRF_PROVISIONING_EVENT_START
Definition nrf_provisioning.h:61
@ NRF_PROVISIONING_EVENT_FATAL_ERROR
Definition nrf_provisioning.h:158
@ NRF_PROVISIONING_EVENT_FAILED_NO_VALID_DATETIME
Definition nrf_provisioning.h:117
@ NRF_PROVISIONING_EVENT_FAILED
Definition nrf_provisioning.h:79
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.
Modem attestation token and parsing.
Base64url attestation and COSE strings.
Definition modem_attest_token.h:26
struct nrf_attestation_token * token
Definition nrf_provisioning.h:181
int64_t next_attempt_time_seconds
Definition nrf_provisioning.h:186
enum nrf_provisioning_event type
Definition nrf_provisioning.h:175
Event data structure passed to the provisioning callback function.
Definition nrf_provisioning.h:173