nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
nrf_provisioning.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
21#ifndef NRF_PROVISIONING_H__
22#define NRF_PROVISIONING_H__
23
24#include <stddef.h>
25
26#include <modem/lte_lc.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33
160
189
211
236
257
283
286#ifdef __cplusplus
287}
288#endif
289
290#endif /* 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