nRF Connect SDK API 2.8.0
|
int nrf_provisioning_init | ( | struct nrf_provisioning_mm_change * | mmode, |
struct nrf_provisioning_dm_change * | dmode ) |
#include <include/net/nrf_provisioning.h>
Initializes the provisioning library and registers callback handlers.
Consequent calls will only change callback functions used. Feeding a null as a callback address means that the corresponding default callback function is taken into use.
mmode | Modem mode change callback. Used when data is written to modem. |
dmode | Device mode callback. Used when provisioning state changes. |