nRF Connect SDK API 3.4.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
48
161
190
212
237
258
284
286
287#ifdef __cplusplus
288}
289#endif
290
291#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:211
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:112
@ 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:135
@ NRF_PROVISIONING_EVENT_NEED_LTE_ACTIVATED
Definition nrf_provisioning.h:143
@ NRF_PROVISIONING_EVENT_NO_COMMANDS
Definition nrf_provisioning.h:85
@ NRF_PROVISIONING_EVENT_SCHEDULED_PROVISIONING
Definition nrf_provisioning.h:153
@ NRF_PROVISIONING_EVENT_FAILED_TOO_MANY_COMMANDS
Definition nrf_provisioning.h:93
@ NRF_PROVISIONING_EVENT_FAILED_DEVICE_NOT_CLAIMED
Definition nrf_provisioning.h:106
@ NRF_PROVISIONING_EVENT_START
Definition nrf_provisioning.h:61
@ NRF_PROVISIONING_EVENT_FATAL_ERROR
Definition nrf_provisioning.h:159
@ NRF_PROVISIONING_EVENT_FAILED_NO_VALID_DATETIME
Definition nrf_provisioning.h:118
@ 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:182
int64_t next_attempt_time_seconds
Definition nrf_provisioning.h:187
enum nrf_provisioning_event type
Definition nrf_provisioning.h:176
Event data structure passed to the provisioning callback function.
Definition nrf_provisioning.h:174