azure-iot-sdk-c for release of 2019-10-10 #8565
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a new flag
use_prov_client
to enable Device Provisioning Service (DPS) to work with Azure IoT C SDK. We do not want this on by default, however.To get this to work requires (for now) a patch file. We plan on getting this into our master repo (issue here) but this is a time urgent to get vcpkg ready for partners but we don't want to spin a full release for this.
use_prov_client
is only needed on public-preview for now.Details on patch:
The IoT SDK when using provisioning was always referencing a bunch of submodules that are not vcpkg'ified, and for various reasons don't make sense to be, whenever provisioning is set. This patch makes it so that if at least one
hsm_??
cmake flag is set (hsm_type_symm_key
is the one we care about here) then we do NOT auto set everything else up.