nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ azure_iot_hub_dps_init()

int azure_iot_hub_dps_init ( struct azure_iot_hub_dps_config cfg)

#include <include/net/azure_iot_hub_dps.h>

Initialize Azure IoT hub Device Provisioning Service (DPS).

Parameters
[in]cfgPointer to DPS configuration structure.
Note
The buffers provided in the configuration structure must remain unchanged until the DPS attempt has been completed. If the content of the buffers is changed while provisioning is ongoing, the behavior is undefined.
Return values
0if successful.
-EINVALif configuration or event handler was NULL.