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

◆ azure_iot_hub_dps_reset()

int azure_iot_hub_dps_reset ( void  )

#include <include/net/azure_iot_hub_dps.h>

Reset DPS library. All stored information about assigned IoT Hub is deleted. After this call, the library is put into an uninitialized state and must be initialized again before the next provisioning attempt.

Return values
0if successful, otherwise a negative error code.
-EACCESif a DPS request is already in progress.
-EFAULTif there was in issue when erasing an already assigned IoT Hub from flash.