nRF Connect SDK API 0.1.0
|
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.
0 | if successful, otherwise a negative error code. |
-EACCES | if a DPS request is already in progress. |
-EFAULT | if there was in issue when erasing an already assigned IoT Hub from flash. |