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

◆ use_dps

bool azure_iot_hub_config::use_dps

Use DPS to obtain hostname and device ID if true. Using DPS requires that

embed:rst:inline :kconfig:option:`CONFIG_AZURE_IOT_HUB_DPS` 

is enabled and DPS configured accordingly. If a hostname and device ID have already been obtained previously, the stored values will be used. To re-run DPS, the DPS information must be reset first. Note that using this option will use the device ID as DPS registration ID and the ID cope from

embed:rst:inline :kconfig:option:`CONFIG_AZURE_IOT_HUB_DPS_ID_SCOPE` 

. For more fine-grained control over DPS, use the azure_iot_hub_dps APIs directly instead.