nRF Connect SDK API 0.1.0
|
Azure IoT Hub Device Provisioning Service. More...
Go to the source code of this file.
Data Structures | |
struct | azure_iot_hub_dps_config |
Device Provisioning Service configuration structure. More... | |
Typedefs | |
typedef void(* | azure_iot_hub_dps_handler_t) (enum azure_iot_hub_dps_reg_status status) |
The handler will be called when registration is done, be it successfully or if it fails. | |
Enumerations | |
enum | azure_iot_hub_dps_reg_status { AZURE_IOT_HUB_DPS_REG_STATUS_NOT_STARTED , AZURE_IOT_HUB_DPS_REG_STATUS_ASSIGNING , AZURE_IOT_HUB_DPS_REG_STATUS_ASSIGNED , AZURE_IOT_HUB_DPS_REG_STATUS_FAILED } |
Device Provisioning Service registration status. More... | |
Functions | |
int | azure_iot_hub_dps_init (struct azure_iot_hub_dps_config *cfg) |
Initialize Azure IoT hub Device Provisioning Service (DPS). | |
int | azure_iot_hub_dps_start (void) |
int | azure_iot_hub_dps_hostname_get (struct azure_iot_hub_buf *buf) |
Get the hostname of the currently assigned Azure IoT Hub as a terminated string. | |
int | azure_iot_hub_dps_hostname_delete (void) |
Delete the hostname of the currently assigned Azure IoT Hub. | |
int | azure_iot_hub_dps_device_id_get (struct azure_iot_hub_buf *buf) |
Get the currently assigned device ID. | |
int | azure_iot_hub_dps_device_id_delete (void) |
Delete the assigned device ID. | |
int | azure_iot_hub_dps_reset (void) |
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. | |
Azure IoT Hub Device Provisioning Service.